Tranga-Website/Website/modules/Header.tsx

15 lines
593 B
TypeScript
Raw Normal View History

2024-10-18 02:10:58 +02:00
import React from 'react';
import '../styles/header.css'
import Settings from "./Settings";
import IFrontendSettings from "./interfaces/IFrontendSettings";
2024-10-18 02:10:58 +02:00
export default function Header({settings, changeSettings} : {settings: IFrontendSettings, changeSettings(settings: IFrontendSettings): void}){
2024-10-18 02:10:58 +02:00
return (
<header>
<div id="titlebox">
<img alt="website image is Blahaj" src="../media/blahaj.png"/>
2024-10-18 02:10:58 +02:00
<span>Tranga</span>
</div>
<Settings settings={settings} changeSettings={changeSettings} />
2024-10-18 02:10:58 +02:00
</header>)
}