From aa36810a3dcd176be061d4e406677ea6ea96d85c Mon Sep 17 00:00:00 2001 From: Shelby Kay Date: Thu, 30 Sep 2021 23:50:02 +0200 Subject: [PATCH] Fix BoxCTA internal layout --- src/components/atoms/BoxCTA.svelte | 15 +++++++------ src/routes/index.svelte | 15 ++++++------- src/style/_variables.scss | 1 + src/style/atoms/_box-cta.scss | 34 +++++++++++++++--------------- static/images/icons/bag.svg | 3 +++ static/images/icons/pin.svg | 8 ++++--- 6 files changed, 41 insertions(+), 35 deletions(-) create mode 100644 static/images/icons/bag.svg diff --git a/src/components/atoms/BoxCTA.svelte b/src/components/atoms/BoxCTA.svelte index 1009b35..72ffb98 100644 --- a/src/components/atoms/BoxCTA.svelte +++ b/src/components/atoms/BoxCTA.svelte @@ -1,14 +1,15 @@ -
-
- -
- {text} +
+ {alt}
+ + {label} +
\ No newline at end of file diff --git a/src/routes/index.svelte b/src/routes/index.svelte index 69e908e..f123e54 100644 --- a/src/routes/index.svelte +++ b/src/routes/index.svelte @@ -3,10 +3,11 @@ // Components import Metas from '$components/Metas.svelte' import Button from '$components/atoms/Button.svelte' - import PhotoCard from '$components/molecules/PhotoCard.svelte' - import Newsletter from '$components/organisms/Newsletter.svelte' - import Shop from '$components/organisms/Shop.svelte' import BoxCTA from '$components/atoms/BoxCTA.svelte' + import PhotoCard from '$components/molecules/PhotoCard.svelte' + import Locations from '$components/organisms/Locations.svelte' + import Shop from '$components/organisms/Shop.svelte' + import Newsletter from '$components/organisms/Newsletter.svelte' export let photos: any @@ -39,13 +40,12 @@

Discover {count.photos} homes
from {count.locations} cities of {count.countries} countries

- - - + + +
- @@ -61,7 +61,6 @@ -