File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ import Footer from "~/components/footer";
1919import Providers from "~/components/providers" ;
2020import UnframedFooter from "~/components/unframed-footer" ;
2121import { env } from "~/env" ;
22+ import { Maintenance } from "~/components/maintenance" ;
2223
2324export const dynamic = "force-dynamic" ;
2425export const fetchCache = "force-no-store" ;
@@ -151,7 +152,8 @@ export default function RootLayout({ children }: PropsWithChildren) {
151152 < Providers >
152153 < div className = "flex-col md:flex" >
153154 < SiteHeader />
154- { children }
155+ { /* {children} */ }
156+ < Maintenance />
155157 < SpeedInsights />
156158 </ div >
157159 { env . NEXT_PUBLIC_THEME === "unframed" ? (
Original file line number Diff line number Diff line change 1+ export function Maintenance ( ) {
2+ return (
3+ < main className = "flex h-[calc(100vh-var(--site-header-height)-var(--site-footer-height))] items-center justify-center" >
4+ < h1 className = "text-6xl font-semibold" >
5+ Under active maintenance
6+ < small className = "block text-sm text-muted-foreground font-mono" > Team is working hard, you can reach us out on discord</ small >
7+ </ h1 >
8+ </ main >
9+ )
10+ }
You can’t perform that action at this time.
0 commit comments