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