From e4035a3089dd0dd44e0d456d0c9ab367b722f969 Mon Sep 17 00:00:00 2001 From: Korbs Date: Fri, 25 Oct 2024 14:50:58 -0400 Subject: [PATCH] Make search box it's own componet, update scripts --- source/src/components/global/Header.astro | 69 ++++++++++---------- source/src/components/global/SearchBox.astro | 39 +++++++++++ 2 files changed, 73 insertions(+), 35 deletions(-) create mode 100644 source/src/components/global/SearchBox.astro diff --git a/source/src/components/global/Header.astro b/source/src/components/global/Header.astro index 8848cdf..0e68924 100644 --- a/source/src/components/global/Header.astro +++ b/source/src/components/global/Header.astro @@ -2,24 +2,41 @@ // Properties const {Query, QueryText} = Astro.props +// Components +import SearchBox from "./SearchBox.astro"; + // Icons -import { HalfMoon, Menu } from "@iconoir/vue"; +import { HalfMoon, Menu, SunLight } from "@iconoir/vue"; ---
- +
- +
+ + + - \ No newline at end of file diff --git a/source/src/components/global/SearchBox.astro b/source/src/components/global/SearchBox.astro new file mode 100644 index 0000000..114d14d --- /dev/null +++ b/source/src/components/global/SearchBox.astro @@ -0,0 +1,39 @@ +--- +// Properties +const {Query, QueryText} = Astro.props +--- + + + + \ No newline at end of file