mirror of
https://github.com/arthur-pbty/flint.git
synced 2026-08-01 20:29:03 +02:00
- Renamed project with new branding - Added new logo and favicon assets - Integrated full favicon + PWA icon setup - Enhanced Next.js layout metadata (SEO, OpenGraph, Twitter cards) - Added theme color support (light/dark mode) - Improved multilingual metadata handling with next-intl - Cleaned and structured generateMetadata for production readiness
17 lines
521 B
TypeScript
17 lines
521 B
TypeScript
import { getT } from "../i18n/server";
|
|
import { Link } from "../i18n/navigation";
|
|
import { cn } from "./ui/cn";
|
|
|
|
export default async function Logo({ className = "" }: { className?: string }) {
|
|
const t = await getT();
|
|
|
|
return (
|
|
<Link className={cn("inline-flex items-center gap-3", className)} href="/">
|
|
<img src="/logo.svg" alt="Logo" className="h-9 w-9" />
|
|
|
|
<span className="text-lg font-semibold tracking-tight text-[var(--foreground)]">
|
|
{t("common.brand")}
|
|
</span>
|
|
</Link>
|
|
);
|
|
} |