From 8420434edb79d23105925d483b51a9b316724846 Mon Sep 17 00:00:00 2001 From: kogeletey Date: Sun, 8 Dec 2024 12:37:20 +0300 Subject: [PATCH] Layout card items (#5) Reviewed-on: https://re128.org/ofs/fensir/pulls/5 Co-authored-by: kogeletey Co-committed-by: kogeletey --- src/components/Button.vue | 2 +- src/components/Card.vue | 16 +++++++ src/components/Search.vue | 13 ++++-- src/icons/CarbonAddLarge.vue | 3 ++ src/icons/CarbonSearch.vue | 3 ++ src/layouts/Default.astro | 56 +++++++++++++++++++++- src/pages/cards.astro | 90 ++++++++++++++++++++++++++++++++++++ src/pages/index.astro | 35 ++------------ 8 files changed, 179 insertions(+), 39 deletions(-) create mode 100644 src/components/Card.vue create mode 100644 src/icons/CarbonAddLarge.vue create mode 100644 src/icons/CarbonSearch.vue create mode 100644 src/pages/cards.astro diff --git a/src/components/Button.vue b/src/components/Button.vue index 3bb80f8..fd7cae9 100644 --- a/src/components/Button.vue +++ b/src/components/Button.vue @@ -11,7 +11,7 @@ button.primary { display: grid; color: var(--primary); - padding: 3px 15px; + padding: 0.45rem 15px; font-size: 16px; border: 1px solid var(--accent); background: var(--darken); diff --git a/src/components/Card.vue b/src/components/Card.vue new file mode 100644 index 0000000..f07db8f --- /dev/null +++ b/src/components/Card.vue @@ -0,0 +1,16 @@ + + + diff --git a/src/components/Search.vue b/src/components/Search.vue index 5437e3e..44f7913 100644 --- a/src/components/Search.vue +++ b/src/components/Search.vue @@ -19,10 +19,13 @@ diff --git a/src/pages/cards.astro b/src/pages/cards.astro new file mode 100644 index 0000000..cf89335 --- /dev/null +++ b/src/pages/cards.astro @@ -0,0 +1,90 @@ +--- +import Default from "@/layouts/Default.astro" +import Card from "@/components/Card.vue" +import CarbonAddLarge from "@/icons/CarbonAddLarge.vue" +import CarbonSearch from "@/icons/CarbonSearch.vue" +--- + + + +
+

Coins

+
+ + 10K +
+
+

+ Search coins of evm networks +

+ Free +
+ + + + +
+ + diff --git a/src/pages/index.astro b/src/pages/index.astro index 185c499..08e1017 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,43 +1,14 @@ --- 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 / 5000 RQT -
-
- -
-