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

Improving UI fot the FAQ page #1850

Merged
merged 3 commits into from Feb 24, 2023
Merged

Improving UI fot the FAQ page #1850

merged 3 commits into from Feb 24, 2023

Conversation

cuevaio
Copy link
Contributor

@cuevaio cuevaio commented Feb 24, 2023

1. Changed the markup of the faq's

This way the faq's are collapsible.
This is native Markdown. No libreries used.

Input:

<details>
    <summary>
        Question
    </summary>
        Answer
</details>

Output:

Question

Answer

2. Changed the sidebar item for FAQ

3. Changed styles to match the color palette

Default pallete for collapsible items on docusaurus don't match ours.

Results

preview-0

preview-1

@github-actions
Copy link

pre-commit failed.
Please run pre-commit run --all-files locally and commit the changes.
Find more information in the repository's CONTRIBUTING.md

Copy link
Collaborator

@andrewm4894 andrewm4894 left a comment

Choose a reason for hiding this comment

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

Looks great!

@andrewm4894
Copy link
Collaborator

Maybe see if you can get pre-commit running locally, looks like it want to reformat a little the css and js files maybe.

@andrewm4894 andrewm4894 enabled auto-merge (squash) February 24, 2023 21:13
@andrewm4894 andrewm4894 merged commit 8a6637f into LAION-AI:main Feb 24, 2023
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.

None yet

2 participants