Open History to see the last commit
1import React from 'react'
2β
3export const Layout = ({ children }: { children: React.ReactNode }) => {
4 return (
5 <main>
6 {children}
7 <style jsx global>{`
8 * {
9 font-family:
10 Menlo, Monaco, 'Lucida Console', 'Liberation Mono',
11 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New',
12 monospace, serif;
13 }
14 body {
15 margin: 0;
16 padding: 25px 50px;
17 }
18 a {
19 color: #22bad9;
20 }
21 p {
22 font-size: 14px;
23 line-height: 24px;
24 }
25 article {
26 margin: 0 auto;
27 max-width: 650px;
28 }
29 button {
30 align-items: center;
31 background-color: #22bad9;
32 border: 0;
33 color: white;
34 display: flex;
35 padding: 5px 7px;
36 transition: background-color 0.3s;
37 }
38 button:active {
39 background-color: #1b9db7;
40 }
41 button:disabled {
42 background-color: #b5bebf;
43 }
44 button:focus {
45 outline: none;
46 }
47 `}</style>
48 </main>
49 )
50}