Skip to content

Commit

Permalink
feat(www): site footer
Browse files Browse the repository at this point in the history
  • Loading branch information
alifarooq9 committed Apr 9, 2024
1 parent 064092f commit 29ad933
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
31 changes: 31 additions & 0 deletions apps/www/src/app/(app)/_components/site-footer.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import { siteUrls } from "@/config/urls";

export function SiteFooter() {
return (
<footer className="py-6 md:px-8 md:py-0">
<div className="container flex flex-col items-center justify-between gap-4 md:h-24 md:flex-row">
<p className="text-balance text-center text-sm leading-loose text-muted-foreground md:text-left">
Built by{" "}
<a
href={siteUrls.twitter}
target="_blank"
rel="noreferrer"
className="font-medium underline underline-offset-4"
>
alifarooq
</a>
. The source code is available on{" "}
<a
href={siteUrls.github}
target="_blank"
rel="noreferrer"
className="font-medium underline underline-offset-4"
>
GitHub
</a>
.
</p>
</div>
</footer>
);
}
2 changes: 2 additions & 0 deletions apps/www/src/app/(app)/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { SiteHeader } from "@/app/(app)/_components/side-header";
import { SiteFooter } from "@/app/(app)/_components/site-footer";

interface AppLayoutProps {
children: React.ReactNode;
Expand All @@ -9,6 +10,7 @@ export default function AppLayout({ children }: AppLayoutProps) {
<>
<SiteHeader />
<main className="flex-1">{children}</main>
<SiteFooter />
</>
);
}

0 comments on commit 29ad933

Please sign in to comment.