first commit:
- we have a static astro website under /website. It has the implementation docs of the homepage/gaufre templates, and it handles the few API endpoints (the gaufre js, backgrounds, logos) - we have a vite app under /packages/integration. It has the react components generating the homepage and the gaufre button, and their css. Its used to generate an npm package
This commit is contained in:
BIN
website/public/fonts/Marianne-Regular-subset.woff2
Normal file
BIN
website/public/fonts/Marianne-Regular-subset.woff2
Normal file
Binary file not shown.
13
website/public/fonts/readme.md
Normal file
13
website/public/fonts/readme.md
Normal file
@@ -0,0 +1,13 @@
|
||||
We use a subset of Marianne font because we know we use just a few characters for our list. This
|
||||
shrinks the font file size noticeably!
|
||||
|
||||
Example command to use to generate the subset with glyphhanger:
|
||||
|
||||
```
|
||||
glyphhanger \
|
||||
--subset="./Marianne-Regular.woff2" \
|
||||
--formats=woff2 \
|
||||
--whitelist="DeskLaSuiteNumériqueMessagerieTchapResanaFranceTransfertContactsGristLePadWebConférencedel'ÉtatWebinaire "
|
||||
```
|
||||
|
||||
Assuming you have the Marianne-Regular.woff2 file (you can take it from the DSFR).
|
||||
Reference in New Issue
Block a user