fantus/pages/_app.tsx

44 lines
1.4 KiB
TypeScript
Raw Permalink Normal View History

2020-01-12 18:34:27 +01:00
import React from 'react'
import App from 'next/app'
import Head from 'next/head'
import dynamic from 'next/dynamic'
import 'tachyons/css/tachyons.min.css'
2021-02-25 11:52:09 +01:00
import './_app.css'
2020-01-12 18:34:27 +01:00
import Menu from '../screens/menu'
import Content from '../components/content'
const Background = dynamic(() => import('../components/background'), { ssr: false })
export default class extends App {
2021-01-02 00:21:29 +01:00
render() {
const { Component, pageProps } = this.props
return (
<React.Fragment>
<Head>
<title>fantus</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta charSet="utf-8" />
<meta name="description" content="fantus - producer, dj, engineer" />
<meta name="keywords" content="dj,producer,mastering,service,free,sets,mix,techno,music,set" />
<link href="https://fonts.googleapis.com/css?family=Space+Mono:400,700&display=swap" rel="stylesheet" />
<script
src={'https://www.google.com/recaptcha/api.js?render=' + process.env.NEXT_PUBLIC_RECAPTCHA_CLIENT}
></script>
2021-12-23 18:41:06 +01:00
<script
async
defer
data-website-id="65249a64-7eca-4e98-9eed-0ca2acf7efa2"
src="https://spectare.nicco.io/unicorn.js"
></script>
2021-01-02 00:21:29 +01:00
</Head>
<Menu />
<Background />
<Content>
<Component {...pageProps} />
</Content>
</React.Fragment>
)
}
}