Add footer cookie notice
This commit is contained in:
parent
0d332dfe85
commit
562452c6c7
4 changed files with 15 additions and 0 deletions
|
|
@ -81,3 +81,4 @@
|
|||
- Added site favicon generated from the updated logo (`public/favicon.ico`).
|
||||
- New admin monitoring dashboard at `/admin/monitor` surfaces Hetzner node status, Kubernetes nodes/pods health, and PostgreSQL connection/size checks with auto-refresh.
|
||||
- Netdata installed on k3s node (`node1.lomavuokraus.fi:8443`) and DB host (`db1.lomavuokraus.fi:8443`) behind self-signed TLS + basic auth; DB Netdata includes Postgres metrics via dedicated `netdata` role.
|
||||
- Footer now includes a minimal cookie usage statement (essential cookies only; site requires acceptance).
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ export default function SiteFooter() {
|
|||
Version <code>{version}</code>
|
||||
</span>
|
||||
</div>
|
||||
<p className="footer-cookie">{t('footerCookieNotice')}</p>
|
||||
</footer>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -466,6 +466,13 @@ p {
|
|||
font-size: 12px;
|
||||
}
|
||||
|
||||
.footer-cookie {
|
||||
margin: 12px 0 0;
|
||||
font-size: 12px;
|
||||
color: var(--muted);
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.privacy-block ul {
|
||||
margin: 8px 0 0;
|
||||
padding-left: 18px;
|
||||
|
|
|
|||
|
|
@ -48,6 +48,8 @@ const baseMessages = {
|
|||
footerAbout: 'About',
|
||||
footerPricing: 'Pricing',
|
||||
footerPrivacy: 'Privacy & cookies',
|
||||
footerCookieNotice:
|
||||
'We use only essential cookies for login and security. By using this site you consent; if you do not accept, please do not use the site.',
|
||||
loginTitle: 'Login',
|
||||
emailLabel: 'Email',
|
||||
passwordLabel: 'Password',
|
||||
|
|
@ -389,6 +391,8 @@ const baseMessages = {
|
|||
footerAbout: 'Tietoa',
|
||||
footerPricing: 'Hinnasto',
|
||||
footerPrivacy: 'Tietosuoja ja evästeet',
|
||||
footerCookieNotice:
|
||||
'Käytämme vain välttämättömiä evästeitä kirjautumiseen ja turvallisuuteen. Käyttämällä sivustoa hyväksyt evästeet; jos et hyväksy, älä käytä sivustoa.',
|
||||
loginTitle: 'Kirjaudu sisään',
|
||||
emailLabel: 'Sähköposti',
|
||||
passwordLabel: 'Salasana',
|
||||
|
|
@ -723,6 +727,8 @@ const svMessages: Record<keyof typeof baseMessages.en, string> = {
|
|||
evChargingNo: 'Ingen laddning i närheten',
|
||||
evChargingAny: 'Alla',
|
||||
evChargingExplain: 'Finns det EV-laddning på plats eller i närheten?',
|
||||
footerCookieNotice:
|
||||
'Vi använder endast nödvändiga cookies för inloggning och säkerhet. Genom att använda sajten godkänner du cookies; om du inte gör det, använd inte webbplatsen.',
|
||||
};
|
||||
|
||||
export const messages = { ...baseMessages, sv: svMessages } as const;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue