mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-02 22:17:11 +01:00
use svg logo
This commit is contained in:
@@ -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
13
components/logo.tsx
Normal file
File diff suppressed because one or more lines are too long
1
public/logo-mini.svg
Normal file
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
1
public/logo.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 27 KiB |
Reference in New Issue
Block a user