mirror of
https://github.com/Lumither/nocturne.git
synced 2026-10-17 18:36: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 React from 'react';
|
||||||
|
import ConstructionPlaceHolder from '@/components/ConstructionPlaceHolder';
|
||||||
|
|
||||||
function About() {
|
function About() {
|
||||||
return (
|
return (
|
||||||
<div></div>
|
<div className={ `h-dvh` }>
|
||||||
|
<ConstructionPlaceHolder />
|
||||||
|
</div>
|
||||||
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
import ConstructionPlaceHolder from '@/components/ConstructionPlaceHolder';
|
||||||
|
|
||||||
const Archive = () => {
|
const Archive = () => {
|
||||||
return (
|
return (
|
||||||
<div>
|
<div className={ `h-dvh` }>
|
||||||
|
<ConstructionPlaceHolder />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
+6
-1
@@ -1,7 +1,12 @@
|
|||||||
|
import ConstructionPlaceHolder from '@/components/ConstructionPlaceHolder';
|
||||||
|
import React from 'react';
|
||||||
|
|
||||||
export default function Home() {
|
export default function Home() {
|
||||||
return (
|
return (
|
||||||
<main>
|
<main>
|
||||||
{/*<ThemeSwitcher />*/ }
|
<div className={ `h-dvh` }>
|
||||||
|
<ConstructionPlaceHolder />
|
||||||
|
</div>
|
||||||
</main>
|
</main>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
+4
-2
@@ -1,10 +1,12 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
import ConstructionPlaceHolder from '@/components/ConstructionPlaceHolder';
|
||||||
|
|
||||||
const Search = () => {
|
const Search = () => {
|
||||||
return (
|
return (
|
||||||
<div>
|
<div className={ `h-dvh` }>
|
||||||
|
<ConstructionPlaceHolder />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
+3
-2
@@ -1,9 +1,10 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
import ConstructionPlaceHolder from '@/components/ConstructionPlaceHolder';
|
||||||
|
|
||||||
const Tags = () => {
|
const Tags = () => {
|
||||||
return (
|
return (
|
||||||
<div>
|
<div className={ `h-dvh` }>
|
||||||
|
<ConstructionPlaceHolder />
|
||||||
</div>
|
</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>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
className={ `flex justify-center md:justify-start mt-8 ml-0 md:-ml-3` }>
|
className={ `flex justify-center md:justify-start w-full mt-8 ml-0 md:-ml-3` }>
|
||||||
<ul className={ `flex flex-col space-y-2` }>
|
<ul className={ `flex flex-col space-y-2 w-full` }>
|
||||||
{
|
{
|
||||||
entries.map((meta, key) => (
|
entries.map((meta, key) => (
|
||||||
<li key={ key }>
|
<li key={ key }>
|
||||||
|
|||||||
+4
-2
@@ -45,10 +45,12 @@ const config: Config = {
|
|||||||
writingMode: 'vertical-lr'
|
writingMode: 'vertical-lr'
|
||||||
},
|
},
|
||||||
'.sideways-lr': {
|
'.sideways-lr': {
|
||||||
writingMode: 'sideways-lr'
|
writingMode: 'vertical-lr',
|
||||||
|
transform: 'rotate(180deg)'
|
||||||
},
|
},
|
||||||
'.sideways-rl': {
|
'.sideways-rl': {
|
||||||
writingMode: 'sideways-rl'
|
writingMode: 'sideways-rl',
|
||||||
|
transform: 'rotate(180deg)'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in new issue
Block a user