mirror of
https://github.com/yude-jp/yude.jp
synced 2025-12-17 13:04:16 +09:00
Set proper color
This commit is contained in:
@@ -21,7 +21,7 @@ const Layout = (props) => {
|
||||
<title>{title ? `${title} - ${siteTitle}` : siteTitle}</title>
|
||||
<link rel="icon" href="/static/images/favicon.ico" />
|
||||
</Head>
|
||||
<body className="min-h-screen bg-gray-900 text-white subpixel-antialiased">
|
||||
<body className="min-h-screen dark:bg-gray-900 text-white subpixel-antialiased">
|
||||
<main>
|
||||
<div className="page-main">
|
||||
{children}
|
||||
@@ -36,10 +36,10 @@ const Layout = (props) => {
|
||||
<div className="container mx-auto px-6">
|
||||
<div className="mt-16 flex flex-col items-center">
|
||||
<div className="sm:w-full text-center py-6">
|
||||
<p className="text-sm font-bold mb-2 text-gray-400">
|
||||
<p className="text-sm font-bold mb-2 text-gray-900 dark:text-gray-400">
|
||||
{footer} / <Link href="https://github.com/yudemoe/yude.jp"><a className="hover:underline">{source}</a></Link>
|
||||
</p>
|
||||
<p className="text-sm font-bold mb-2 text-gray-400">
|
||||
<p className="text-sm font-bold mb-2 text-gray-900 dark:text-gray-400">
|
||||
<Link href="https://wiki.yude.jp/terms"><a className="hover:underline">{tos}</a></Link>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@@ -9,7 +9,7 @@ const Navbar = () => {
|
||||
<nav className='flex items-center flex-wrap p-3'>
|
||||
<Link href='/'>
|
||||
<a className='inline-flex items-center p-2 mr-4'>
|
||||
<span className='text-xl text-white font-bold tracking-wide dark:text-white font-mono animate-heartbeat'>
|
||||
<span className='text-xl text-black font-bold tracking-wide dark:text-white font-mono animate-heartbeat'>
|
||||
yude.jp
|
||||
</span>
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user