-
Notifications
You must be signed in to change notification settings - Fork 0
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
Blog Enhancements and Fixes #8
Conversation
Add Icones to resources used
Replace swup.js with view transition default API. Theme change scripts are also changed to reflect upon the changes bought by the API. Light-mode initial flicker will be done another time
Add a fade viewtransition to site while keeping navbar and footer intact when transitioning pages
Adding an event to listen to astro:page-load caused a FART (Flash of Inaccurate Theme Color) problem that occured upon page load. Keeping the original theme listener as is prevented the white flash that occured at page load. An event listener for astro:after-swap is used to keep the chosen theme across all pages.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Remove Swup.js and fixed spacing with Prettier
A bug has occurred on Chrome where:
This issue only occurs on Chrome at a relatively small viewport (ex. 375px) while Firefox does not seem to have this content shifting error as the API uses the fallback API functions instead due to it being unsupported. EDIT: After testing the preview site on different browsers on a mobile device, there seems to be no issue with the content shift as the API's fallback functions are called instead (this results in a simple fade animation). Browsers tested on mobile device:
|
This pull request brings several changes to the blog, which includes several enhancements as well as adjustments/fixes.
Enhancements:
Adjustments/Fixes