diff --git a/src/pages/_document.tsx b/src/pages/_document.tsx new file mode 100644 index 000000000..feb9c040e --- /dev/null +++ b/src/pages/_document.tsx @@ -0,0 +1,35 @@ +import React from 'react'; +import Document, { + Html, + Head, + Main, + NextScript, + DocumentContext, + DocumentInitialProps, +} from 'next/document'; + +class MyDocument extends Document { + static async getInitialProps( + ctx: DocumentContext + ): Promise { + const initialProps = await Document.getInitialProps(ctx); + + return initialProps; + } + + render(): JSX.Element { + return ( + + + + + +
+ + + + ); + } +} + +export default MyDocument; diff --git a/tailwind.config.js b/tailwind.config.js index 4a591b4b0..5439340d5 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,8 +1,14 @@ /* eslint-disable */ +const defaultTheme = require('tailwindcss/defaultTheme'); + module.exports = { purge: ['./pages/**/*.{ts,tsx}', './components/**/*.{ts,tsx}'], theme: { - extend: {}, + extend: { + fontFamily: { + sans: ['Inter var', ...defaultTheme.fontFamily.sans], + }, + }, }, variants: {}, plugins: [