added own header

This commit is contained in:
nin0 2024-07-29 13:42:01 -04:00
parent f9b8428d2b
commit 6f6c9f229f
4 changed files with 27 additions and 10 deletions

25
src/components/Me.astro Normal file
View file

@ -0,0 +1,25 @@
<style>
div {
display: flex;
}
h3 {
font-weight: 400;
margin-left: 20px;
margin-top: auto;
margin-bottom: auto;
}
img {
width: 90px;
height: 90px;
border-radius: 6px;
box-shadow: 10px black;
border-color: var(--offline-color);
border-style: solid;
border-width: 2px;
}
</style>
<div>
<img src="logo.png" alt="the nin0dev logo">
<h3>nin0dev <span style="font-size: 0.4em;">(he/him)</span></h3>
</div>

View file

@ -1,10 +1,11 @@
---
import Me from "../components/Me.astro";
import Window from "../components/Window.astro";
import BaseLayout from "../layouts/BaseLayout.astro";
---
<BaseLayout tabTitle="Home - nin0dev">
<Window title="Home" maxWidth="600px">
<p>I love astro</p>
<Me />
</Window>
</BaseLayout>