From b1ab2a0f7efae977f2d262b5222f2ad93c15781b Mon Sep 17 00:00:00 2001 From: Victor Lacasse-Beaudoin Date: Tue, 1 Aug 2023 14:29:34 -0400 Subject: [PATCH] Fix url des fonts --- public/css/fonts.css | 108 +++++++++++++++++++++---------------------- 1 file changed, 54 insertions(+), 54 deletions(-) diff --git a/public/css/fonts.css b/public/css/fonts.css index ee4459f..6e3a00d 100644 --- a/public/css/fonts.css +++ b/public/css/fonts.css @@ -1,17 +1,17 @@ @font-face { font-family: "Poppins"; - src: url('public/fonts/Poppins/poppins-thin.woff2') format('woff2'), - url('public/fonts/Poppins/poppins-thin.woff') format('woff'), - url('public/fonts/Poppins/poppins-thin.otf') format('otf'); + src: url('/public/fonts/Poppins/poppins-thin.woff2') format('woff2'), + url('/public/fonts/Poppins/poppins-thin.woff') format('woff'), + url('/public/fonts/Poppins/poppins-thin.otf') format('otf'); font-weight: 100; font-style: normal; } @font-face { font-family: "Poppins"; - src: url('public/fonts/Poppins/poppins-thin-italic.woff2') format('woff2'), - url('public/fonts/Poppins/poppins-thin-italic.woff') format('woff'), - url('public/fonts/Poppins/poppins-thin-italic.otf') format('otf'); + src: url('/public/fonts/Poppins/poppins-thin-italic.woff2') format('woff2'), + url('/public/fonts/Poppins/poppins-thin-italic.woff') format('woff'), + url('/public/fonts/Poppins/poppins-thin-italic.otf') format('otf'); font-weight: 100; font-style: italic; } @@ -19,27 +19,27 @@ @font-face { font-family: "Poppins"; - src: url('public/fonts/Poppins/poppins-extralight.woff2') format('woff2'), - url('public/fonts/Poppins/poppins-extralight.woff') format('woff'), - url('public/fonts/Poppins/poppins-extralight.otf') format('otf'); + src: url('/public/fonts/Poppins/poppins-extralight.woff2') format('woff2'), + url('/public/fonts/Poppins/poppins-extralight.woff') format('woff'), + url('/public/fonts/Poppins/poppins-extralight.otf') format('otf'); font-weight: 200; font-style: normal; } @font-face { font-family: "Poppins"; - src: url('public/fonts/Poppins/poppins-extralight-italic.woff2') format('woff2'), - url('public/fonts/Poppins/poppins-extralight-italic.woff') format('woff'), - url('public/fonts/Poppins/poppins-extralight-italic.otf') format('otf'); + src: url('/public/fonts/Poppins/poppins-extralight-italic.woff2') format('woff2'), + url('/public/fonts/Poppins/poppins-extralight-italic.woff') format('woff'), + url('/public/fonts/Poppins/poppins-extralight-italic.otf') format('otf'); font-weight: 200; font-style: italic; } @font-face { font-family: "Poppins"; - src: url('public/fonts/Poppins/poppins-light.woff2') format('woff2'), - url('public/fonts/Poppins/poppins-light.woff') format('woff'), - url('public/fonts/Poppins/poppins-light.otf') format('otf'); + src: url('/public/fonts/Poppins/poppins-light.woff2') format('woff2'), + url('/public/fonts/Poppins/poppins-light.woff') format('woff'), + url('/public/fonts/Poppins/poppins-light.otf') format('otf'); font-weight: 300; font-style: normal; } @@ -47,63 +47,63 @@ @font-face { font-family: "Poppins"; - src: url('public/fonts/Poppins/poppins-light-italic.woff2') format('woff2'), - url('public/fonts/Poppins/poppins-light-italic.woff') format('woff'), - url('public/fonts/Poppins/poppins-light-italic.otf') format('otf'); + src: url('/public/fonts/Poppins/poppins-light-italic.woff2') format('woff2'), + url('/public/fonts/Poppins/poppins-light-italic.woff') format('woff'), + url('/public/fonts/Poppins/poppins-light-italic.otf') format('otf'); font-weight: 300; font-style: italic; } @font-face { font-family: "Poppins"; - src: url('public/fonts/Poppins/poppins-regular.woff2') format('woff2'), - url('public/fonts/Poppins/poppins-regular.woff') format('woff'), - url('public/fonts/Poppins/poppins-regular.otf') format('otf'); + src: url('/public/fonts/Poppins/poppins-regular.woff2') format('woff2'), + url('/public/fonts/Poppins/poppins-regular.woff') format('woff'), + url('/public/fonts/Poppins/poppins-regular.otf') format('otf'); font-weight: 400; font-style: normal; } @font-face { font-family: "Poppins"; - src: url('public/fonts/Poppins/poppins-regular-italic.woff2') format('woff2'), - url('public/fonts/Poppins/poppins-regular-italic.woff') format('woff'), - url('public/fonts/Poppins/poppins-regular-italic.otf') format('otf'); + src: url('/public/fonts/Poppins/poppins-regular-italic.woff2') format('woff2'), + url('/public/fonts/Poppins/poppins-regular-italic.woff') format('woff'), + url('/public/fonts/Poppins/poppins-regular-italic.otf') format('otf'); font-weight: 400; font-style: italic; } @font-face { font-family: "Poppins"; - src: url('public/fonts/Poppins/poppins-medium.woff2') format('woff2'), - url('public/fonts/Poppins/poppins-medium.woff') format('woff'), - url('public/fonts/Poppins/poppins-medium.otf') format('otf'); + src: url('/public/fonts/Poppins/poppins-medium.woff2') format('woff2'), + url('/public/fonts/Poppins/poppins-medium.woff') format('woff'), + url('/public/fonts/Poppins/poppins-medium.otf') format('otf'); font-weight: 500; font-style: normal; } @font-face { font-family: "Poppins"; - src: url('public/fonts/Poppins/poppins-medium-italic.woff2') format('woff2'), - url('public/fonts/Poppins/poppins-medium-italic.woff') format('woff'), - url('public/fonts/Poppins/poppins-medium-italic.otf') format('otf'); + src: url('/public/fonts/Poppins/poppins-medium-italic.woff2') format('woff2'), + url('/public/fonts/Poppins/poppins-medium-italic.woff') format('woff'), + url('/public/fonts/Poppins/poppins-medium-italic.otf') format('otf'); font-weight: 500; font-style: italic; } @font-face { font-family: "Poppins"; - src: url('public/fonts/Poppins/poppins-semibold.woff2') format('woff2'), - url('public/fonts/Poppins/poppins-semibold.woff') format('woff'), - url('public/fonts/Poppins/poppins-semibold.otf') format('otf'); + src: url('/public/fonts/Poppins/poppins-semibold.woff2') format('woff2'), + url('/public/fonts/Poppins/poppins-semibold.woff') format('woff'), + url('/public/fonts/Poppins/poppins-semibold.otf') format('otf'); font-weight: 600; font-style: normal; } @font-face { font-family: "Poppins"; - src: url('public/fonts/Poppins/poppins-semibold-italic.woff2') format('woff2'), - url('public/fonts/Poppins/poppins-semibold-italic.woff') format('woff'), - url('public/fonts/Poppins/poppins-semibold-italic.otf') format('otf'); + src: url('/public/fonts/Poppins/poppins-semibold-italic.woff2') format('woff2'), + url('/public/fonts/Poppins/poppins-semibold-italic.woff') format('woff'), + url('/public/fonts/Poppins/poppins-semibold-italic.otf') format('otf'); font-weight: 600; font-style: italic; @@ -111,9 +111,9 @@ @font-face { font-family: "Poppins"; - src: url('public/fonts/Poppins/poppins-bold.woff2') format('woff2'), - url('public/fonts/Poppins/poppins-bold.woff') format('woff'), - url('public/fonts/Poppins/poppins-bold.otf') format('otf'); + src: url('/public/fonts/Poppins/poppins-bold.woff2') format('woff2'), + url('/public/fonts/Poppins/poppins-bold.woff') format('woff'), + url('/public/fonts/Poppins/poppins-bold.otf') format('otf'); font-weight: 700; font-style: normal; @@ -121,9 +121,9 @@ @font-face { font-family: "Poppins"; - src: url('public/fonts/Poppins/poppins-bold-italic.woff2') format('woff2'), - url('public/fonts/Poppins/poppins-bold-italic.woff') format('woff'), - url('public/fonts/Poppins/poppins-bold-italic.otf') format('otf'); + src: url('/public/fonts/Poppins/poppins-bold-italic.woff2') format('woff2'), + url('/public/fonts/Poppins/poppins-bold-italic.woff') format('woff'), + url('/public/fonts/Poppins/poppins-bold-italic.otf') format('otf'); font-weight: 700; font-style: italic; @@ -131,9 +131,9 @@ @font-face { font-family: "Poppins"; - src: url('public/fonts/Poppins/poppins-extrabold.woff2') format('woff2'), - url('public/fonts/Poppins/poppins-extrabold.woff') format('woff'), - url('public/fonts/Poppins/poppins-extrabold.otf') format('otf'); + src: url('/public/fonts/Poppins/poppins-extrabold.woff2') format('woff2'), + url('/public/fonts/Poppins/poppins-extrabold.woff') format('woff'), + url('/public/fonts/Poppins/poppins-extrabold.otf') format('otf'); font-weight: 800; font-style: normal; @@ -142,27 +142,27 @@ @font-face { font-family: "Poppins"; - src: url('public/fonts/Poppins/poppins-extrabold-italic.woff2') format('woff2'), - url('public/fonts/Poppins/poppins-extrabold-italic.woff') format('woff'), - url('public/fonts/Poppins/poppins-extrabold-italic.otf') format('otf'); + src: url('/public/fonts/Poppins/poppins-extrabold-italic.woff2') format('woff2'), + url('/public/fonts/Poppins/poppins-extrabold-italic.woff') format('woff'), + url('/public/fonts/Poppins/poppins-extrabold-italic.otf') format('otf'); font-weight: 800; font-style: italic; } @font-face { font-family: "Poppins"; - src: url('public/fonts/Poppins/poppins-black.woff2') format('woff2'), - url('public/fonts/Poppins/poppins-black.woff') format('woff'), - url('public/fonts/Poppins/poppins-black.otf') format('otf'); + src: url('/public/fonts/Poppins/poppins-black.woff2') format('woff2'), + url('/public/fonts/Poppins/poppins-black.woff') format('woff'), + url('/public/fonts/Poppins/poppins-black.otf') format('otf'); font-weight: 900; font-style: normal; } @font-face { font-family: "Poppins"; - src: url('public/fonts/Poppins/poppins-black-italic.woff2') format('woff2'), - url('public/fonts/Poppins/poppins-black-italic.woff') format('woff'), - url('public/fonts/Poppins/poppins-black-italic.otf') format('otf'); + src: url('/public/fonts/Poppins/poppins-black-italic.woff2') format('woff2'), + url('/public/fonts/Poppins/poppins-black-italic.woff') format('woff'), + url('/public/fonts/Poppins/poppins-black-italic.otf') format('otf'); font-weight: 900; font-style: italic; }