GDPR Cookie Consent Bar
Adding a GDPR cookie consent driven by a cookie that stores the confirmation and hide the bar in future sessions.
We use react-cookie-consent
for the confirmation bar:
We encapsulate the consent bar in a component src/components/cookie-consent.tsx
:
In this case the link goes to the about page. In a real world scenario you would forward that link to some kind of privacy policy page.
The cookie consent component is included in the layout:
Last Updated: