- 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
14 lines
495 B
Markdown
14 lines
495 B
Markdown
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).
|