diff options
author | eug-vs <eugene@eug-vs.xyz> | 2022-10-22 23:56:21 +0300 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2022-10-22 23:56:21 +0300 |
commit | a32257569190727e12c7e433b82e0a6da0fdc2f4 (patch) | |
tree | 7422d0b7e5625e8c32cb65ac74363277cb17009c /src/pages | |
parent | 97b05f5579e863e3b6a03d3113236f64fe489583 (diff) | |
download | benzin-next-a32257569190727e12c7e433b82e0a6da0fdc2f4.tar.gz |
feat: use remote logo
Diffstat (limited to 'src/pages')
-rw-r--r-- | src/pages/_app.tsx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx index 3dd15a2..715179b 100644 --- a/src/pages/_app.tsx +++ b/src/pages/_app.tsx @@ -1,13 +1,14 @@ -import logo from '../../public/eug-vs.png'; +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={logo} width={128} height={128} alt="logo" /> - <h1>{"Eugene's Space"}</h1> + <Image src={benzinConfig.CDN + benzinConfig.logoPath} width={128} height={128} alt="logo" /> + <h1>{benzinConfig.title}</h1> </a> <Component {...pageProps} /> </> |