mirror of
https://github.com/Lumither/nocturne.git
synced 2026-10-17 10:26:21 +00:00
Compare commits
2
Commits
refactor
...
88c2ad8664
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
88c2ad8664 | ||
|
|
86dc65ab8a |
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>
|
||||
|
||||
+43
-32
@@ -8,42 +8,53 @@ import Link from 'next/link';
|
||||
|
||||
export default function Home() {
|
||||
|
||||
const isMobile = useScreenSizeTrigger('lg');
|
||||
|
||||
// const [ test, setTest, removeTest ] = useLocalStorage('test', 'test_value');
|
||||
// console.log(test);
|
||||
// setTest('test value 2');
|
||||
// console.log(test);
|
||||
// removeTest();
|
||||
// console.log(test);
|
||||
const isMobile = useScreenSizeTrigger('sm');
|
||||
|
||||
return (
|
||||
<div className={ `h-dvh relative` }>
|
||||
<ul className={ `flex flex-col space-y-2 w-full` }>
|
||||
{
|
||||
entries.map((meta, key) => (
|
||||
<li key={ key }>
|
||||
<Button
|
||||
as={ Link }
|
||||
variant={ `light` }
|
||||
color={ `default` }
|
||||
fullWidth
|
||||
isIconOnly={ isMobile }
|
||||
className={ 'flex lg:justify-start w-fit lg:w-full' }
|
||||
aria-label={ `navbar: ${ meta.display_name }` }
|
||||
href={ meta.href }
|
||||
>
|
||||
{ meta.icon }
|
||||
<p className={ `font-bold hidden lg:block` }>{ meta.display_name }</p>
|
||||
</Button>
|
||||
</li>
|
||||
))
|
||||
}
|
||||
</ul>
|
||||
<div>
|
||||
<div className={ `min-h-dvh h-min content-center` }>
|
||||
<p className={ 'text-center text-4xl' }>Atelier Lumiaethor</p>
|
||||
</div>
|
||||
|
||||
<div
|
||||
className={ 'absolute bottom-0 w-full h-60 bg-yellow-500 p-12' }
|
||||
// className={ 'absolute bottom-0 w-full h-60 bg-yellow-500 p-12' }
|
||||
className={ 'absolute bottom-0 w-full h-60 p-12' }
|
||||
>
|
||||
<div className={ 'bg-blue-500 h-full w-full rounded-3xl backdrop-blur' }></div>
|
||||
<div
|
||||
className={ 'bg-blue-500 h-full w-full rounded-3xl backdrop-blur align-middle grid grid-cols-2 content-center' }>
|
||||
|
||||
<div className={ 'w-full flex justify-between' }>
|
||||
<div className={ 'p-16' }>
|
||||
test
|
||||
</div>
|
||||
|
||||
<div className={ 'w-0.5 h-full bg-neutral-400' }></div>
|
||||
</div>
|
||||
|
||||
<div className={ 'h-full content-center p-4 pr-3' }>
|
||||
<ul className={ `grid grid-cols-2 w-full` }>
|
||||
{
|
||||
entries.map((meta, key) => (
|
||||
<li key={ key }>
|
||||
<Button
|
||||
as={ Link }
|
||||
variant={ `light` }
|
||||
color={ `default` }
|
||||
fullWidth
|
||||
isIconOnly={ isMobile }
|
||||
className={ 'flex lg:justify-start w-fit lg:w-full' }
|
||||
aria-label={ `navbar: ${ meta.display_name }` }
|
||||
href={ meta.href }
|
||||
>
|
||||
{ meta.icon }
|
||||
<p className={ `font-bold hidden sm:block` }>{ meta.display_name }</p>
|
||||
</Button>
|
||||
</li>
|
||||
))
|
||||
}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user