site/pages/_app.js
2020-04-22 22:39:34 -04:00

23 lines
555 B
JavaScript
Executable file

import * as React from 'react'
import NextApp from 'next/app'
import Head from 'next/head'
import Meta from '@hackclub/meta'
import '@hackclub/theme/fonts/reg-bold.css'
import theme from '../lib/theme'
import { ThemeProvider } from 'theme-ui'
export default class App extends NextApp {
render() {
const { Component, pageProps } = this.props
return (
<ThemeProvider theme={theme}>
<Head>
<title>Hack Club</title>
<Meta />
</Head>
<Component {...pageProps} />
</ThemeProvider>
)
}
}