2022-12-21 13:56:42 +01:00
|
|
|
/* @refresh reload */
|
|
|
|
|
2022-12-21 15:47:08 +01:00
|
|
|
import { type Component } from "solid-js";
|
|
|
|
import type { TitleProps } from "../types/interfaces";
|
2022-12-21 13:56:42 +01:00
|
|
|
|
|
|
|
const Header: Component<TitleProps> = ({ className, title }) => {
|
|
|
|
return (
|
|
|
|
<header class={ className }>
|
2022-12-22 13:09:40 +01:00
|
|
|
<h1 class={ "text-center text-cyan-500" }>{ title }</h1>
|
2022-12-21 13:56:42 +01:00
|
|
|
<div class={"mx-auto w-fit"}>
|
|
|
|
<p>Av Martin Berg Alstad</p>
|
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default Header;
|