夜间模式按钮

This commit is contained in:
tangly1024
2022-05-11 13:26:43 +08:00
parent 95b5299567
commit b409391ee7
15 changed files with 63 additions and 57 deletions

View File

@@ -7,7 +7,7 @@ import Link from 'next/link'
export const Header = (props) => {
const { siteInfo } = props
return <header className="w-full px-6 bg-white">
return <header className="w-full px-6 bg-white dark:bg-black">
<div className="container mx-auto max-w-4xl md:flex justify-between items-center">
<Link href='/'>
<a className="py-6 w-full text-center md:text-left md:w-auto text-gray-dark no-underline flex justify-center items-center">