From 8c14799f5a0136cffffd05d90e83a81f53954b81 Mon Sep 17 00:00:00 2001 From: Juan Di Toro Date: Sun, 13 Aug 2023 11:08:23 +0200 Subject: [PATCH] feat: refactor message component and footer --- src/components/Home/Meme/Meme.astro | 2 +- src/components/Home/Message/Message.astro | 3 +- src/components/Home/Message/Message.scss | 27 ----- src/components/Layout/Footer/Footer.astro | 102 ++++++++++------- src/components/Layout/Footer/Footer.scss | 132 ---------------------- 5 files changed, 61 insertions(+), 205 deletions(-) delete mode 100644 src/components/Home/Message/Message.scss delete mode 100644 src/components/Layout/Footer/Footer.scss diff --git a/src/components/Home/Meme/Meme.astro b/src/components/Home/Meme/Meme.astro index e7f0928..f111a2b 100644 --- a/src/components/Home/Meme/Meme.astro +++ b/src/components/Home/Meme/Meme.astro @@ -1,5 +1,5 @@ --- -import mulletMeme from "/src/assets/mullet-meme.jpg"; +import mulletMeme from "/src/assets/centralized-mullet-meme.png"; ---
diff --git a/src/components/Home/Message/Message.astro b/src/components/Home/Message/Message.astro index 595b993..fda4177 100644 --- a/src/components/Home/Message/Message.astro +++ b/src/components/Home/Message/Message.astro @@ -1,8 +1,7 @@ --- -// import './Message.scss'; --- -
+

A message from Derrick

diff --git a/src/components/Home/Message/Message.scss b/src/components/Home/Message/Message.scss deleted file mode 100644 index 8a5b60f..0000000 --- a/src/components/Home/Message/Message.scss +++ /dev/null @@ -1,27 +0,0 @@ -@import "/src/styles/mixins.scss"; -@import "/src/styles/vars.scss"; - -#message { - padding: 5em 7.5%; - background: $color-aquamarine; - color: $color-blue-charcoal-2; - - @media screen and (max-width: 47.99999rem) { - text-align: center; - } - - h2 { - margin-bottom: 0.25em; - @include fluid-font-size(2rem); - font-weight: 700; - line-height: 153%; - text-transform: none; - color: inherit; - } - - p { - font-family: $font-family-jaldi; - @include fluid-font-size(1.5rem); - line-height: 137%; - } -} diff --git a/src/components/Layout/Footer/Footer.astro b/src/components/Layout/Footer/Footer.astro index f0d38aa..573c763 100644 --- a/src/components/Layout/Footer/Footer.astro +++ b/src/components/Layout/Footer/Footer.astro @@ -1,63 +1,79 @@ --- -import "./Footer.scss"; import logo from "/src/assets/lume-logo.png"; --- -