-
Notifications
You must be signed in to change notification settings - Fork 826
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
base: main
Are you sure you want to change the base?
Update FAQSection.tsx #1487
Conversation
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]>
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -1,10 +1,19 @@ | |||
"use client"; |
There was a problem hiding this comment.
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" |
There was a problem hiding this comment.
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]>
There was a problem hiding this 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
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