first udpate

This commit is contained in:
diyaa
2026-03-13 03:16:25 +01:00
commit 243a182d33
28 changed files with 1144 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
import Link from "next/link";
import ThemeToggle from "@/components/ThemeToggle";
import type { Locale } from "@/lib/i18n";
import type { CommonContent } from "@/content/types";
type SiteHeaderProps = {
locale: Locale;
common: CommonContent;
};
export default function SiteHeader({ locale, common }: SiteHeaderProps) {
return (
<header className="site-header">
<div className="container bar">
<Link href={`/${locale}`} className="brand">
{common.siteTitle}
</Link>
<ThemeToggle />
</div>
</header>
);
}