From ee796931f2aeb1c46c9f21938a743ce18f4c551c Mon Sep 17 00:00:00 2001 From: "mr. M" Date: Tue, 15 Oct 2024 13:14:27 +0200 Subject: [PATCH] Refactor heading tags in browser-slider and faq components --- src/components/browser-slider.tsx | 4 ++-- src/components/faq/faq.tsx | 37 +++---------------------------- 2 files changed, 5 insertions(+), 36 deletions(-) diff --git a/src/components/browser-slider.tsx b/src/components/browser-slider.tsx index ab866db..adeb212 100644 --- a/src/components/browser-slider.tsx +++ b/src/components/browser-slider.tsx @@ -9,9 +9,9 @@ export default function BrowserComplexityExample() { const [selectedImage, setSelectedImage] = React.useState([1]); return (
-

+

How much browser do you want? -

+

Zen is designed to be simple and easy to use. We believe that the best software is the one that you don't notice. However, we can assure you diff --git a/src/components/faq/faq.tsx b/src/components/faq/faq.tsx index 61ecfdf..2ec9979 100644 --- a/src/components/faq/faq.tsx +++ b/src/components/faq/faq.tsx @@ -19,15 +19,15 @@ import Link from "next/link"; import { useState } from "react"; export const FAQ = () => { - const [feature, setFeature] = useState(""); + const [feature, setFeature] = useState("item-1"); return (

-

+

Frequently Asked Questions{" "} -

+ {
- {feature === "" && ( -
-
-
- - + - - - -
-
- - + - -
-
- - + - -
-
-
- )} -