From d34c0add250de35cbc4be7e5f79c38188e217711 Mon Sep 17 00:00:00 2001 From: Christoph von Gellhorn Date: Mon, 2 Sep 2024 17:33:37 +1000 Subject: [PATCH] chore: update rocket icon --- public/favicon.svg | 1 + src/components/Head.astro | 6 +----- src/components/Header.astro | 13 +++---------- src/icons/rocket-launch.svg | 1 + 4 files changed, 6 insertions(+), 15 deletions(-) create mode 100644 public/favicon.svg create mode 100644 src/icons/rocket-launch.svg diff --git a/public/favicon.svg b/public/favicon.svg new file mode 100644 index 0000000..cd1e3a9 --- /dev/null +++ b/public/favicon.svg @@ -0,0 +1 @@ + diff --git a/src/components/Head.astro b/src/components/Head.astro index 3eeb8bb..ca4bf8d 100644 --- a/src/components/Head.astro +++ b/src/components/Head.astro @@ -19,12 +19,8 @@ const { title, description, image = "/blog-placeholder-1.jpg" } = Astro.props; - - + diff --git a/src/components/Header.astro b/src/components/Header.astro index 678bd31..cada6a4 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -1,4 +1,6 @@ --- +import { Icon } from "astro-icon/components"; + import { SITE } from "../consts"; import Container from "./Container.astro"; import Link from "./Link.astro"; @@ -11,16 +13,7 @@ import ToggleTheme from "./ToggleTheme.astro";
- + {SITE.TITLE}
diff --git a/src/icons/rocket-launch.svg b/src/icons/rocket-launch.svg new file mode 100644 index 0000000..3c788f0 --- /dev/null +++ b/src/icons/rocket-launch.svg @@ -0,0 +1 @@ + \ No newline at end of file