From fd6ee1832de1908562f7eeac7788b1c286261a32 Mon Sep 17 00:00:00 2001
From: Julien Oculi
Date: Thu, 15 Feb 2024 10:31:17 +0100
Subject: [PATCH] refactor(css): :recycle: merge `cta` class declarations
---
components/Heros.css | 23 -----------------------
components/Heros.tsx | 2 +-
2 files changed, 1 insertion(+), 24 deletions(-)
diff --git a/components/Heros.css b/components/Heros.css
index 36d2062..372992f 100644
--- a/components/Heros.css
+++ b/components/Heros.css
@@ -22,26 +22,3 @@
max-width: 800px;
margin: 0;
}
-
-.components__heros__cta {
- text-decoration: none;
- background-color: var(--_accent-color);
- color: var(--sand-0);
- width: fit-content;
- height: fit-content;
- padding: 1rem 2rem;
- font-size: 150%;
- font-family: var(--_font-family-accent);
- border: var(--_border-size) solid var(--_accent-color);
- transition: all var(--_transition-delay) ease;
-}
-
-.components__heros__cta:hover {
- background-color: var(--lime-1);
- color: var(--_accent-color);
- box-shadow: 0 0 0 0 var(--_accent-color);
-}
-
-.components__heros__cta:active {
- box-shadow: 0 0 180px 20px var(--_accent-color);
-}
diff --git a/components/Heros.tsx b/components/Heros.tsx
index dc3e4c7..6b7e4f4 100644
--- a/components/Heros.tsx
+++ b/components/Heros.tsx
@@ -9,7 +9,7 @@ export function Heros() {
projet, rencontrer des passionnés apprendre et développer votre savoir
faire, dans l'entraide et le partage.
- Participer
+ Participer
)
}