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

Update packages & optimize docs #120

Merged
merged 1 commit into from
May 27, 2024

Conversation

TheRealPear
Copy link
Contributor

  • Updated bunch of npm packages
  • Converted homepage video to a webm file, saving about 37mb
    • Prevent picture-in-picture controls from appearing
  • Converted video fallback poster from jpeg to avif, saving about 64kb
  • Optimized a bunch of .png pictures that I didn't want to convert just yet. I've also saved the original version of the files I did convert, just in case we need them for the future, this should have no effect as they're not being used anywhere in the docs.
  • Changed SportPaper description and download link to use latest available instead of what's bundled with PGM stable releases
  • Reworded more stuff and proofread it (hopefully nothing slipped through)
  • Convert emoji on the homepage from png to svg (almost every browsers support this and it's far easier to load)
    • Lazy loading is enabled, should be beneficial for people on smaller screens
  • Added gradient to hero_title ("The original, redefined.")
    • Font size will now adjust itself depending on screen size. It should support anything resembling an iPhone 3GS resolution before maxing out at 4.5rem on the highest resolution available.
    • Here's a before and after screenshot from my responsive design tool:
      Before
      After

src/pages/index.js Show resolved Hide resolved
src/pages/index.js Outdated Show resolved Hide resolved
@TheRealPear TheRealPear force-pushed the pages-redesign branch 2 times, most recently from d73ec14 to 2fa920e Compare April 24, 2024 21:24
@TheRealPear
Copy link
Contributor Author

Fixed broken markdown links and anchors that was missed. I've also updated packages again and enabled the last update date, which will appear on every mdx pages now, as long it can pull from Git history during deployment.

Update history

Signed-off-by: TheRealPear <20259871+TheRealPear@users.noreply.github.com>
@CoWinkKeyDinkInc CoWinkKeyDinkInc merged commit 869a2d8 into PGMDev:master May 27, 2024
3 checks passed
@TheRealPear TheRealPear deleted the pages-redesign branch June 10, 2024 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants