aboutsummaryrefslogtreecommitdiff
path: root/src/pages/_app.tsx
blob: 715179b9830293bf4b5414e85ddbaa09f6908ff7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import '../styles/globals.css';
import type { AppProps } from 'next/app';
import Image from 'next/future/image';
import benzinConfig from '../benzinConfig';

function MyApp({ Component, pageProps }: AppProps) {
  return (
    <>
      <a href="/" style={{ display: 'flex', flexDirection: 'column', alignItems: 'center', textDecoration: 'none', marginBottom: '12px' }}>
        <Image src={benzinConfig.CDN + benzinConfig.logoPath} width={128} height={128} alt="logo" />
        <h1>{benzinConfig.title}</h1>
      </a>
      <Component {...pageProps} />
    </>
  )
}

export default MyApp;