From 0d027446a2e90fe1ffce6f72b1e3493b22527559 Mon Sep 17 00:00:00 2001 From: kogeletey Date: Sat, 30 Nov 2024 21:08:20 +0300 Subject: [PATCH] feat: layout main page --- src/components/Footer.astro | 39 ++++++++++++++++++++++++++++++ src/components/Search.vue | 26 ++++++++++++++++++-- src/icons/CarbonArrowRight.svg | 1 - src/icons/CarbonArrowRight.vue | 3 +++ src/icons/CarbonArrowUpRight.vue | 3 +++ src/icons/CarbonRecentlyViewed.svg | 1 - src/icons/CarbonRecentlyViewed.vue | 3 +++ src/pages/index.astro | 14 +++++------ src/styles/app.css | 1 - 9 files changed, 79 insertions(+), 12 deletions(-) create mode 100644 src/components/Footer.astro delete mode 100644 src/icons/CarbonArrowRight.svg create mode 100644 src/icons/CarbonArrowRight.vue create mode 100644 src/icons/CarbonArrowUpRight.vue delete mode 100644 src/icons/CarbonRecentlyViewed.svg create mode 100644 src/icons/CarbonRecentlyViewed.vue diff --git a/src/components/Footer.astro b/src/components/Footer.astro new file mode 100644 index 0000000..f464248 --- /dev/null +++ b/src/components/Footer.astro @@ -0,0 +1,39 @@ +--- +import CarbonArrowRight from "@/icons/CarbonArrowUpRight.vue" +const commit = "d9ea5cf7d6" +--- + + + + diff --git a/src/icons/CarbonArrowRight.svg b/src/icons/CarbonArrowRight.svg deleted file mode 100644 index 3470d13..0000000 --- a/src/icons/CarbonArrowRight.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/CarbonArrowRight.vue b/src/icons/CarbonArrowRight.vue new file mode 100644 index 0000000..0cdf4a1 --- /dev/null +++ b/src/icons/CarbonArrowRight.vue @@ -0,0 +1,3 @@ + diff --git a/src/icons/CarbonArrowUpRight.vue b/src/icons/CarbonArrowUpRight.vue new file mode 100644 index 0000000..b1735db --- /dev/null +++ b/src/icons/CarbonArrowUpRight.vue @@ -0,0 +1,3 @@ + diff --git a/src/icons/CarbonRecentlyViewed.svg b/src/icons/CarbonRecentlyViewed.svg deleted file mode 100644 index 857310b..0000000 --- a/src/icons/CarbonRecentlyViewed.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/CarbonRecentlyViewed.vue b/src/icons/CarbonRecentlyViewed.vue new file mode 100644 index 0000000..85066aa --- /dev/null +++ b/src/icons/CarbonRecentlyViewed.vue @@ -0,0 +1,3 @@ + diff --git a/src/pages/index.astro b/src/pages/index.astro index 3e9e7b1..185c499 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,17 +1,19 @@ --- import Default from "@/layouts/Default.astro" import Button from "@/components/Button.vue" -import Input from "@/components/Input.vue" +import Search from "@/components/Search.vue" +import Footer from "@/components/Footer.astro" ---
- 0 / 1000 RQT + 0 / 5000 RQT
- +
+