From d93ac68c3c12d1305ed2d652807e0af562ea525d Mon Sep 17 00:00:00 2001 From: Nick Moore Date: Fri, 20 Oct 2023 10:26:38 -0400 Subject: [PATCH] Working on code style cleanup --- src/components/Menu.svelte | 4 +- src/components/Navbar.svelte | 6 +- src/components/memberFeed/MemberFeed.svelte | 19 ++-- src/components/ui/CtaLink.svelte | 8 +- src/components/ui/FeedContainer.svelte | 16 +-- src/components/ui/Hero.svelte | 108 ++++++++++---------- src/routes/+layout.svelte | 8 +- src/routes/+page.svelte | 66 ++++++------ 8 files changed, 118 insertions(+), 117 deletions(-) diff --git a/src/components/Menu.svelte b/src/components/Menu.svelte index 9138ada..ddd5194 100644 --- a/src/components/Menu.svelte +++ b/src/components/Menu.svelte @@ -45,7 +45,7 @@ flex-wrap: nowrap; justify-content: center; align-items: center; - top: var(--nav-height); + top: var(--nav-height); width: 100%; height: auto; font-size: 1.5em; @@ -61,7 +61,7 @@ cursor: pointer; width: max-content; margin: 1rem auto; - text-decoration: none; + text-decoration: none; color: var(--primary-text-color); } diff --git a/src/components/Navbar.svelte b/src/components/Navbar.svelte index 21bff57..8df6000 100644 --- a/src/components/Navbar.svelte +++ b/src/components/Navbar.svelte @@ -41,13 +41,13 @@ transition: ease-in-out .3s; } @media only screen and (max-width: 1366px) { - .nav { - padding-inline: 4rem; + .nav { + padding-inline: 4rem; } } @media only screen and (max-width: 430px) { - .nav { + .nav { padding-inline: 1.5rem; } } diff --git a/src/components/memberFeed/MemberFeed.svelte b/src/components/memberFeed/MemberFeed.svelte index 60a736a..d90ae68 100644 --- a/src/components/memberFeed/MemberFeed.svelte +++ b/src/components/memberFeed/MemberFeed.svelte @@ -39,16 +39,17 @@ diff --git a/src/components/ui/FeedContainer.svelte b/src/components/ui/FeedContainer.svelte index 32b9cf3..6fd46d0 100644 --- a/src/components/ui/FeedContainer.svelte +++ b/src/components/ui/FeedContainer.svelte @@ -29,14 +29,14 @@ } .feed-container::after { - content: ""; - position: absolute; + content: ""; + position: absolute; right: -40px; top: -40px; - width: 70px; - height: 70px; - transform: rotate(45deg); - background-color: var(--primary-bg-color); + width: 70px; + height: 70px; + transform: rotate(45deg); + background-color: var(--primary-bg-color); border: 4px solid var(--primary-bg-color); } @@ -61,13 +61,13 @@ .feed-content { width: 100%; - } +} @media only screen and (max-width: 430px) { .feed-header { border-radius: 0; } .feed-container::after { - display: none; + display: none; } } diff --git a/src/components/ui/Hero.svelte b/src/components/ui/Hero.svelte index fe889b8..d55e81f 100644 --- a/src/components/ui/Hero.svelte +++ b/src/components/ui/Hero.svelte @@ -52,84 +52,84 @@ diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index c3088e8..98a7996 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -29,48 +29,48 @@