Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update FAQSection.tsx #1487

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Update FAQSection.tsx #1487

wants to merge 3 commits into from

Conversation

Roshan12here
Copy link

Screenshot (50)
The Design and Layout of the FAQ section was pretty bad. Most of the Modern websites take a different approach in this section So I have made this section dynamic and a user can manually see the answer of the Questions

The Design and Layout of the FAQ section was pretty bad. Most of the Modern websites take a different approach in this section So I have made this section dynamic and a user can manually see the answer of the Questions 

Signed-off-by: Roshan Shamas <[email protected]>
Copy link

vercel bot commented Jun 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
saas-starter-kit ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 28, 2024 3:51pm

@@ -1,10 +1,19 @@
"use client";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not needed

<p>A. {faq.answer}</p>
<Card
key={index}
className="border-none w-4/5 mx-auto hover:bg-[#4f83f1] hover:text-white translate-x-1 duration-300 rounded-xl"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't hardcode the color

Okay So I have removed the 'use client' and I used the Primary color

Signed-off-by: Roshan Shamas <[email protected]>
Copy link
Author

@Roshan12here Roshan12here left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So I have removed the 'use client' and used the Primary color The Primary-Hover color is Blue-600 Which is the same value in color code #2563eb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants