From d4f98e2d1f85fbdffa2470071e22bba2dacc00c0 Mon Sep 17 00:00:00 2001 From: Leo Goetz Date: Fri, 8 May 2026 15:37:39 +0200 Subject: inital commit --- src/components/BlogPost.astro | 14 ++ src/components/Footer.astro | 4 + src/components/Navbar.astro | 20 ++ src/components/ProjectCard.astro | 14 ++ src/components/sections/AboutMe.astro | 11 + src/components/sections/Additional.astro | 20 ++ src/components/sections/Hero.astro | 18 ++ src/components/sections/TechStack.astro | 19 ++ src/layouts/Layout.astro | 31 +++ src/pages/blog.astro | 14 ++ src/pages/datenschutz.astro | 398 +++++++++++++++++++++++++++++++ src/pages/impressum.astro | 25 ++ src/pages/index.astro | 14 ++ src/pages/projects.astro | 51 ++++ src/styles/global.css | 38 +++ src/types.ts | 14 ++ 16 files changed, 705 insertions(+) create mode 100644 src/components/BlogPost.astro create mode 100644 src/components/Footer.astro create mode 100644 src/components/Navbar.astro create mode 100644 src/components/ProjectCard.astro create mode 100644 src/components/sections/AboutMe.astro create mode 100644 src/components/sections/Additional.astro create mode 100644 src/components/sections/Hero.astro create mode 100644 src/components/sections/TechStack.astro create mode 100644 src/layouts/Layout.astro create mode 100644 src/pages/blog.astro create mode 100644 src/pages/datenschutz.astro create mode 100644 src/pages/impressum.astro create mode 100644 src/pages/index.astro create mode 100644 src/pages/projects.astro create mode 100644 src/styles/global.css create mode 100644 src/types.ts (limited to 'src') diff --git a/src/components/BlogPost.astro b/src/components/BlogPost.astro new file mode 100644 index 0000000..0070f2b --- /dev/null +++ b/src/components/BlogPost.astro @@ -0,0 +1,14 @@ +--- +const { post } = Astro.props; +const date: Date = new Date(post.frontmatter.date); +--- + + +

+ {post.frontmatter.title} + {date.toLocaleDateString("de-DE")} +

+

{post.frontmatter.description}

+

Tags: {post.frontmatter.tags.join(", ")}

+
diff --git a/src/components/Footer.astro b/src/components/Footer.astro new file mode 100644 index 0000000..f2f265f --- /dev/null +++ b/src/components/Footer.astro @@ -0,0 +1,4 @@ + diff --git a/src/components/Navbar.astro b/src/components/Navbar.astro new file mode 100644 index 0000000..ec561bb --- /dev/null +++ b/src/components/Navbar.astro @@ -0,0 +1,20 @@ +--- +import { Image } from "astro:assets"; +import logo from "../../public/logo.png"; +--- + +
+ GTZ Logo + +
diff --git a/src/components/ProjectCard.astro b/src/components/ProjectCard.astro new file mode 100644 index 0000000..a4fa4f7 --- /dev/null +++ b/src/components/ProjectCard.astro @@ -0,0 +1,14 @@ +--- +const { projects } = Astro.props; +--- + +{ + projects.map((project: Project) => ( +
+ +

{project.name}

+
+

{project.description}

+
+ )) +} diff --git a/src/components/sections/AboutMe.astro b/src/components/sections/AboutMe.astro new file mode 100644 index 0000000..234bee2 --- /dev/null +++ b/src/components/sections/AboutMe.astro @@ -0,0 +1,11 @@ +--- + +--- + +
+

Über mich

+

+ Ich bin Leo, 18 Jahre alt und programmiere gerne in Javascript/Typescript. + Meine Hobbys sind Schach spielen, Lesen und Chalistenics +

+
diff --git a/src/components/sections/Additional.astro b/src/components/sections/Additional.astro new file mode 100644 index 0000000..6fa8b4a --- /dev/null +++ b/src/components/sections/Additional.astro @@ -0,0 +1,20 @@ +--- + +--- + +
+

+ -> Meine Projekte +

+

+ -> Mein Blog +

+

+ -> Git: git.leogtz.de +

+

+ -> Email: me [at] leogtz.de +

+
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"; +--- + +
+ leos profilbild (ein pixel charakter) +
+

Leo Götz

+

Webentwickler

+
+
diff --git a/src/components/sections/TechStack.astro b/src/components/sections/TechStack.astro new file mode 100644 index 0000000..0b536e1 --- /dev/null +++ b/src/components/sections/TechStack.astro @@ -0,0 +1,19 @@ +--- + +--- + +
+

Technologien

+

+ HTML | CSS | JS / TS | Nodejs | + React | Astro | Tailwind | Nix/NixOS +

+
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro new file mode 100644 index 0000000..0e795dd --- /dev/null +++ b/src/layouts/Layout.astro @@ -0,0 +1,31 @@ +--- +import "../styles/global.css"; +import Navbar from "../components/Navbar.astro"; +import Footer from "../components/Footer.astro"; + +import "@fontsource/maple-mono/100.css"; +import "@fontsource/maple-mono/200.css"; +import "@fontsource/maple-mono/300.css"; +import "@fontsource/maple-mono/400.css"; +import "@fontsource/maple-mono/500.css"; +import "@fontsource/maple-mono/600.css"; +import "@fontsource/maple-mono/700.css"; +import "@fontsource/maple-mono/800.css"; +--- + + + + + + + + Leo Götz + + + +
+ +
+