Commit Graph

23 Commits

Author SHA1 Message Date
Sat Naing 5bb8e405bb refactor: optimize theme script to prevent render-blocking (#601)
* refactor: optimize theme script to prevent render-blocking

- Move theme script from `public/` to `src/scripts/`
- Split into minimal inline script (FOUC prevention) + external script (non-blocking)
- Rename `primaryColorScheme` to `initialColorScheme`
- Rename `toggle-theme.js` to `theme.ts`
- Use TypeScript for theme script
- Update docs for theme customization
2026-01-10 07:26:25 +07:00
Sat Naing 5fb3b25acb fix: broken typography in about layout (#541)
* fix: broken typography in about layout

* chore: update about content
2025-06-15 15:55:17 +07:00
resomi 77709ab7c0 fix: navigation flicker on Android when in dark mode (#494)
Set meta theme-color value before page transition
to avoid navigation bar color flickering in Android 
dark mode.

---------

Co-authored-by: satnaing <satnaingdev@gmail.com>
2025-06-10 08:43:11 +07:00
satnaing cd11b39d22 build: add icons and update asset directorries 2025-03-08 18:21:37 +07:00
tanishqmanuja 6352353470 feat: dynamically generate robots.txt 2023-10-03 13:44:57 +06:30
satnaing cbdaa59bae feat: add ViewTransitions from Astro
Integrate ViewTransitions API from Astro v3.

resolve #96
2023-09-26 02:04:11 +06:30
satnaing f25377674e feat: update theme-color tag on theme switch 2023-09-26 02:04:11 +06:30
satnaing d9743af65d docs: add a blog post for updating AstroPaper and dependencies
Add an article to show how to update project dependencies and AstroPaper template.

resolve #68
2023-07-21 21:04:02 +06:30
satnaing 6be7a77183 refactor: remove unnecessary pseudo styles in svg 2023-03-15 23:38:14 +06:30
satnaing c36b1384ee chore: remove google site verification html file 2022-12-20 22:49:24 +06:30
satnaing 1a3424c965 refactor: update default og image 2022-12-03 16:25:12 +06:30
satnaing c4c9ab2246 fix: add optional chaining for theme switch event listener
Add optional chaining in the event listener of the theme switch button in toggle-theme.js file. This
is to avoid occuring an error in the console when `light & dark theme mode` is disabled.
2022-11-28 21:23:15 +06:30
satnaing 0eeed8e870 refactor: update toggle theme function for better structure and a11y
Move theme switch js codes in Layout.astro file to external js file (toggle-theme.js). Update
.prettierignore to exclude the new toggle-theme.js file.  Update base.css for new data-theme
attribute.
2022-11-26 23:43:27 +06:30
Sat Naing c61e8011fc Update default og image 2022-09-27 15:29:50 +06:30
Sat Naing 1de0e5dcd1 Add google site verification again 2022-09-25 21:21:57 +06:30
Sat Naing c7dd432a46 Remove google verification html 2022-09-25 21:16:22 +06:30
Sat Naing aeb05d71a9 Add google site verification file 2022-09-25 21:04:19 +06:30
Sat Naing 3dd1ac8a9f Support svg and png logo image types 2022-09-23 12:24:54 +06:30
Sat Naing ee744a593b Add logo.svg in public assets 2022-09-23 00:12:37 +06:30
Sat Naing 35f0381b08 Add robots.txt 2022-09-17 14:02:28 +06:30
Sat Naing 126a7988c7 Add OG default image 2022-09-13 16:25:29 +06:30
Sat Naing a3dfdb8c1b Add an asset dev.svg under public/assets 2022-09-11 23:12:44 +06:30
Sat Naing 44cf5afeba Initial commit from Astro 2022-09-08 19:20:34 +06:30