125 Commits

Author SHA1 Message Date
Emmanuel Pelletier
adfe80f52a integration/buttons: fix spacing issue in proconnect button
- buttons are now back to their default display mode (the one from
.fr-btn), we just change a bit the proconnect style to match figma
design while fixing the spacing issue at the bottom of the button there
was
2024-05-07 20:42:03 +02:00
Emmanuel Pelletier
1385839f00 integration/homepage: use less spacing utility classes for clarity
utility classes are great but since these are meant to be reused easily
by copy/pasting the code I feel like having less clutter in the
classnames is better
2024-05-07 20:42:03 +02:00
Emmanuel Pelletier
07d335ac7c integration/homepage-background: fix image size
the API returns a 1900x1200 image, make sure we use the correct size
here
2024-05-07 20:42:03 +02:00
Emmanuel Pelletier
76a5bf289a integration/tagline: do not output a <br> at the end 2024-05-07 20:42:03 +02:00
Emmanuel Pelletier
6f6d4ebf65 integration/homepage: better styling on homepagecontent:
- the tagline now has a wrapper in case we want to add other content
inside the white box
- we ditch the 50/50 column logic so that the tagline takes the space it
needs
2024-05-07 20:42:03 +02:00
Emmanuel Pelletier
25572b6f06 integration/header: apply red border on the header, not the container
this makes more sense as sometimes we'll want to use only the header
without the whole homepage
2024-05-07 20:42:03 +02:00
Emmanuel Pelletier
2a12f312c2 integration/styles: better style scopingwhen using embedded dsfr
- the CSS that included the DSFR excerpt we needed styled some base html
tags directly. It might collide with a service CSS already there. Now a
postcss plugin applies a CSS prefix to everything
- we output in the lib two DSFR file versions: one with prefixed
selectors, one raw.
2024-05-07 20:42:03 +02:00
Emmanuel Pelletier
3c2a6fd0cf api/gaufre: fix local version
forgot a filename change… woops.
2024-05-07 20:42:03 +02:00
Emmanuel Pelletier
10203cf2bd homepage generator: logos are not available through api 2024-05-02 17:49:04 +02:00
Emmanuel Pelletier
e4c341d6d0 export more CSS to enable more precise usage of CSS imports 2024-05-02 13:27:43 +02:00
Emmanuel Pelletier
4b7dff5345 fix wrong anchor on content 2024-05-02 13:07:28 +02:00
Emmanuel Pelletier
1fb82db5e2 oops… i really should try to focus (forgot to rename a file) 2024-05-02 13:00:42 +02:00
Emmanuel Pelletier
c041c77360 adding 'la suite territoriale' specific gaufre button/endpoint 2024-05-02 12:58:24 +02:00
Emmanuel Pelletier
001ca61773 using latest integration package on website 2024-05-02 12:22:53 +02:00
Emmanuel Pelletier
5aabe78fba woops: fix missing entity field in services data, it broke TS 2024-05-02 12:16:34 +02:00
Emmanuel Pelletier
54c3a545b7 integration v0.1.1 2024-05-02 12:10:44 +02:00
Emmanuel Pelletier
ab7cf18638 adding services to the gaufre button
hiding audioconf for now as i dont have any logo
2024-05-02 12:07:25 +02:00
Emmanuel Pelletier
73beeaf9ec adding main readme 2024-05-02 11:16:08 +02:00
Emmanuel Pelletier
eef8ec0d3c replace astro default favicon with our own 2024-05-02 11:12:26 +02:00
Emmanuel Pelletier
b20d116746 scalingo server: dont listen only on localhost so that the server works 2024-05-02 10:53:51 +02:00
Emmanuel Pelletier
472e54237e stop using prettier only to indent our html
it weighted *a lot* just for that. now we use a tiny function
that only break lines between html tags, not as good but the JS
weight gain is huge
2024-05-02 10:52:58 +02:00
Emmanuel Pelletier
21521277b0 misc changes on website:
- correct a few content mistakes
- activate compression on production server
- suppress a few TS warnings (with anys, I know)
2024-05-02 09:48:59 +02:00
Emmanuel Pelletier
14044e95a4 serving built app on port 3000 when starting with fastify
this eases up scalingo deployment
2024-05-02 01:11:01 +02:00
Emmanuel Pelletier
0ce04a420d fix website integration dependency 2024-05-02 00:47:54 +02:00
Emmanuel Pelletier
d9859f1564 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
2024-05-02 00:35:38 +02:00