|
1 | 1 | <!DOCTYPE html> |
2 | | -<html lang="en"> |
| 2 | +<html lang="fr"> |
3 | 3 |
|
4 | 4 | <head> |
5 | 5 | <meta charset="utf-8" /> |
6 | 6 | <meta name="viewport" content="width=device-width, initial-scale=1" /> |
7 | | - <meta name="theme-color" content="#000000" /> |
8 | 7 | <meta name="description" content="Web site created using create-react-app" /> |
9 | 8 |
|
10 | 9 | <link rel="apple-touch-icon" href="%PUBLIC_URL%/dsfr/favicon/apple-touch-icon.png" /> |
11 | 10 | <link rel="icon" href="%PUBLIC_URL%/dsfr/favicon/favicon.svg" type="image/svg+xml" /> |
12 | 11 | <link rel="shortcut icon" href="%PUBLIC_URL%/dsfr/favicon/favicon.ico" type="image/x-icon" /> |
13 | 12 | <link rel="manifest" href="%PUBLIC_URL%/dsfr/favicon/manifest.webmanifest" crossorigin="use-credentials" /> |
14 | 13 |
|
15 | | - <link rel="preload" href="%PUBLIC_URL%/dsfr/fonts/Marianne-Light.woff2" as="font" crossorigin="anonymous" /> |
16 | | - <link rel="preload" href="%PUBLIC_URL%/dsfr/fonts/Marianne-Light_Italic.woff2" as="font" crossorigin="anonymous" /> |
17 | | - <link rel="preload" href="%PUBLIC_URL%/dsfr/fonts/Marianne-Regular.woff2" as="font" crossorigin="anonymous" /> |
18 | | - <link rel="preload" href="%PUBLIC_URL%/dsfr/fonts/Marianne-Regular_Italic.woff2" as="font" crossorigin="anonymous" /> |
19 | | - <link rel="preload" href="%PUBLIC_URL%/dsfr/fonts/Marianne-Medium.woff2" as="font" crossorigin="anonymous" /> |
20 | | - <link rel="preload" href="%PUBLIC_URL%/dsfr/fonts/Marianne-Medium_Italic.woff2" as="font" crossorigin="anonymous" /> |
21 | | - <link rel="preload" href="%PUBLIC_URL%/dsfr/fonts/Marianne-Bold.woff2" as="font" crossorigin="anonymous" /> |
22 | | - <link rel="preload" href="%PUBLIC_URL%/dsfr/fonts/Marianne-Bold_Italic.woff2" as="font" crossorigin="anonymous" /> |
23 | | - <link rel="preload" href="%PUBLIC_URL%/dsfr/fonts/Spectral-Regular.woff2" as="font" crossorigin="anonymous" /> |
24 | | - <link rel="preload" href="%PUBLIC_URL%/dsfr/fonts/Spectral-ExtraBold.woff2" as="font" crossorigin="anonymous" /> |
| 14 | + <% |
| 15 | + [ |
| 16 | + "Marianne-Light", |
| 17 | + "Marianne-Light_Italic", |
| 18 | + "Marianne-Regular", |
| 19 | + "Marianne-Regular_Italic", |
| 20 | + "Marianne-Medium", |
| 21 | + "Marianne-Medium_Italic", |
| 22 | + "Marianne-Bold", |
| 23 | + "Marianne-Bold_Italic", |
| 24 | + "Spectral-Regular", |
| 25 | + "Spectral-ExtraBold" |
| 26 | + ].forEach(function(name){ %> |
| 27 | + <link rel="preload" href="%PUBLIC_URL%/dsfr/fonts/<%=name%>.woff2" as="font" crossorigin="anonymous" /> |
| 28 | + <% }); %> |
25 | 29 |
|
26 | 30 | <link rel="stylesheet" href="%PUBLIC_URL%/dsfr/dsfr.min.css" /> |
27 | 31 |
|
|
0 commit comments