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

v2.0.0: Performance Priority Design #14

Merged
merged 12 commits into from Apr 24, 2022
Merged

v2.0.0: Performance Priority Design #14

merged 12 commits into from Apr 24, 2022

Conversation

alanpjohn
Copy link
Owner

A bottom to top approach to improve site performance

Added

  • Dependabot to manage version updates
  • /projects route for project details
  • /about route for personal details
  • /api/social-image for social image generation
  • LQIP to generate base64 encoded images
  • redis support to store blurDataURL
  • react-notion-x with the help of notion-compat for better performance
  • common config file to manage configuration
  • New fonts : Uncut Sans & Space Grotesk

Changed

  • block rendering is now handled by NotionRenderer
  • styling changed to suit lighter site

Removed

  • Framer motion classes for performance improvements
  • Hero SVG
  • Clash Display and Cabinet Grotesk fonts
  • Hamburger menu for performance improvements

@vercel
Copy link

vercel bot commented Apr 17, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/theforeverlost/alan-john-portfolio/6uYsyKQWCMikmhda8gPXTLXyY188
✅ Preview: https://alan-john-portfolio-git-staging-theforeverlost.vercel.app

@alanpjohn
Copy link
Owner Author

alanpjohn commented Apr 17, 2022

  • Social Media image generation
  • Lazy loading framer motion
  • budgets.json for strict lighthouse checking

@alanpjohn
Copy link
Owner Author

alanpjohn commented Apr 18, 2022

posts.json is hosted in a read only filesystem in vercel.

  • remove file cache
  • split api

@alanpjohn
Copy link
Owner Author

* [ ]  Lazy loading framer motion

Even Lazy loading reduces performance audit from 97 to 80, so avoiding framer motion

- Clash Display replaces Space Grotesk as Display font
- Notion Page now handles all /blog/[id] completely
- Minor styling changes
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

1 participant