Skip to content

Commit

Permalink
Changes regarding styling of FAQ section.
Browse files Browse the repository at this point in the history
  • Loading branch information
namansinghrana committed Nov 3, 2024
1 parent 12fa52d commit a3c1335
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/faq/FAQ.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.faq-container {
width: 80%;
margin: 2rem auto;
padding: 2rem;
}

4 changes: 4 additions & 0 deletions src/components/faq/FAQ.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ const faqData = [
// Functional component for displaying the FAQ section.
export default function FAQ() {
return (
<>
<div className="faq-container" id="FAQ">
<section className="w-full py-12 md:py-24 lg:py-32">
{/* Container for the FAQ content */}
<div className="container px-4 md:px-6">
Expand All @@ -78,5 +80,7 @@ export default function FAQ() {
</div>
</div>
</section>
</div>
</>
)
}

0 comments on commit a3c1335

Please sign in to comment.