Center FAQ header and allow multiple accordion items to expand #2697
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Centered the "Frequently Asked Questions" header on one line and removed the line break for better UI presentation. Modified the accordion functionality to allow multiple items to be expanded simultaneously, enriching the user experience. The changes were made in the
bifrost/components/templates/landing/faqs.tsx
file, adjusting the header styling and updating state management logic.Browser testing result ✅
Success images
Step: [Verify] The 'Frequently Asked Questions' header is centered on one line.
The 'Frequently Asked Questions' header is centered on one line. This is confirmed by the screenshot, where the header is clearly visible in the center of the page and spans only one line.
Step: [Verify] Both FAQ answers remain expanded after clicking the second question.
The assertion is that both FAQ answers remain expanded after clicking the second question. The screenshot shows that the answers to both questions are visible, indicating that they are expanded. Therefore, the assertion is true.
Tips: