mirror of
https://github.com/yude-jp/yude.jp
synced 2025-10-14 04:08:36 +09:00
Setup Tailwind CSS
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import Head from "next/head"
|
||||
import Link from "next/link"
|
||||
import "tailwindcss/tailwind.css";
|
||||
|
||||
const Layout = (props) => {
|
||||
const { title, children } = props
|
||||
@@ -18,14 +19,10 @@ const Layout = (props) => {
|
||||
{children}
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<style jsx global>{`
|
||||
body {
|
||||
text-align: center;
|
||||
}
|
||||
.avatar{
|
||||
border-radius: 50%;
|
||||
}
|
||||
`}</style>
|
||||
</div>
|
||||
)
|
||||
|
Reference in New Issue
Block a user