lomavuokraus/app/components/SiteFooter.tsx
Tero Halla-aho 0bb709d9c5
Some checks failed
CI / checks (push) Has been cancelled
chore: fix audit alerts and formatting
2026-02-04 12:43:03 +02:00

33 lines
889 B
TypeScript

"use client";
import Link from "next/link";
import { useI18n } from "./I18nProvider";
export default function SiteFooter() {
const { t } = useI18n();
const version = process.env.NEXT_PUBLIC_VERSION || "dev";
return (
<footer className="site-footer">
<div className="footer-row">
<span
className="footer-text"
style={{
display: "flex",
gap: 10,
alignItems: "center",
flexWrap: "wrap",
}}
>
<Link href="/about">{t("footerAbout")}</Link>
<Link href="/pricing">{t("footerPricing")}</Link>
<Link href="/privacy">{t("footerPrivacy")}</Link>
</span>
<span className="footer-text">
Version <code>{version}</code>
</span>
</div>
<p className="footer-cookie">{t("footerCookieNotice")}</p>
</footer>
);
}