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

Showcase Page Edits #3628

Merged
merged 16 commits into from
Oct 28, 2022
Merged

Showcase Page Edits #3628

merged 16 commits into from
Oct 28, 2022

Conversation

jasonbariwix
Copy link
Contributor

Please ignore index.js and index.module.css files sent in this PR. I am currently fixing the Homepage and this will be a separate PR, as requested!

I completed styling and functionality of the Showcase page to match the Glyph Figma:

1.Showcase page light and dark mode completed.
2. navbar items fixed.
3. footer fixed
4. cards and store buttons accounted for in both mode
5. created a Card.js file to move the function from Showcase.js so only one function per component
6. created footer icons for light mode and showcase stars png for both modes
7. added styling to all showcase icons and created a JSON file for cardsList.
8. added title to showcase browser tab,
9. made all cards same size and responsive
10. Added colorMode 'dark' to docusaurus.config.js file - this option will auto open the page in dark-mode unless this is overridden in the users browser settings.

@noomorph
Copy link
Collaborator

noomorph commented Oct 14, 2022

See my edits in c509dcc commit (currently reverted)

  1. Using link1 and link2 instead of something more speaking about itself, e.g. linkGoogle and linkApple:
    image
  2. website/src/components/Showcase/Button.js looks suspiciously redundant. Do you really need it? @asafkorem check it twice with Jason.
  3. Card.js was unnecessarily complicated. Use of <section> HTML5 element seems unjustified to me. I think using ul > li more fits the semantic meaning of this list.
  4. useEffect with document.title change was irrational, because you implement it on a level of a component, not a page itself. Also, there is a better API, @docusaurus/Head (React Helmet, basically). Fixed.
  5. All your CSS imports were directing to website/src/pages/showcase.module.css, even from the nested components. I had to split all the contents into small module CSS files, for every individual component.
  6. The way you rendered images (from JSON) without require(...).default was not really correct. See the recommended way in Docusaurus: https://docusaurus.io/docs/static-assets#in-jsx Btw actually you had a correct way in the JS variant of the apps list.

Copy link
Collaborator

@noomorph noomorph left a comment

Choose a reason for hiding this comment

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

Needs changes. This is not my final review as I omitted reviewing CSS for now. Looks like it is a subject to change anyway. Just make sure to tidy it before the next review.

detox/android/detox/proguard-rules-app.pro Outdated Show resolved Hide resolved
.vscode/settings.json Outdated Show resolved Hide resolved
website/package.json Outdated Show resolved Hide resolved
website/src/components/Showcase/AppsList.js Outdated Show resolved Hide resolved
website/src/components/Showcase/Button.js Outdated Show resolved Hide resolved
website/src/pages/showcase.module.css Outdated Show resolved Hide resolved
website/src/components/Showcase/Card.js Outdated Show resolved Hide resolved
website/src/components/Showcase/Showcase.js Outdated Show resolved Hide resolved
website/src/pages/showcase.js Outdated Show resolved Hide resolved
website/src/pages/showcase.js Outdated Show resolved Hide resolved
@asafkorem
Copy link
Contributor

@jasonbariwix can you please link here to the original Figma?

@jasonbariwix
Copy link
Contributor Author

jasonbariwix commented Oct 18, 2022 via email

@jasonbariwix
Copy link
Contributor Author

jasonbariwix commented Oct 18, 2022 via email

@asafkorem asafkorem linked an issue Oct 23, 2022 that may be closed by this pull request
2 tasks
@d4vidi d4vidi assigned d4vidi and asafkorem and unassigned d4vidi Oct 24, 2022
Add new navbar and footer icons and hero image for the Showcase page.
Taken from Google Play, App Store and GitHub.
Add the component and its style for presenting a single application or project.
website/src/components/Showcase/Hero.js Outdated Show resolved Hide resolved
@asafkorem
Copy link
Contributor

asafkorem commented Oct 28, 2022

@jasonbariwix, you did an excellent job! 👏🏼 This is truly mind-blowing!! 🤯

I've added the Showcase application form link.

It looks like you resolved all the comments made by Yarik (👑 🙌🏼), and stuff looks much better now!
Please verify this and resolve them on GitHub before I'll merge that :shipit:

@jasonbariwix
Copy link
Contributor Author

jasonbariwix commented Oct 28, 2022 via email

@jasonbariwix
Copy link
Contributor Author

jasonbariwix commented Oct 28, 2022 via email

@asafkorem asafkorem merged commit 0e049e7 into next Oct 28, 2022
@asaf
Copy link

asaf commented Oct 28, 2022

Probably the wrong Asaf :)

@jasonbariwix jasonbariwix deleted the showcase branch November 1, 2022 15:36
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.

[Website] Apps Showcase page.
6 participants