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-06 02:40:31 +09:00
parent 02be449749
commit 56e998b6e7

View File

@ -0,0 +1,33 @@
import Head from "next/head"
import Link from "next/link"
const Layout = (props) => {
const { title, children } = props
const siteTitle = "yude.jp"
return (
<div className="page">
<Head>
<title>{title ? `${title} - ${siteTitle}` : siteTitle}</title>
<link rel="icon" href="/static/images/favicon.ico" />
</Head>
<main>
{/*
{title ? <h1 className="page-title">{title}</h1> : ``}
*/}
<div className="page-main">
{children}
</div>
</main>
<style jsx global>{`
body {
text-align: center;
}
.avatar{
border-radius: 50%;
}
`}</style>
</div>
)
}
export default Layout