style header

This commit is contained in:
Thomas Ruoff
2020-10-08 23:52:08 +02:00
parent 306a5729fa
commit 5fde863577
4 changed files with 11 additions and 6 deletions

View File

@@ -2,8 +2,9 @@ import React from 'react'
export default function Header() {
return (
<>
<h1 className="text-3xl">Pfadi Bussle Buchungsseite</h1>
</>
<div className="flex flex-row items-center p-3 my-3 text-white bg-gray-600 rounded-sm">
<h1 className="flex-grow text-3xl">Pfadi Bussle</h1>
<img src="/logo.webp" className="w-40 mx-3 object-contain object-top" />
</div>
)
}

View File

@@ -2,5 +2,9 @@ import React from 'react'
import '../styles/index.css'
export default function MyApp({ Component, pageProps }) {
return <Component {...pageProps} />
return (
<div className="wrapper">
<Component {...pageProps} />
</div>
)
}

View File

@@ -6,7 +6,7 @@ import Wizard from '../components/wizard/index'
export default function Home() {
return (
<div className="wrapper">
<>
<Head>
<title>Pfadi Bussle Buchen</title>
<link rel="icon" href="/favicon.ico" />
@@ -17,6 +17,6 @@ export default function Home() {
<Wizard />
</main>
<Footer />
</div>
</>
)
}

BIN
public/logo.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB