fix : forget nav page
This commit is contained in:
+3
-1
@@ -1,6 +1,7 @@
|
||||
import { connection } from "next/server";
|
||||
|
||||
import { LiveRefresh } from "@/components/live-refresh";
|
||||
import { SiteFooter } from "@/components/public/site-footer";
|
||||
import { StructuredDirectory } from "@/components/public/structured-directory";
|
||||
import { SiteHeader } from "@/components/public/site-header";
|
||||
import { getCachedPublicGuideCards } from "@/lib/cache/public";
|
||||
@@ -9,7 +10,7 @@ export default async function HomePage() {
|
||||
await connection();
|
||||
const guides = await getCachedPublicGuideCards();
|
||||
return (
|
||||
<div className="min-h-svh bg-background">
|
||||
<div className="flex min-h-svh flex-col bg-background">
|
||||
<LiveRefresh endpoint="/api/events/directory" />
|
||||
<SiteHeader />
|
||||
<main className="mx-auto flex w-full max-w-7xl flex-col gap-8 px-4 py-10 sm:px-6 sm:py-14">
|
||||
@@ -23,6 +24,7 @@ export default async function HomePage() {
|
||||
</header>
|
||||
<StructuredDirectory guides={guides} />
|
||||
</main>
|
||||
<SiteFooter />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
+3
-1
@@ -8,6 +8,7 @@ import {
|
||||
AvatarFallback,
|
||||
AvatarImage,
|
||||
} from "@/components/ui/avatar";
|
||||
import { SiteFooter } from "@/components/public/site-footer";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import {
|
||||
Card,
|
||||
@@ -64,7 +65,7 @@ function getInitials(username: string) {
|
||||
|
||||
export default function ThanksPage() {
|
||||
return (
|
||||
<div className="min-h-svh bg-background">
|
||||
<div className="flex min-h-svh flex-col bg-background">
|
||||
<header className="border-b">
|
||||
<div className="mx-auto flex min-h-16 w-full max-w-6xl items-center px-4 sm:px-6">
|
||||
<Link
|
||||
@@ -176,6 +177,7 @@ export default function ThanksPage() {
|
||||
<div>I am sigma number one</div>
|
||||
)}
|
||||
</main>
|
||||
<SiteFooter />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user