This commit is contained in:
Dipak Khade 2026-04-20 23:22:30 +00:00 committed by GitHub
commit df53802702
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 2 deletions

View file

@ -18,6 +18,7 @@ export default async function MarketingLayout({
<header className="container z-40 bg-background">
<div className="flex h-20 items-center justify-between py-6">
<MainNav items={marketingConfig.mainNav} />
<nav>
<Link
href="/login"

View file

@ -3,7 +3,7 @@
import * as React from "react"
import Link from "next/link"
import { useSelectedLayoutSegment } from "next/navigation"
import { ModeToggle } from "@/components/mode-toggle"
import { MainNavItem } from "types"
import { siteConfig } from "@/config/site"
import { cn } from "@/lib/utils"
@ -44,6 +44,7 @@ export function MainNav({ items, children }: MainNavProps) {
{item.title}
</Link>
))}
<ModeToggle />
</nav>
) : null}
<button

View file

@ -51,7 +51,9 @@ export function SiteFooter({ className }: React.HTMLAttributes<HTMLElement>) {
.
</p>
</div>
<ModeToggle />
<span className="block sm:hidden">
<ModeToggle />
</span>
</div>
</footer>
)