Commit Graph

86 Commits

Author SHA1 Message Date
Emmanuel Pelletier
447b705127 website: update grist logo from new integration package version 2024-06-28 11:20:30 +02:00
Emmanuel Pelletier
df4096c4e5 integration v1.0.2 2024-06-28 11:17:59 +02:00
Emmanuel Pelletier
462d07bb3f integration: new grist logo 2024-06-28 11:17:34 +02:00
Emmanuel Pelletier
7d9725be79 gaufre css reset: make sure to reset everything
this is made in case the gaufre is in a website doing stuff on
after/before pseudo elements by default (the dsfr on <a> for example)
2024-06-21 15:25:12 +02:00
Emmanuel Pelletier
937b8f6185 gaufre: open service links in a new window
thanks @MarcWadai for the heads up
2024-06-21 15:16:52 +02:00
Emmanuel Pelletier
a4d98f4f17 gaufre: fix modal mode sizing issue on mobile
the 100vh takes too much place sometime, making the close button being
rendered behind the browser UI. now we use the "svh" unit when
available, which is the same as vh but making sure we dont overlap with
browser UI.
2024-06-21 15:12:45 +02:00
Emmanuel Pelletier
f29325a7f4 gaufre: update font subset with new characters
command used (assuming Marianne-Regular.woff2 is in website/public/fonts
dir, taken from the dsfr):

glyphhanger \
  --subset="./Marianne-Regular.woff2" \
  --formats=woff2 \
--whitelist="DémarchessimplifiéesFranceTransfertGristNotepaddel'ÉtatRDVServicePublicResanaTchapWebConférencedel'ÉtatWebinairedel'ÉtatFermer✕
"

we had feedback where text in the popup was rendered with completely
random characters… adding the unicode range should help?
2024-06-21 15:12:45 +02:00
Emmanuel Pelletier
7eb38d93f7 gaufre: do not output everything in bold in modal mode
I actually don't know why I wrote that, surely a mistake
2024-06-21 15:12:45 +02:00
Emmanuel Pelletier
862d475f15 gaufre: fix crash on safari
the popup object was always null in this case, we have to use the given
element from the parameter
2024-06-21 15:12:45 +02:00
Emmanuel Pelletier
62b74a5445 gaufre: fix popup placement issues, simplify styling
this is done following up Tchap integration.

