use svg logo

This commit is contained in:
Thomas Ruoff
2020-11-17 00:50:22 +01:00
parent fad079b0e1
commit 8c99f75a9a
4 changed files with 17 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
import React, { useContext } from 'react'
import Link from 'next/link'
import Image from 'next/image'
import UserContext from './user/context'
import Logo from './logo'
export default function Header({ label = 'Pfadi Bussle' }: { label?: string }) {
const { username, role } = useContext(UserContext)
@@ -11,12 +11,7 @@ export default function Header({ label = 'Pfadi Bussle' }: { label?: string }) {
<h1 className="mr-3 flex-grow text-3xl">
<Link href="/">{label}</Link>
</h1>
<Image
src="/logo.webp"
alt="Logo Freundeskreis VCP Rosenfeld"
width="160"
height="44"
/>
<Logo />
</div>
{username && (
<div className="info-message">

13
components/logo.tsx Normal file

File diff suppressed because one or more lines are too long

1
public/logo-mini.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 14 KiB

1
public/logo.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 27 KiB