Gallery
Events still not working
This commit is contained in:
@@ -128,6 +128,18 @@ const Navbar = () => {
|
||||
>
|
||||
A propos
|
||||
</a>
|
||||
<a
|
||||
className={cn(
|
||||
"text-muted-foreground",
|
||||
navigationMenuTriggerStyle,
|
||||
buttonVariants({
|
||||
variant: "ghost",
|
||||
}),
|
||||
)}
|
||||
href="/gallery"
|
||||
>
|
||||
Gallerie
|
||||
</a>
|
||||
<a
|
||||
className={cn(
|
||||
"text-muted-foreground",
|
||||
@@ -144,13 +156,33 @@ const Navbar = () => {
|
||||
</div>
|
||||
<div className="flex gap-2 animate-in ease-in-out">
|
||||
<ThemeSwitcher />
|
||||
<Button variant="outline">
|
||||
{cookie ? (
|
||||
<Link href="/dashboard">Compte</Link>
|
||||
) : (
|
||||
<Link href="/login">Se connecter</Link>
|
||||
)}
|
||||
</Button>
|
||||
{cookie ? (
|
||||
<Link
|
||||
className={cn(
|
||||
"text-muted-foreground",
|
||||
navigationMenuTriggerStyle,
|
||||
buttonVariants({
|
||||
variant: "outline",
|
||||
}),
|
||||
)}
|
||||
href="/dashboard"
|
||||
>
|
||||
Compte
|
||||
</Link>
|
||||
) : (
|
||||
<Link
|
||||
className={cn(
|
||||
"text-muted-foreground",
|
||||
navigationMenuTriggerStyle,
|
||||
buttonVariants({
|
||||
variant: "outline",
|
||||
}),
|
||||
)}
|
||||
href="/login"
|
||||
>
|
||||
Se connecter
|
||||
</Link>
|
||||
)}
|
||||
{cookie ? (
|
||||
<Button
|
||||
onClick={() => {
|
||||
@@ -219,6 +251,12 @@ const Navbar = () => {
|
||||
>
|
||||
À propos
|
||||
</Link>
|
||||
<Link
|
||||
href="/gallery"
|
||||
className="font-semibold"
|
||||
>
|
||||
Gallerie
|
||||
</Link>
|
||||
<Link
|
||||
href="/blog"
|
||||
className="font-semibold"
|
||||
|
||||
Reference in New Issue
Block a user