deploy / deploy (push) Successful in 1m24s
rebuild the public site on the Next.js App Router with static export, per-section SEO pages, metadata, sitemap, robots and a generated OG image add full-screen scroll-snap regions, staged scroll reveals, a hash-free tab navigation with a sliding indicator and region-by-region menu scrolling replace the theme text toggle with animated sun/moon icons restructure the CRM API into config, middleware, models, routes, services and utils layers redesign the CRM shell with a single surface, tab rail, full-width blurred DataTable, record dialogs and mask-based icons update Docker/Nginx publishing, Makefile targets, shared UI polish and docs Co-authored-by: Gitea Actions <-[email protected]>
55 lines
1.6 KiB
TypeScript
55 lines
1.6 KiB
TypeScript
"use client";
|
|
|
|
import Link from "next/link";
|
|
import { useLanguage } from "../contexts/LanguageContext";
|
|
|
|
const year = new Date().getFullYear();
|
|
|
|
export const Footer = () => {
|
|
const { t } = useLanguage();
|
|
|
|
return (
|
|
<footer className="border-t border-border/60">
|
|
<div className="mx-auto flex w-full max-w-6xl flex-col gap-6 px-4 py-10 sm:flex-row sm:items-center sm:justify-between sm:px-6">
|
|
<div className="flex flex-col gap-1">
|
|
<Link
|
|
href="/"
|
|
className="font-logo text-sm font-bold tracking-logo text-foreground"
|
|
>
|
|
{t("brand.name")}
|
|
</Link>
|
|
<span className="text-xs text-subtle-foreground">
|
|
{t("footer.built")}
|
|
</span>
|
|
</div>
|
|
|
|
<nav
|
|
className="flex flex-wrap gap-x-6 gap-y-2"
|
|
aria-label="Liens externes"
|
|
>
|
|
<a
|
|
href="https://git.cohaise.dev/Esiah"
|
|
target="_blank"
|
|
rel="noreferrer noopener"
|
|
className="text-xs uppercase tracking-label text-muted-foreground transition-colors hover:text-foreground"
|
|
>
|
|
Gitea (self-hosted)
|
|
</a>
|
|
<a
|
|
href="https://github.com/xEsiah"
|
|
target="_blank"
|
|
rel="noreferrer noopener"
|
|
className="text-xs uppercase tracking-label text-muted-foreground transition-colors hover:text-foreground"
|
|
>
|
|
GitHub
|
|
</a>
|
|
</nav>
|
|
|
|
<span className="text-xs text-subtle-foreground">
|
|
© {year} {t("brand.name")} — {t("footer.rights")}
|
|
</span>
|
|
</div>
|
|
</footer>
|
|
);
|
|
};
|