Commit Graph

871 Commits

Author SHA1 Message Date
Sat Naing fa37a477d0 fix: update edit post link styling and text (#545) 2025-06-20 22:49:27 +07:00
Sat Naing ce5b57b4d7 build(deps): upgrade astro and dependencies (#544)
* build(deps): bump astro from 5.9.2 to 5.10.0

* build(deps): upgrade minor and patch dependencies
2025-06-20 22:41:16 +07:00
Viktor Szépe 9ee01aafa2 fix: typos across codebase (#543) 2025-06-20 17:10:07 +07:00
satnaing bd2f335c3c bump: version 5.4.1 → 5.4.2 2025-06-15 15:58:33 +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
Sat Naing 0d9a7bbd93 fix: remove extra padding in fenced code blocks (#540)
Closes #539
2025-06-15 09:34:25 +07:00
satnaing 37a487801d bump: version 5.4.0 → 5.4.1 2025-06-14 23:46:32 +07:00
Sat Naing f7cb267854 refactor: update tailwind typography css overrides (#538)
* refactor: update tailwind typography css overrides

Update TailwindCSS typography overrides to use less
`important`; and update selectors to make them easier
to read.

* refactor: update focus styles to be consistent
2025-06-14 23:44:03 +07:00
Sat Naing 4c2aebc304 fix: make heading anchors in article visible on mobile (#537) 2025-06-14 23:26:10 +07:00
Sat Naing 2bc9296732 build: add read permission in ci workflow (#536)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-06-14 08:36:54 +07:00
satnaing 572553df16 bump: version 5.3.0 → 5.4.0 2025-06-14 00:16:02 +07:00
Sat Naing cb8a4794be feat: add file name transformer for fenced code blocks (#535)
* feat: add file name transformer for fenced code blocks

* chore: update file names in fenced code blocks
2025-06-14 00:14:07 +07:00
Sat Naing 38ebf6e1b6 feat: add RTL language support (#531)
* feat: add RTL language support

- Add `SITE.dir` config option.
- Replace physical Tailwind classes with logical
property classes.

Resolves #439

* docs: add `dir` section in doc
2025-06-14 00:07:27 +07:00
Sat Naing 76e15b55e3 feat: add Shiki transformers for better syntax highlighting (#534)
* refactor: organize prose related styles inside nested prose

* feat: add Shiki transformers for better syntax highlighting

* chore: update blog posts using Shiki transformers

Closes #210
2025-06-13 23:08:18 +07:00
Sat Naing b07ee5cdcc fix: replace broken prev/next links with correct paths (#533)
Nested blog post URLs in the prev/next links were not
updated properly, which resulted in 404 error pages.
This commit updates the outdated URLs to the correct paths.
2025-06-12 22:51:02 +07:00
satnaing b3680c590a bump: version 5.2.0 → 5.3.0 2025-06-11 18:19:47 +07:00
Sat Naing ad67e04666 build(deps): upgrade dependencies (#529)
* build(deps): upgrade dependencies

* fix: remove packageManager in package.json file

Closes #526
2025-06-11 18:03:22 +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
Sat Naing 0cc647c3d3 fix: improve back-to-top button to adapt layout changes properly (#527)
Update back-to-top button to accommodate properly,
even if the max-width of the blog post is updated.
Uses `fixed` position on mobile and `sticky` position
on large screens.
2025-06-10 08:04:45 +07:00
Frederik 316bdd8203 docs: update customize-color-schemes doc (#523)
* docs: update customize-color-schemes doc to match current file structure and files

* docs: update color-schemes customization docs

---------

Co-authored-by: satnaing <satnaingdev@gmail.com>
2025-06-09 14:47:57 +07:00
Sat Naing 5f72b93d92 refactor: extract redundant max-width into utility (#525)
* refactor: extract redundant max-width into utility

Extract redundant max-width into a universal tailwind
utility class. By doing so, the width of the layout
in different pages can be customized easily.

* docs: update docs for modifying `max-w-app` utility
2025-06-09 11:42:33 +07:00
Frederik c7702bb715 build(deps): upgrade astro and related packages (#521)
* build(deps): upgrade astro and related packages 

* build: upgrade latest astro

---------

Co-authored-by: satnaing <satnaingdev@gmail.com>
2025-06-07 18:25:26 +07:00
Tanishq Manuja ae80e995a5 fix: add scroll offset for anchor targets (#506)
* fix: add scroll offset for anchor targets

* fix: update scroll-margin-block to 1rem

---------

Co-authored-by: satnaing <satnaingdev@gmail.com>
2025-06-07 17:30:15 +07:00
Tanishq Manuja 852d3b81ba refactor: use new astro env (#507)
* refactor: use new astro env

* chore: directly use PUBLIC_GOOGLE_SITE_VERIFICATION
2025-06-07 16:36:02 +07:00
Sat Naing 4d01654471 feat: improve back-to-top button behavior (#520)
Make the back-to-top button appear based on 
scroll position_ improving accessibility and UX.
2025-06-06 13:39:31 +07:00
Gray 53696266fd build: specify pnpm version in package.json and ci.yml (#513)
Specify pnpm version in both `package.json` and
`ci.yml` to avoid build errors during deployment.

---------
Closes #512
Co-authored-by: satnaing <satnaingdev@gmail.com>
2025-06-06 13:35:28 +07:00
kakomonn bd948604be fix: add types for constants to avoid type errors when empty (#501)
Add types for `constants` to avoid type errors
when either `SOCIALS` or `SHARE_LINKS` is empty.

---------

Co-authored-by: satnaing <satnaingdev@gmail.com>
2025-06-05 23:31:37 +07:00
Alexey Poimtsev 21bcca85ac fix: update heading alignment and font-size (#473)
* fix: update heading title to be smaller on mobile

* fix: vertical alignment in heading title

---------

Co-authored-by: satnaing <satnaingdev@gmail.com>
2025-06-05 12:46:32 +07:00
satnaing de8da9e37a bump: version 5.1.1 → 5.2.0 2025-03-22 17:26:36 +07:00
Sat Naing 793eafa965 fix: adjust nav bar alignment in heading (#492) 2025-03-22 17:22:38 +07:00
Sat Naing 5cff7c50b9 feat: add global and per-post timezone support (#491)
* refactor: replace embedded svg with svg icon

* feat: add global and per-post timezone support

- add `SITE.timezone` in config to define a global default timezone.
- allow per-post timezone overrides via `timezone` in frontmatter.
- update date formatting logic to use the correct timezone when rendering timestamps.
- ensure that posts without a timezone fallback to `SITE.timezone`.
- improve consistency between local and deployed timezones.

* refactor: replace `LOCALE` constant with  `SITE.lang`

* docs: update guides

* fix: update code word-break inside markdown table

Closes #466
2025-03-22 17:21:21 +07:00
Sat Naing a397677d84 fix: ensure only one search bar is displayed on nav link clicks (#489)
Closes #465
2025-03-22 09:21:16 +07:00
satnaing 237467a005 bump: version 5.1.0 → 5.1.1 2025-03-20 12:43:31 +07:00
Sat Naing 5e92a3d4da fix: initial light mode flash in dark mode (#488) 2025-03-20 12:42:30 +07:00
Sat Naing 2774045045 fix: broken editPost link and update editPost logic (#487)
* fix: broken editPost link and update editPost logic

Fixed broken editPost link. Removed the ability to update
the editPost link inside each blog post for consistency.
The editPost button per blog post can still be hidden.

* docs: update docs for editPost
2025-03-20 12:41:58 +07:00
Sat Naing 48f200f444 fix: prevent overflow by adding line breaks in table codes (#485)
Horizontal overflow occurs when a code block in markdown 
table is too long. This is prevented by adding line breaks 
(`break-all`) in codes inside table.
2025-03-18 23:26:33 +07:00
satnaing 0d8cbaf714 bump: version 5.0.1 → 5.1.0 2025-03-18 08:18:41 +07:00
Sat Naing 9c92ba9452 build(deps): bump astro and dependencies (#484)
* build(deps): bump astro from 5.4.2 to 5.5.2

Upgrade astro and add experimental preserveScriptOrder

* build(deps): upgrade tailwind and eslint patch updates
2025-03-18 08:16:27 +07:00
satnaing 004ddcf6ee docs: update blog post creation guide 2025-03-18 07:57:07 +07:00
satnaing 9f75d266c6 refactor: update blog post directory structure 2025-03-18 07:57:07 +07:00
satnaing feaf5e122a feat: allow blog posts to be organized by subdirectories
Blog posts can now be structured into subdirectories, which determine their slugs.

Example:
- `/src/data/blog/2025/testing.md` → `/posts/2025/testing`

Directories prefixed with `_` will be excluded from the slug.

Example:
- `/src/data/blog/_examples/tailwind-typography.md` → `/posts/tailwind-typography`

Closes #470, #366
2025-03-18 07:57:07 +07:00
satnaing 67b9536cce refactor: replace secHeading with variant prop in Card 2025-03-18 07:57:07 +07:00
satnaing ad9c26f260 bump: version 5.0.0 → 5.0.1 2025-03-12 21:49:49 +07:00
Erison Silva ec59d1109e fix: update docker-compose (#475) 2025-03-12 21:00:43 +07:00
Erison Silva 0016dd55d1 fix: update import location in giscus example (#474) 2025-03-12 20:59:08 +07:00
Sat Naing 6749f62015 fix: add an option to disable dynamic OG image generation (#476)
* fix: add an option to disable dynamic OG image generation

Add new `dynamicOgImage` option in the `SITE` object inside 
`src/config.ts` file to disable auto og-image generation during build.

Resolves #428

* docs: update guides for `SITE.dynamicOgImage` option
2025-03-12 20:47:12 +07:00
Erison Silva dc5ca47b1d docs: update giscus integration guide for AstroPaper v5 (#472) 2025-03-12 20:04:09 +07:00
Erison Silva 77ff6b4f64 docs: update color schemes guide for AstroPaper v5 (#469) 2025-03-12 19:54:28 +07:00
Sat Naing 212fd5c550 fix: remove unused ogImage size validation (#462)
* fix: remove unused ogImage size validation

Validation of `ogImage` field in blog collection
causes unintentional broken og images after the build.
Removing the validation solve the issue.

* docs: update docs for ogImage path

* chore: update asset
2025-03-09 19:27:20 +07:00
satnaing a4a5ced8a6 fix: correct Google Fonts API URL construction for proper weight fetching 2025-03-09 17:54:05 +07:00