From 7f8dc8cec6cc775d721218f8591f1a1e696f3c23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Pe=CC=81ault?= Date: Mon, 18 Oct 2021 16:16:25 +0200 Subject: [PATCH] Create a tag prop for SiteTitle + make it responsive --- src/components/atoms/SiteTitle.svelte | 8 ++++---- src/components/organisms/Footer.svelte | 2 +- src/style/atoms/_site-title.scss | 21 +++++++++++++++------ 3 files changed, 20 insertions(+), 11 deletions(-) diff --git a/src/components/atoms/SiteTitle.svelte b/src/components/atoms/SiteTitle.svelte index 3da3f30..d967abb 100644 --- a/src/components/atoms/SiteTitle.svelte +++ b/src/components/atoms/SiteTitle.svelte @@ -1,16 +1,16 @@ -{#if type === 'title'} -

+{#if tag === 'title'} +

Houses Of The World

{:else} -
+
Houses Of The World diff --git a/src/components/organisms/Footer.svelte b/src/components/organisms/Footer.svelte index 6acee8b..a0925d5 100644 --- a/src/components/organisms/Footer.svelte +++ b/src/components/organisms/Footer.svelte @@ -10,7 +10,7 @@