diff options
author | 2022-09-06 19:22:23 +0200 | |
---|---|---|
committer | 2022-09-06 19:22:23 +0200 | |
commit | 518d381447b61cd4b47c0102d760e4e4260f7b9f (patch) | |
tree | d3f50a52b7637a0a54342143b3153f36fd376858 /public | |
parent | Initial commit (diff) |
Initial commit
Diffstat (limited to 'public')
-rw-r--r-- | public/favicon.ico | bin | 0 -> 3870 bytes | |||
-rw-r--r-- | public/fonts/WorkSans/font.css | 39 | ||||
-rw-r--r-- | public/fonts/WorkSans/worksans-bold-webfont.woff2 | bin | 0 -> 47488 bytes | |||
-rw-r--r-- | public/fonts/WorkSans/worksans-medium-webfont.woff2 | bin | 0 -> 47488 bytes | |||
-rw-r--r-- | public/fonts/WorkSans/worksans-regular-webfont.woff2 | bin | 0 -> 47488 bytes | |||
-rw-r--r-- | public/fonts/WorkSans/worksans-semibold-webfont.woff2 | bin | 0 -> 47488 bytes | |||
-rw-r--r-- | public/index.html | 84 |
7 files changed, 123 insertions, 0 deletions
diff --git a/public/favicon.ico b/public/favicon.ico Binary files differnew file mode 100644 index 0000000..a11777c --- /dev/null +++ b/public/favicon.ico diff --git a/public/fonts/WorkSans/font.css b/public/fonts/WorkSans/font.css new file mode 100644 index 0000000..f4e3265 --- /dev/null +++ b/public/fonts/WorkSans/font.css @@ -0,0 +1,39 @@ +/* +<link rel="preload" href="%PUBLIC_URL%/fonts/WorkSans/worksans-bold-webfont.woff2" as="font" crossorigin="anonymous"> +<link rel="preload" href="%PUBLIC_URL%/fonts/WorkSans/worksans-medium-webfont.woff2" as="font" crossorigin="anonymous"> +<link rel="preload" href="%PUBLIC_URL%/fonts/WorkSans/worksans-regular-webfont.woff2" as="font" crossorigin="anonymous"> +<link rel="preload" href="%PUBLIC_URL%/fonts/WorkSans/worksans-semibold-webfont.woff2" as="font" crossorigin="anonymous"> +<link rel="stylesheet" type="text/css" href="%PUBLIC_URL%/fonts/WorkSans/font.css"> +*/ + +@font-face { + font-family: "Work Sans"; + font-style: normal; + font-weight: normal; /*400*/ + font-display: swap; + src: url("./worksans-regular-webfont.woff2") format("woff2"); +} + +@font-face { + font-family: "Work Sans"; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url("./worksans-medium-webfont.woff2") format("woff2"); +} + +@font-face { + font-family: "Work Sans"; + font-style: normal; + font-weight: 600; + font-display: swap; + src: url("./worksans-semibold-webfont.woff2") format("woff2"); +} + +@font-face { + font-family: "Work Sans"; + font-style: normal; + font-weight: bold; /*700*/ + font-display: swap; + src: url("./worksans-bold-webfont.woff2") format("woff2"); +}
\ No newline at end of file diff --git a/public/fonts/WorkSans/worksans-bold-webfont.woff2 b/public/fonts/WorkSans/worksans-bold-webfont.woff2 Binary files differnew file mode 100644 index 0000000..8705354 --- /dev/null +++ b/public/fonts/WorkSans/worksans-bold-webfont.woff2 diff --git a/public/fonts/WorkSans/worksans-medium-webfont.woff2 b/public/fonts/WorkSans/worksans-medium-webfont.woff2 Binary files differnew file mode 100644 index 0000000..8705354 --- /dev/null +++ b/public/fonts/WorkSans/worksans-medium-webfont.woff2 diff --git a/public/fonts/WorkSans/worksans-regular-webfont.woff2 b/public/fonts/WorkSans/worksans-regular-webfont.woff2 Binary files differnew file mode 100644 index 0000000..8705354 --- /dev/null +++ b/public/fonts/WorkSans/worksans-regular-webfont.woff2 diff --git a/public/fonts/WorkSans/worksans-semibold-webfont.woff2 b/public/fonts/WorkSans/worksans-semibold-webfont.woff2 Binary files differnew file mode 100644 index 0000000..8705354 --- /dev/null +++ b/public/fonts/WorkSans/worksans-semibold-webfont.woff2 diff --git a/public/index.html b/public/index.html new file mode 100644 index 0000000..4dace33 --- /dev/null +++ b/public/index.html @@ -0,0 +1,84 @@ +<!DOCTYPE html> +<html lang="en"> + +<head> + <meta charset="utf-8" /> + <link rel="icon" href="%PUBLIC_URL%/favicon.ico" /> + <meta name="viewport" content="width=device-width, initial-scale=1" /> + <!-- + Notice the use of %PUBLIC_URL% in the tags above. + It will be replaced with the URL of the `public` folder during the build. + Only files inside the `public` folder can be referenced from the HTML. + + Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will + work correctly both with client-side routing and a non-root public URL. + Learn how to configure a non-root public URL by running `npm run build`. + --> + <title>React App</title> + + <link rel="preload" href="%PUBLIC_URL%/fonts/WorkSans/worksans-bold-webfont.woff2" as="font" crossorigin="anonymous"> + <link rel="preload" href="%PUBLIC_URL%/fonts/WorkSans/worksans-medium-webfont.woff2" as="font" crossorigin="anonymous"> + <link rel="preload" href="%PUBLIC_URL%/fonts/WorkSans/worksans-regular-webfont.woff2" as="font" crossorigin="anonymous"> + <link rel="preload" href="%PUBLIC_URL%/fonts/WorkSans/worksans-semibold-webfont.woff2" as="font" crossorigin="anonymous"> + <!-- + We need to put it plain in the html because of Keycloakify, in case we decide to remove --external-assets + SEE: https://github.com/InseeFrLab/keycloakify#font-face-importing-fonts-from-thesrc-dir + --> + <style> + /* latin */ + @font-face { + font-family: 'Work Sans'; + font-style: normal; + font-weight: normal; + /*400*/ + font-display: swap; + src: url("%PUBLIC_URL%/fonts/WorkSans/worksans-regular-webfont.woff2") format("woff2"); + } + + /* latin */ + @font-face { + font-family: 'Work Sans'; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url("%PUBLIC_URL%/fonts/WorkSans/worksans-medium-webfont.woff2") format("woff2"); + } + + /* latin */ + @font-face { + font-family: 'Work Sans'; + font-style: normal; + font-weight: 600; + font-display: swap; + src: url("%PUBLIC_URL%/fonts/WorkSans/worksans-semibold-webfont.woff2") format("woff2"); + } + + /* latin */ + @font-face { + font-family: 'Work Sans'; + font-style: normal; + font-weight: bold; + /*700*/ + font-display: swap; + src: url("%PUBLIC_URL%/fonts/WorkSans/worksans-bold-webfont.woff2") format("woff2"); + } + </style> + +</head> + +<body> + <noscript>You need to enable JavaScript to run this app.</noscript> + <div id="root"></div> + <!-- + This HTML file is a template. + If you open it directly in the browser, you will see an empty page. + + You can add webfonts, meta tags, or analytics to this file. + The build step will place the bundled scripts into the <body> tag. + + To begin the development, run `npm start` or `yarn start`. + To create a production bundle, use `npm run build` or `yarn build`. + --> +</body> + +</html>
\ No newline at end of file |