Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import type { Metadata } from "next";

import "./globals.css";
import { Navigation } from "@/components/navigation";
import { SiteFooter } from "@/components/site-footer";
import { ProgressProvider } from "@/lib/progress-context";

const ENV = process.env as Record<string, string | undefined>;
Expand All @@ -29,11 +30,12 @@ export default function RootLayout({ children }: { children: React.ReactNode })
<link rel="icon" href={assetPath("/favicon.png")} sizes="192x192" />
<link rel="apple-touch-icon" href={assetPath("/favicon.png")} />
</head>
<body>
<body className="flex min-h-dvh flex-col">
<ProgressProvider>
<Suspense fallback={null}>
<Navigation />
<main className="min-h-screen">{children}</main>
<main className="flex-1">{children}</main>
<SiteFooter />
</Suspense>
</ProgressProvider>
<link rel="stylesheet" href={assetPath("/assets/chatbot/chatbot-theme.css")} />
Expand Down
21 changes: 21 additions & 0 deletions components/site-footer.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import Link from "next/link";

import { PageShell } from "@/components/page-shell";

export function SiteFooter() {
return (
<footer className="border-t bg-background" aria-label="Site footer">
<PageShell className="py-6 text-center text-sm text-muted-foreground">
<p>
Copyright © 2026 Digital Health CRC <span aria-hidden="true">|</span>{" "}
<Link
href="https://digitalhealthcrc.com/privacy-policy/"
className="font-medium text-foreground underline underline-offset-4 transition-colors hover:text-primary"
>
Privacy Policy
</Link>
</p>
</PageShell>
</footer>
);
}
Loading