- the popup placement script was really dumb and assumed the gaufre
button was always placed at the top right of the page. Tchap can't do
that and uses it at the bottom left. Now the popup places itself
correctly wherever the button is on the page.
On mobile now we have a "modal" mode for the popup where it takes all
the viewport.
- Tchap uses the gaufre inside their own popup component. This was not
something we handled before. Now you can set up a
'lasuite--gaufre-borderless' class on your html or body tag so that the
gaufre doesn't render its box shadow or blue border, making it easier to
integrate in a already made popup.
2024-06-21 15:12:45 +02:00
Emmanuel Pelletier
b2b8588ac6 website: adding help page with team contact info 2024-06-21 15:07:24 +02:00
Emmanuel Pelletier
c05f155602 website: add CSP-related info for the Gaufre integration
this was missing and since most services have a Content Security Policy,
it's useful to mention
2024-06-14 15:11:37 +02:00
Emmanuel Pelletier
32b81fa2db website: remind user to install code 2024-06-14 15:10:42 +02:00
Emmanuel Pelletier
a071e30a67 website: add legal/accessibility pages 2024-06-06 14:13:34 +02:00
Emmanuel Pelletier
6d28b936ad readme: fix typo and broken link in licenses section 2024-06-06 11:55:25 +02:00
Bastien Guerry
45b0d54598 cREADME.md: Document licenses 2024-06-06 11:55:25 +02:00
Bastien Guerry
58cc5e017f Add licenses
MIT for source code and Etalab-2.0 for other contents.
2024-06-06 11:55:25 +02:00
Emmanuel Pelletier
24304b8083 upto date gaufre screenshot 2024-05-27 12:18:29 +02:00
Emmanuel Pelletier
9de33cd347 backgrounds: force france-transfert bg for now
will remove this later when we are assured all bgs match
france-transfert layout
2024-05-24 14:33:57 +02:00
Emmanuel Pelletier
b69da40b47 backgrounds: remove a few photos we dont want to use anymore 2024-05-24 14:31:47 +02:00
Emmanuel Pelletier
d7cd6f7584 gaufre: remove messagerie service for now 2024-05-24 11:02:28 +02:00
Emmanuel Pelletier
e083128b05 website backgrounds: make it easy to force a bg for a service
rework a bit the backgrounds transformation script so that we can later
easily force a specific background for a specific service. This comes
from a request from france-transfert but they changed their mind in the
end. Felt like the logic is good to keep for later though.
2024-05-24 11:02:04 +02:00
Emmanuel Pelletier
7ec0a278b4 website: replace one background 2024-05-22 18:25:02 +02:00
Emmanuel Pelletier
6cb060841f website: update logos+gaufre screenshot after logos update 2024-05-16 15:28:19 +02:00
Emmanuel Pelletier
addcb4e41b integration v1.0.1 2024-05-16 15:27:26 +02:00
Emmanuel Pelletier
991e526f79 integration: fix france-transfert/tchap/webconf logos 2024-05-16 15:21:19 +02:00
Emmanuel Pelletier
f89d915e23 website: missed viewport meta for homepage examples… 2024-05-16 15:04:47 +02:00
Emmanuel Pelletier
7d5598152b website: update gaufre screenshot after logos update 2024-05-16 15:04:32 +02:00
Emmanuel Pelletier
3d234c897e website: specify required node version 2024-05-16 11:55:33 +02:00
Emmanuel Pelletier
9be0798057 website: fix wrong photo sizing in docs 2024-05-16 11:43:21 +02:00
Emmanuel Pelletier
21e57fbc53 website: update homepage screenshot with latest layout 2024-05-16 11:39:04 +02:00
Emmanuel Pelletier
1d7f52fce2 website: add homepage example pages 2024-05-16 11:34:14 +02:00
Emmanuel Pelletier
6aeaef9e1a website: use latest integration version for new logos 2024-05-16 10:50:28 +02:00
Emmanuel Pelletier
18e900c2d0 integration v1.0.0 2024-05-16 10:48:07 +02:00
Emmanuel Pelletier
3740f45b70 integration: easily view all service homepages 2024-05-16 10:44:37 +02:00
Emmanuel Pelletier
a85907ee39 integration: new service logos 2024-05-16 10:38:37 +02:00
Emmanuel Pelletier
3dfa3c1ca7 website: better gaufre docs for mobile usage 2024-05-15 20:50:01 +02:00
Emmanuel Pelletier
741cd35f13 integration: v1.0.8 2024-05-15 20:49:30 +02:00
Emmanuel Pelletier
4b64642837 gaufre: new variant props to impact sizing
this is done to integrate the button more easily in an app using the
DSFR heading
2024-05-15 20:47:31 +02:00
Emmanuel Pelletier
d741b0595b integration: new description prop to easily add content under tagline 2024-05-15 15:30:53 +02:00
Emmanuel Pelletier
a253bd76df integration v0.1.6 2024-05-15 10:08:56 +02:00
Emmanuel Pelletier
9e278d3499 gaufre: go back to "tertiary" DSFR style border
not found of the lesser border contrast color but the DSFR does it, and
we can argue the color of the icon itself is contrasted
enough/positioned correctly to understand it's clickable
2024-05-15 10:01:33 +02:00
Emmanuel Pelletier
dc4af950d1 gaufre: add a "button pressed" style 2024-05-15 09:59:19 +02:00
Emmanuel Pelletier
1618bb1d1b gaufre: hide it if the server is unavailable
use visiblity: hidden instead of display: none to prevent layout shifts.
2024-05-15 09:52:42 +02:00
Emmanuel Pelletier
bdf31c94a0 gaufre: handle DSFR dark theme 2024-05-15 09:49:31 +02:00
Emmanuel Pelletier
89de926f9c gaufre: remove border radius to better match DSFR styles 2024-05-15 09:47:49 +02:00
Emmanuel Pelletier
5399c75379 integration v0.1.5 (last published version had wrong env vars… oops) 2024-05-15 08:08:53 +02:00
Emmanuel Pelletier
c02a1b0676 website: fix wrong service urls in services json api endpoint 2024-05-15 08:03:54 +02:00
Emmanuel Pelletier
3d230aa545 integration v0.1.4 2024-05-15 07:51:01 +02:00
Emmanuel Pelletier
3fcc774954 website: show html code example first
makes more sense as more people will use the HTML than the react code
2024-05-15 07:47:43 +02:00