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`).
|
- 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.
|
- 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.
|
- 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>
|
Version <code>{version}</code>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
<p className="footer-cookie">{t('footerCookieNotice')}</p>
|
||||||
</footer>
|
</footer>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -466,6 +466,13 @@ p {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.footer-cookie {
|
||||||
|
margin: 12px 0 0;
|
||||||
|
font-size: 12px;
|
||||||
|
color: var(--muted);
|
||||||
|
line-height: 1.4;
|
||||||
|
}
|
||||||
|
|
||||||
.privacy-block ul {
|
.privacy-block ul {
|
||||||
margin: 8px 0 0;
|
margin: 8px 0 0;
|
||||||
padding-left: 18px;
|
padding-left: 18px;
|
||||||
|
|
|
||||||
|
|
@ -48,6 +48,8 @@ const baseMessages = {
|
||||||
footerAbout: 'About',
|
footerAbout: 'About',
|
||||||
footerPricing: 'Pricing',
|
footerPricing: 'Pricing',
|
||||||
footerPrivacy: 'Privacy & cookies',
|
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',
|
loginTitle: 'Login',
|
||||||
emailLabel: 'Email',
|
emailLabel: 'Email',
|
||||||
passwordLabel: 'Password',
|
passwordLabel: 'Password',
|
||||||
|
|
@ -389,6 +391,8 @@ const baseMessages = {
|
||||||
footerAbout: 'Tietoa',
|
footerAbout: 'Tietoa',
|
||||||
footerPricing: 'Hinnasto',
|
footerPricing: 'Hinnasto',
|
||||||
footerPrivacy: 'Tietosuoja ja evästeet',
|
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',
|
loginTitle: 'Kirjaudu sisään',
|
||||||
emailLabel: 'Sähköposti',
|
emailLabel: 'Sähköposti',
|
||||||
passwordLabel: 'Salasana',
|
passwordLabel: 'Salasana',
|
||||||
|
|
@ -723,6 +727,8 @@ const svMessages: Record<keyof typeof baseMessages.en, string> = {
|
||||||
evChargingNo: 'Ingen laddning i närheten',
|
evChargingNo: 'Ingen laddning i närheten',
|
||||||
evChargingAny: 'Alla',
|
evChargingAny: 'Alla',
|
||||||
evChargingExplain: 'Finns det EV-laddning på plats eller i närheten?',
|
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;
|
export const messages = { ...baseMessages, sv: svMessages } as const;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue