From 8d7f47a7d5ef2791339f672d3d2c63dbab01c99a Mon Sep 17 00:00:00 2001 From: nora chams Date: Mon, 4 Mar 2024 19:17:36 -0500 Subject: [PATCH] feature/96/faq --- .../{faq-background.png => faqBackground.png} | Bin src/components/index.tsx | 5 ++- .../{FAQsection.tsx => FAQ.section.tsx} | 40 ++++++------------ tailwind.config.mjs | 4 +- 4 files changed, 16 insertions(+), 33 deletions(-) rename src/assets/background/{faq-background.png => faqBackground.png} (100%) rename src/components/sections/{FAQsection.tsx => FAQ.section.tsx} (50%) diff --git a/src/assets/background/faq-background.png b/src/assets/background/faqBackground.png similarity index 100% rename from src/assets/background/faq-background.png rename to src/assets/background/faqBackground.png diff --git a/src/components/index.tsx b/src/components/index.tsx index 59e9a206..f1dae39f 100644 --- a/src/components/index.tsx +++ b/src/components/index.tsx @@ -6,11 +6,12 @@ export { NavItems } from './Navbar/NavItems'; export { Navbar } from './Navbar/Navbar'; export { Menu } from './Navbar/Menu'; -export {FAQSection } from './sections/FAQsection'; + /* * - * @section FooterSection + * @section * */ +export {FAQSection } from './sections/FAQ.section'; export { FooterSection } from './sections/Footer.section'; \ No newline at end of file diff --git a/src/components/sections/FAQsection.tsx b/src/components/sections/FAQ.section.tsx similarity index 50% rename from src/components/sections/FAQsection.tsx rename to src/components/sections/FAQ.section.tsx index b40878b9..b41c143a 100644 --- a/src/components/sections/FAQsection.tsx +++ b/src/components/sections/FAQ.section.tsx @@ -1,4 +1,3 @@ -// components/sections/FAQ.section.tsx import React from 'react'; import Accordion from '../Accordion'; @@ -14,35 +13,20 @@ const FAQSection: React.FC = () => { // Add more FAQ items as needed ]; -/** -return ( -
-
-

- FAQ -

-
- -
-
-
-); -}; -export { FAQSection}; -*/ -return ( -
-
-

- FAQ -

-
- + return ( +
+
+

+ FAQ +

+
+ +
-
-
-); + + ); }; + export { FAQSection}; diff --git a/tailwind.config.mjs b/tailwind.config.mjs index 62773e08..1008e3fe 100644 --- a/tailwind.config.mjs +++ b/tailwind.config.mjs @@ -30,9 +30,7 @@ export default { dimGray: '#4A4F50', }, backgroundImage: { - 'faq-image': "url('/src/assets/background/faq-background.png')", - - + 'faq-image': "url('/src/assets/background/faqBackground.png')", } }, },