Bottom banner for optional (non-essential) cookie consent.
Behaviour
- Renders nothing when
config.cookies.nonEssentialEnabledisfalse(default) - Renders nothing when
localStoragealready has a choice underconfig.cookies.storageKey - Otherwise shows Accept / Reject and a link to
config.cookies.policyPath
Essential cookies (session, CSRF) are never blocked by this component.
Mount
Wired once in ClientLayout (src/components/layouts/ClientLayout.tsx), used from the root layout so the banner is site-wide.
Related
- Cookies extras — full SoT
src/features/cookies/prefs.ts—getCookiePrefs/writeCookiePrefs