-
-
Notifications
You must be signed in to change notification settings - Fork 778
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
Accordion Component Standardization #1407
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@hackforla/website-merge @JackRichman and I researched Action item Please see the screenshot below of the Style Guide section of the Figma file: |
This comment has been minimized.
This comment has been minimized.
@Aveline-art but its requesting the primary button color...which is red. Which it is. |
@Aveline-art And the photo I provided above was from the style guide link (Figma design system file) they provided in that issue comment. The color provided is red, not pink. |
This comment has been minimized.
This comment has been minimized.
This comment was marked as outdated.
This comment was marked as outdated.
@abuna1985 I recommend removing the last item from this issue, please tell me if you agree.
@alyssabenipayo please review the FAQ accordion shown on the 2FA page and on the getting started page, as we may want to incorporate those into the Guide template. However on the 2FA it seems unwarranted and I could probably put the info into the regular format of the guide. |
@ExperimentsInHonesty I think we can either:
It seems like the accordion for the |
Overview
As a part of the Dev team's efforts to standardize components throughout the website, we need to standardize the accordion component. The JavaScript code needs to be standardized, and some changes with how the JavaScript manipulates the accordion styles needs to be changed. There are also some style issues with the accordion component that need to be fixed. On the 2FA page on the website, the accordion component in the FAQ section stretches farther than the card in the tablet view range.
Action Items
/assets/js/elements/accordion.js
assets/js/elements/accordion.js
, you need to include it into thepages/getting-started.html
andguide-pages/2FA.html
via the script tag like so.<script src="/assets/js/elements/accordion.js" type="module"></script>
. You will place it where the previous<script>
containing the accordion logic was.As per comment Develop Updated Getting Started page #1619 (comment), the accordion arrows need to be made pink in all viewport ranges.Resources/Instructions
Current uses of accordion on website
https://www.hackforla.org/getting-started
https://www.hackforla.org/guide-pages/2FA
Relevant files
https://github.com/hackforla/website/blob/gh-pages/_guide-pages/2FA.html
https://github.com/hackforla/website/blob/gh-pages/pages/getting-started.html
https://github.com/hackforla/website/blob/gh-pages/_sass/components/guide-pages/2FA.scss
https://github.com/hackforla/website/blob/gh-pages/_sass/components/_getting-started-page.scss
Figma Design 2FA (black border)
Below are screenshots of the behavior of the FAQ section when it's resized above 958 left-right:
The text was updated successfully, but these errors were encountered: