Skip to content

Commit 2616342

Browse files
committed
feat(www): site footer
1 parent 7c265e3 commit 2616342

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
import { siteUrls } from "@/config/urls";
2+
3+
export function SiteFooter() {
4+
return (
5+
<footer className="py-6 md:px-8 md:py-0">
6+
<div className="container flex flex-col items-center justify-between gap-4 md:h-24 md:flex-row">
7+
<p className="text-balance text-center text-sm leading-loose text-muted-foreground md:text-left">
8+
Built by{" "}
9+
<a
10+
href={siteUrls.twitter}
11+
target="_blank"
12+
rel="noreferrer"
13+
className="font-medium underline underline-offset-4"
14+
>
15+
alifarooq
16+
</a>
17+
. The source code is available on{" "}
18+
<a
19+
href={siteUrls.github}
20+
target="_blank"
21+
rel="noreferrer"
22+
className="font-medium underline underline-offset-4"
23+
>
24+
GitHub
25+
</a>
26+
.
27+
</p>
28+
</div>
29+
</footer>
30+
);
31+
}

apps/www/src/app/(app)/layout.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { SiteHeader } from "@/app/(app)/_components/side-header";
2+
import { SiteFooter } from "@/app/(app)/_components/site-footer";
23

34
interface AppLayoutProps {
45
children: React.ReactNode;
@@ -9,6 +10,7 @@ export default function AppLayout({ children }: AppLayoutProps) {
910
<>
1011
<SiteHeader />
1112
<main className="flex-1">{children}</main>
13+
<SiteFooter />
1214
</>
1315
);
1416
}

0 commit comments

Comments
 (0)