mirror of
https://github.com/Lumither/nocturne.git
synced 2026-10-17 10:26:21 +00:00
feat(ui) construction banner
This commit is contained in:
2 files changed
+5
-2
No files matched your search
@@ -21,6 +21,9 @@ export default function RootLayout({
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<body className={ `transition duration-300 dark:bg-[#282830] min-h-screen` }>
|
||||
<NextThemesProvider attribute="class" defaultTheme="system">
|
||||
<div className={ 'fixed top-0 w-full h-15 bg-yellow-600 z-50' }>
|
||||
<p className={ 'font-bold text-2xl text-center' }>*System Under Construction*</p>
|
||||
</div>
|
||||
{ children }
|
||||
</NextThemesProvider>
|
||||
</body>
|
||||
|
||||
@@ -8,7 +8,7 @@ import Link from 'next/link';
|
||||
|
||||
export default function Home() {
|
||||
|
||||
const isMobile = useScreenSizeTrigger('lg');
|
||||
const isMobile = useScreenSizeTrigger('sm');
|
||||
|
||||
return (
|
||||
<div>
|
||||
@@ -47,7 +47,7 @@ export default function Home() {
|
||||
href={ meta.href }
|
||||
>
|
||||
{ meta.icon }
|
||||
<p className={ `font-bold hidden lg:block` }>{ meta.display_name }</p>
|
||||
<p className={ `font-bold hidden sm:block` }>{ meta.display_name }</p>
|
||||
</Button>
|
||||
</li>
|
||||
))
|
||||
|
||||
Reference in new issue
Block a user