From 644deda332938b379cbdf9edae755cbb42c9081e Mon Sep 17 00:00:00 2001 From: Mathias Oterhals Myklebust <24361490+mathiazom@users.noreply.github.com> Date: Wed, 18 Sep 2024 13:41:23 +0000 Subject: [PATCH] feat(hero): replace laggy svg with solid color (#671) --- public/headerAnimation.svg | 112 ------------------- src/components/sections/hero/hero.module.css | 3 +- 2 files changed, 1 insertion(+), 114 deletions(-) delete mode 100644 public/headerAnimation.svg diff --git a/public/headerAnimation.svg b/public/headerAnimation.svg deleted file mode 100644 index 0e93938c8..000000000 --- a/public/headerAnimation.svg +++ /dev/null @@ -1,112 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/components/sections/hero/hero.module.css b/src/components/sections/hero/hero.module.css index 8c7a3df13..fc667ad7b 100644 --- a/src/components/sections/hero/hero.module.css +++ b/src/components/sections/hero/hero.module.css @@ -6,8 +6,7 @@ } .secondaryColor { - background-image: url("/headerAnimation.svg"); - background-size: cover; + background-color: var(--secondary-green3); padding: 7.5rem 2rem; @media (min-width: 640px) {