1
0

Add components

This commit is contained in:
2022-08-20 23:05:58 +02:00
parent 4834e6a103
commit 49b4f91282
10 changed files with 184 additions and 123 deletions

28
src/components/Header.js Normal file
View File

@@ -0,0 +1,28 @@
import {Image, Spacer, Text} from "@nextui-org/react";
import logo from "../assets/niklas-birk-logo.png";
function Header() {
return (
<>
<Spacer y={3} />
<Image
src={logo}
width={200}
height={200}
alt="Ein Logo von Niklas Birk"
objectFit="fill" />
<Text
h1
color="$draculaCyan"
css={{
textAlign: "center"
}}
weight="bold">
Niklas Birk
</Text>
<Spacer y={2} />
</>
);
}
export default Header;