From 3e7c1d7ad3f9bb48472bff871afb548a880884ac Mon Sep 17 00:00:00 2001 From: Kai Moschcau Date: Thu, 26 Mar 2026 19:48:16 +0100 Subject: [PATCH] feat: add a base layout for base HTML --- src/layouts/BaseLayout.astro | 21 +++++ src/pages/index.astro | 159 ++++++++++++++++------------------- src/pages/skills.astro | 7 ++ 3 files changed, 101 insertions(+), 86 deletions(-) create mode 100644 src/layouts/BaseLayout.astro create mode 100644 src/pages/skills.astro diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro new file mode 100644 index 0000000..a5bcde4 --- /dev/null +++ b/src/layouts/BaseLayout.astro @@ -0,0 +1,21 @@ +--- +import "../styles/global.css"; +const { title } = Astro.props; +--- + + + + + + + + + + {title} + + + + + diff --git a/src/pages/index.astro b/src/pages/index.astro index 7dfda64..6300848 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -8,91 +8,78 @@ import KeyoxideLogo from "../images/Keyoxide.svg"; import LinkedInLogo from "../images/LinkedIn.svg"; import MatrixLogo from "../images/Matrix-logo.svg"; import portrait from "../images/portrait.jpg"; -import "../styles/global.css"; +import BaseLayout from "../layouts/BaseLayout.astro"; --- - - - - - - - - - kmoschcau.de - - -
-
- Portrait von Kai Moschcau -

Kai Moschcau

-
-

Fachinformatiker für Anwendungsentwicklung

-
- -
-
- - + +
+
+ Portrait von Kai Moschcau +

Kai Moschcau

+
+

Fachinformatiker für Anwendungsentwicklung

+
+ +
+
+
diff --git a/src/pages/skills.astro b/src/pages/skills.astro new file mode 100644 index 0000000..7b7322b --- /dev/null +++ b/src/pages/skills.astro @@ -0,0 +1,7 @@ +--- +import BaseLayout from "../layouts/BaseLayout.astro"; +--- + + +

Skills

+