0
0
mirror of https://github.com/yude-jp/yude.jp synced 2024-12-22 20:20:09 +09:00
This commit is contained in:
yude 2021-02-07 11:29:21 +09:00
parent 32aa9d1544
commit 4d14548d09
2 changed files with 4 additions and 5 deletions

View File

@ -12,12 +12,8 @@ const Layout = (props) => {
<title>{title ? `${title} - ${siteTitle}` : siteTitle}</title> <title>{title ? `${title} - ${siteTitle}` : siteTitle}</title>
<link rel="icon" href="/static/images/favicon.ico" /> <link rel="icon" href="/static/images/favicon.ico" />
</Head> </Head>
<Background>
<body className="bg-white text-black dark:bg-black dark:text-white"> <body className="bg-white text-black dark:bg-black dark:text-white">
<main> <main>
{/*
{title ? <h1 className="page-title">{title}</h1> : ``}
*/}
<div className="page-main"> <div className="page-main">
{children} {children}
</div> </div>
@ -41,7 +37,6 @@ const Layout = (props) => {
</footer> </footer>
</main> </main>
</body> </body>
</Background>
</div> </div>
) )
} }

4
styles/globals.css Normal file
View File

@ -0,0 +1,4 @@
/* Start purging... */
@tailwind components;
@tailwind utilities;
/* Stop purging. */