feat(ui) construction banner

This commit is contained in:
lumither committed 2025-08-27 02:57:39 +08:00
1 parent 86dc65ab8a
commit 88c2ad8664
2 files changed
+5 -2

No files matched your search

+3
View File
@@ -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>
+2 -2
View File
@@ -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>
))