This commit is contained in:
parent
d2eff84d30
commit
a40e78cf5d
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
import { Button } from "@/components/ui/button";
|
import { Button } from "@/components/ui/button";
|
||||||
import { MoonIcon, SunIcon } from "lucide-react";
|
import { MoonIcon, SunIcon } from "lucide-react";
|
||||||
|
import Link from "next/link";
|
||||||
import { useTheme } from "./providers";
|
import { useTheme } from "./providers";
|
||||||
import { LanguageSelector } from "./ui/language-selector";
|
import { LanguageSelector } from "./ui/language-selector";
|
||||||
|
|
||||||
|
|
@ -14,9 +15,9 @@ export function NavContainer({ children, title, }: { children: React.ReactNode,
|
||||||
<div className="flex items-center justify-between h-16">
|
<div className="flex items-center justify-between h-16">
|
||||||
<div className="flex gap-4">
|
<div className="flex gap-4">
|
||||||
<LanguageSelector />
|
<LanguageSelector />
|
||||||
<a href="#" className="text-xl font-bold tracking-tighter hover:text-primary transition-colors">
|
<Link href="/" className="text-xl font-bold tracking-tighter hover:text-primary transition-colors">
|
||||||
<h1>{title}</h1>
|
<h1>{title}</h1>
|
||||||
</a>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex items-center">
|
<div className="flex items-center">
|
||||||
{children}
|
{children}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue