summaryrefslogtreecommitdiff
path: root/src/components/sections/Hero.astro
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/sections/Hero.astro')
-rw-r--r--src/components/sections/Hero.astro18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/components/sections/Hero.astro b/src/components/sections/Hero.astro
new file mode 100644
index 0000000..76f8011
--- /dev/null
+++ b/src/components/sections/Hero.astro
@@ -0,0 +1,18 @@
+---
+import pfp from "../../../public/leo.png";
+import { Image } from "astro:assets";
+---
+
+<div class="flex flex-col sm:flex-row items-center mt-2 gap-5">
+ <Image
+ src={pfp}
+ alt="leos profilbild (ein pixel charakter)"
+ }
+ class="rounded-full"
+ loading="eager"
+ />
+ <div class="text-center sm:text-start">
+ <h1 class="text-2xl">Leo Götz</h1>
+ <p>Webentwickler</p>
+ </div>
+</div>