From 81f705158170e7bafcdd908ca1809872558714c9 Mon Sep 17 00:00:00 2001 From: kogeletey Date: Sat, 23 Nov 2024 22:41:16 +0300 Subject: [PATCH] feat: wrote search component --- src/components/Search.vue | 51 ++++++++++++++++++++++++++++++ src/icons/CarbonArrowRight.svg | 1 + src/icons/CarbonRecentlyViewed.svg | 1 + src/layouts/Default.astro | 1 - src/pages/index.astro | 10 ++++++ src/styles/app.css | 1 + 6 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 src/components/Search.vue create mode 100644 src/icons/CarbonArrowRight.svg create mode 100644 src/icons/CarbonRecentlyViewed.svg diff --git a/src/components/Search.vue b/src/components/Search.vue new file mode 100644 index 0000000..5b54bb6 --- /dev/null +++ b/src/components/Search.vue @@ -0,0 +1,51 @@ + + + + + diff --git a/src/icons/CarbonArrowRight.svg b/src/icons/CarbonArrowRight.svg new file mode 100644 index 0000000..3470d13 --- /dev/null +++ b/src/icons/CarbonArrowRight.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/CarbonRecentlyViewed.svg b/src/icons/CarbonRecentlyViewed.svg new file mode 100644 index 0000000..857310b --- /dev/null +++ b/src/icons/CarbonRecentlyViewed.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/layouts/Default.astro b/src/layouts/Default.astro index 5e2eb2c..90a8151 100644 --- a/src/layouts/Default.astro +++ b/src/layouts/Default.astro @@ -2,7 +2,6 @@ import Base from "@/layouts/Base.astro" --- - diff --git a/src/pages/index.astro b/src/pages/index.astro index 6d3d029..3e9e7b1 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,6 +1,7 @@ --- import Default from "@/layouts/Default.astro" import Button from "@/components/Button.vue" +import Input from "@/components/Input.vue" --- @@ -9,6 +10,7 @@ import Button from "@/components/Button.vue"