From 0c96e84708be842a09853441b4c968bdfe461f0c Mon Sep 17 00:00:00 2001 From: kogeletey Date: Sun, 8 Dec 2024 12:14:55 +0300 Subject: [PATCH 1/2] Feature: Layouting home page (#4) Complete issue #2 Reviewed-on: https://re128.org/ofs/fensir/pulls/4 Co-authored-by: kogeletey Co-committed-by: kogeletey --- src/components/Footer.astro | 39 ++++++++++++++++ src/components/Search.vue | 73 ++++++++++++++++++++++++++++++ src/icons/CarbonArrowRight.vue | 3 ++ src/icons/CarbonArrowUpRight.vue | 3 ++ src/icons/CarbonRecentlyViewed.vue | 3 ++ src/layouts/Default.astro | 1 - src/pages/index.astro | 12 ++++- src/styles/app.css | 2 +- 8 files changed, 133 insertions(+), 3 deletions(-) create mode 100644 src/components/Footer.astro create mode 100644 src/components/Search.vue create mode 100644 src/icons/CarbonArrowRight.vue create mode 100644 src/icons/CarbonArrowUpRight.vue 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.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.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/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..185c499 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,15 +1,19 @@ --- import Default from "@/layouts/Default.astro" import Button from "@/components/Button.vue" +import Search from "@/components/Search.vue" +import Footer from "@/components/Footer.astro" ---
- 0 / 1000 RQT + 0 / 5000 RQT
+
+