mirror of
https://github.com/Lumither/nocturne.git
synced 2026-10-17 10:26:21 +00:00
feat(navbar) update navbar
This commit is contained in:
8 files changed
+40
-12
No files matched your search
+5
-1
@@ -1,8 +1,12 @@
|
||||
import React from 'react';
|
||||
import ConstructionPlaceHolder from '@/components/ConstructionPlaceHolder';
|
||||
|
||||
function About() {
|
||||
return (
|
||||
<div></div>
|
||||
<div className={ `h-dvh` }>
|
||||
<ConstructionPlaceHolder />
|
||||
</div>
|
||||
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import React from 'react';
|
||||
import ConstructionPlaceHolder from '@/components/ConstructionPlaceHolder';
|
||||
|
||||
const Archive = () => {
|
||||
return (
|
||||
<div>
|
||||
|
||||
<div className={ `h-dvh` }>
|
||||
<ConstructionPlaceHolder />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
+6
-1
@@ -1,7 +1,12 @@
|
||||
import ConstructionPlaceHolder from '@/components/ConstructionPlaceHolder';
|
||||
import React from 'react';
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
<main>
|
||||
{/*<ThemeSwitcher />*/ }
|
||||
<div className={ `h-dvh` }>
|
||||
<ConstructionPlaceHolder />
|
||||
</div>
|
||||
</main>
|
||||
);
|
||||
}
|
||||
+4
-2
@@ -1,10 +1,12 @@
|
||||
import React from 'react';
|
||||
import ConstructionPlaceHolder from '@/components/ConstructionPlaceHolder';
|
||||
|
||||
const Search = () => {
|
||||
return (
|
||||
<div>
|
||||
|
||||
<div className={ `h-dvh` }>
|
||||
<ConstructionPlaceHolder />
|
||||
</div>
|
||||
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
+3
-2
@@ -1,9 +1,10 @@
|
||||
import React from 'react';
|
||||
import ConstructionPlaceHolder from '@/components/ConstructionPlaceHolder';
|
||||
|
||||
const Tags = () => {
|
||||
return (
|
||||
<div>
|
||||
|
||||
<div className={ `h-dvh` }>
|
||||
<ConstructionPlaceHolder />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
import React from 'react';
|
||||
|
||||
const ConstructionPlaceHolder = () => {
|
||||
return (
|
||||
<div className={ `flex h-full w-full justify-center items-center` }>
|
||||
<p className={ `text-2xl font-bold` }>
|
||||
正在施工中...
|
||||
</p>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default ConstructionPlaceHolder;
|
||||
@@ -153,8 +153,8 @@ function Navbar() {
|
||||
</div>
|
||||
|
||||
<div
|
||||
className={ `flex justify-center md:justify-start mt-8 ml-0 md:-ml-3` }>
|
||||
<ul className={ `flex flex-col space-y-2` }>
|
||||
className={ `flex justify-center md:justify-start w-full mt-8 ml-0 md:-ml-3` }>
|
||||
<ul className={ `flex flex-col space-y-2 w-full` }>
|
||||
{
|
||||
entries.map((meta, key) => (
|
||||
<li key={ key }>
|
||||
|
||||
+4
-2
@@ -45,10 +45,12 @@ const config: Config = {
|
||||
writingMode: 'vertical-lr'
|
||||
},
|
||||
'.sideways-lr': {
|
||||
writingMode: 'sideways-lr'
|
||||
writingMode: 'vertical-lr',
|
||||
transform: 'rotate(180deg)'
|
||||
},
|
||||
'.sideways-rl': {
|
||||
writingMode: 'sideways-rl'
|
||||
writingMode: 'sideways-rl',
|
||||
transform: 'rotate(180deg)'
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user