Skip to content

Commit 05f15a0

Browse files
committed
feat: add footer with project links
1 parent af0822b commit 05f15a0

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

app/(main)/layout.tsx

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,35 @@ function MainLayout({ children }: { children: React.ReactNode }) {
1010
<MainNav />
1111
<div className="flex w-full items-center gap-4 md:ml-auto md:gap-2 lg:gap-4">
1212
<div className="ml-auto flex-1 sm:flex-initial">
13-
{/* Future search bar can go here */}
1413
</div>
1514
<UserNav />
1615
</div>
1716
</header>
1817
<main className="flex flex-1 flex-col gap-4 p-4 md:gap-8 md:p-8">
1918
{children}
2019
</main>
20+
<footer className="mt-auto border-t py-4">
21+
<div className="container mx-auto text-center text-sm text-muted-foreground">
22+
Powered by{" "}
23+
<a
24+
href="https://github.com/ZJUSCT/CSOJ"
25+
target="_blank"
26+
rel="noopener noreferrer"
27+
className="font-medium text-primary underline-offset-4 hover:underline"
28+
>
29+
ZJUSCT/CSOJ
30+
</a>{" "}
31+
&{" "}
32+
<a
33+
href="https://github.com/ZJUSCT/CSOJ-WebUI"
34+
target="_blank"
35+
rel="noopener noreferrer"
36+
className="font-medium text-primary underline-offset-4 hover:underline"
37+
>
38+
ZJUSCT/CSOJ-WebUI
39+
</a>
40+
</div>
41+
</footer>
2142
</div>
2243
);
2344
}

0 commit comments

Comments
 (0)