Skip to content

Commit

Permalink
try normal link for homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanniser committed Oct 21, 2024
1 parent efe3b19 commit 892f4b4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { Link } from "@/components/ui/link";
import { Analytics } from "@vercel/analytics/react";
import { Toaster } from "sonner";
import { WelcomeToast } from "./welcome-toast";
import NextLink from "next/link";

const helvetica = localFont({
src: "./fonts/HelveticaNeueLTPro-Md.woff",
Expand Down Expand Up @@ -63,13 +64,13 @@ export default async function RootLayout({
</Suspense>
</div>
<div className="flex w-full flex-col items-start justify-center gap-2 sm:w-auto sm:flex-row sm:items-center">
<Link
<NextLink
prefetch={true}
href="/"
className="block px-4 text-4xl font-bold text-green-800"
className="text-4xl font-bold text-green-800"
>
NextMaster
</Link>
</NextLink>
<div className="items flex w-full flex-row items-center justify-between gap-4">
<div className="mx-0 flex-grow sm:mx-auto sm:flex-grow-0">
<SearchDropdownComponent />
Expand Down

0 comments on commit 892f4b4

Please sign in to comment.