Skip to content

Commit

Permalink
feature/96/faq
Browse files Browse the repository at this point in the history
  • Loading branch information
norachams committed Mar 5, 2024
1 parent e0263fb commit 8d7f47a
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 33 deletions.
File renamed without changes
5 changes: 3 additions & 2 deletions src/components/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// components/sections/FAQ.section.tsx
import React from 'react';
import Accordion from '../Accordion';

Expand All @@ -14,35 +13,20 @@ const FAQSection: React.FC = () => {
// Add more FAQ items as needed
];

/**
return (
<section className="bg-faq-image ">
<div className="h-full flex flex-col justify-center items-center">
<h2 className="mt-60 text-center text-black font-bold">
FAQ
</h2>
<div className="mx-auto max-w-[66.5rem] mb-80">
<Accordion items={faqData} />
</div>
</div>
</section>
);
};

export { FAQSection};
*/
return (
<section className="bg-faq-image bg-brightUbe bg-cover">
<div className="h-full flex flex-col justify-center items-center">
<h2 className="mt-60 text-center text-white font-bold drop-shadow-md">
FAQ
</h2>
<div className="mx-auto max-w-[66.5rem] mb-96">
<Accordion items={faqData} />
return (
<section className="bg-faq-image bg-brightUbe bg-cover">
<div className="h-full flex flex-col justify-center items-center">
<h2 className="mt-60 text-center text-white font-bold drop-shadow-md">
FAQ
</h2>
<div className="mx-auto max-w-[66.5rem] mb-96">
<Accordion items={faqData} />
</div>
</div>
</div>
</section>
);
</section>
);
};


export { FAQSection};
4 changes: 1 addition & 3 deletions tailwind.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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')",
}
},
},
Expand Down

0 comments on commit 8d7f47a

Please sign in to comment.