From c86cc3cd714d3a7aca0cbb7d2e5d6c0b1b9bd653 Mon Sep 17 00:00:00 2001 From: sirlilpanda Date: Fri, 27 Mar 2026 22:41:38 +1300 Subject: [PATCH] new style --- src/assets/git.svg | 10 + src/assets/gitea.svg | 11 + src/components/BaseHead.astro | 12 + src/components/Footer.astro | 34 +- src/components/HamburgerIcon.astro | 86 +++ src/components/Header.astro | 600 +++++++++++++++++-- src/components/HeaderLink.astro | 36 +- src/components/Icon.astro | 4 +- src/components/skillCard.astro | 124 ++++ src/env.d.ts | 9 + src/pages/about.astro | 64 -- src/pages/{blog => articles}/[...slug].astro | 1 + src/pages/{blog => articles}/index.astro | 2 +- src/pages/guestBook/index.astro | 99 +++ src/pages/index.astro | 191 ++++-- src/pages/pictures/index.astro | 99 +++ src/styles/global.css | 52 +- 17 files changed, 1192 insertions(+), 242 deletions(-) create mode 100644 src/assets/git.svg create mode 100644 src/assets/gitea.svg create mode 100644 src/components/HamburgerIcon.astro create mode 100644 src/components/skillCard.astro delete mode 100644 src/pages/about.astro rename src/pages/{blog => articles}/[...slug].astro (99%) rename src/pages/{blog => articles}/index.astro (98%) create mode 100644 src/pages/guestBook/index.astro create mode 100644 src/pages/pictures/index.astro diff --git a/src/assets/git.svg b/src/assets/git.svg new file mode 100644 index 0000000..2ca2f56 --- /dev/null +++ b/src/assets/git.svg @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/src/assets/gitea.svg b/src/assets/gitea.svg new file mode 100644 index 0000000..cb5b6ee --- /dev/null +++ b/src/assets/gitea.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/src/components/BaseHead.astro b/src/components/BaseHead.astro index 4a4384c..3ef4679 100644 --- a/src/components/BaseHead.astro +++ b/src/components/BaseHead.astro @@ -15,6 +15,7 @@ interface Props { const canonicalURL = new URL(Astro.url.pathname, Astro.site); const { title, description, image = FallbackImage } = Astro.props; + --- @@ -56,3 +57,14 @@ const { title, description, image = FallbackImage } = Astro.props; + \ No newline at end of file diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 96c2fce..1aee648 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -3,33 +3,10 @@ const today = new Date(); ---