From 3520dd783b15d045e33baef1c3cce6ee2a23b04a Mon Sep 17 00:00:00 2001 From: guitavano Date: Tue, 16 Apr 2024 23:48:43 -0300 Subject: [PATCH] improve faq --- components/ui/CookieConsent.tsx | 8 +--- sections/Content/Faq.tsx | 71 ++++++--------------------------- 2 files changed, 14 insertions(+), 65 deletions(-) diff --git a/components/ui/CookieConsent.tsx b/components/ui/CookieConsent.tsx index 8dea77df..ad72a1a0 100644 --- a/components/ui/CookieConsent.tsx +++ b/components/ui/CookieConsent.tsx @@ -66,12 +66,8 @@ function CookieConsent(props: Props) { id={id} class="transform-gpu translate-y-[200%] transition fixed bottom-0 lg:bottom-2 w-screen z-50 lg:flex lg:justify-center" > -
-
+
+

{title}

{text && (
- {(!layout?.variation || layout?.variation === "Compact") && ( -
-
-
-

- {title} -

-

{description}

-
-
- {questions.map((question) => )} -
-
- - +
+
+
+

+ {title} +

+

{description}

- )} - - {layout?.variation === "Full" && ( -
-
-
-

- {title} -

-

{description}

-
-
- {questions.map((question) => )} -
-
- - +
+ {questions.map((question) => )}
- )} +
- {layout?.variation === "Side to side" && ( -
-
-
-

- {title} -

-

{description}

-
-
-
-
- {questions.map((question) => )} -
-
-
- -
-
- )} - + +
); }