Files: 0b5cc6b028dd8f3199b4203e8f44c9bc54b35b65 / pages / _app.tsx
967 bytesRaw
1 | import {Fragment} from 'react'; |
2 | import Head from 'next/head'; |
3 | |
4 | export default function MyApp({ Component, pageProps }) { |
5 | const isDevelopment = process.env.NODE_ENV !== 'development'; |
6 | |
7 | return ( |
8 | <Fragment> |
9 | <Head> |
10 | <meta charSet="UTF-8" /> |
11 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
12 | <meta httpEquiv="X-UA-Compatible" content="ie=edge" /> |
13 | <link rel="icon" type="image/png" href="/favicon.png" /> |
14 | <title>Rômulo Alves</title> |
15 | {isDevelopment && ( |
16 | <script async defer data-domain="romuloalves.dev" src="//analytics.romuloalves.dev/js/plausible.js"></script> |
17 | )} |
18 | </Head> |
19 | <Component {...pageProps} /> |
20 | <style global jsx>{` |
21 | * { |
22 | margin: 0; |
23 | padding: 0; |
24 | } |
25 | body { |
26 | font-family: Verdana, sans-serif; |
27 | } |
28 | h3, p { |
29 | line-height: 1.6; |
30 | } |
31 | `}</style> |
32 | </Fragment> |
33 | ); |
34 | } |
35 |
Built with git-ssb-web