-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path_app.tsx
32 lines (27 loc) · 969 Bytes
/
_app.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import React from 'react'
import Head from 'next/head'
import { AppProps } from 'next/app'
import { StyledThemeProvider } from '@definitions/styled-components'
import GlobalStyle from '@styles/globalStyles'
// Bootstrap
import 'bootstrap/dist/css/bootstrap.min.css'
// FontAwesome
import { library } from '@fortawesome/fontawesome-svg-core'
import { fab } from '@fortawesome/free-brands-svg-icons'
import { fas } from '@fortawesome/free-solid-svg-icons'
library.add(fas, fab)
function NextApp({ Component, pageProps }: AppProps): JSX.Element {
return (
<StyledThemeProvider>
<Head>
<link href='https://fonts.googleapis.com/css?family=Roboto Mono' rel='stylesheet' />
<link href='https://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' />
<link rel='shortcut icon' href='/huff_dark.png' />
<title>Huff Language</title>
</Head>
<GlobalStyle />
<Component {...pageProps} />
</StyledThemeProvider>
)
}
export default NextApp