Commit Graph

792 Commits

Author SHA1 Message Date
Sat Naing fc6b53fbde docs: add instructions for Google Site Verification in AstroPaper (#353)
Resolves #348
2024-08-17 20:49:06 +07:00
Sat Naing 8762650c60 fix(a11y): remove aria-labels from non-interactive elements (#346)
Remove aria-label from `<h1>` of 404 page and disabled LinkButton.

Resolves #263
2024-08-04 14:50:31 +07:00
Sat Naing be172efa17 refactor: update tailwind classes to v3 syntax (#345)
Updated background/border opacity to the new syntax:
- border-skin-fill border-opacity-40 => border-skin-fill/40
- selection:bg-skin-accent selection:bg-opacity-70 => selection:bg-skin-accent/70
2024-08-04 10:49:13 +07:00
Sat Naing 910b72e513 docs: update pre-commit hook blog post (#344)
Add a section about the removal of the pre-commit
hook in v4.3.0.
2024-08-03 11:41:23 +07:00
Sat Naing 99e5ac71fc build: bump astro from 4.12.2 to 4.13 (#341) 2024-08-02 18:08:24 +07:00
Sat Naing 3306cd9af7 ci: add CI workflow (#340)
Add a continuous integration workflow to check linting,
code formatting, and ensure successful builds.
2024-08-02 09:31:43 +07:00
dependabot[bot] 2241949a1d build(deps): bump fast-xml-parser from 4.4.0 to 4.4.1 (#339)
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) from 4.4.0 to 4.4.1.
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v4.4.0...v4.4.1)

---
updated-dependencies:
- dependency-name: fast-xml-parser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-30 14:49:21 +07:00
satnaing 63feb9607b refactor: remove commented codes 2024-07-27 17:29:58 +07:00
satnaing 2cef94e39f bump: version 4.3.0 → 4.3.1 2024-07-27 14:38:11 +07:00
u8b19 2f82febff4 fix: resolve non-latin char issue in generated OG images (#318)
Changes made
- update font source with Google font
- add error handling in font fetching logic
- update docs in dynamic-og-images blog post

---------

Co-authored-by: satnaing <satnaingdev@gmail.com>
2024-07-27 14:36:52 +07:00
satnaing 0440d2a3db bump: version 4.2.0 → 4.3.0 2024-07-27 10:36:40 +07:00
FjellOverflow 76b65556f7 docs: add guide on integrating user comments with Giscus (#335) 2024-07-27 10:01:25 +07:00
Matthieu aa9430a1cf docs: fix typo in development note of theme configuration guide (#333) 2024-07-24 22:04:13 +07:00
Sat Naing ffaaf80028 docs: add warning for yarn & sharp dependency (#331)
Resolves #317
2024-07-24 00:00:42 +07:00
Sat Naing 614e54c2f6 build: remove jampack (#330)
Remove post-processing static site optimizer_ Jampack
due to insignificant differences in build output and
unmet peer dependency issue.

Closes #212, resolves #277
2024-07-22 22:24:07 +07:00
Sat Naing 7b83996daf build: remove pre-commit git hook (#329)
Remove the pre-commit git hook and its related
dependencies_ husky, lint-staged, commitizen and
cz-conventional-changelog.
2024-07-22 21:54:56 +07:00
Sat Naing c63f106fa4 build(deps): upgrade dependencies (#328) 2024-07-22 21:39:21 +07:00
Sat Naing 9de19c2c68 feat: support light/dark theme in code blocks (#327)
Update Astro and its related dependencies. Support
light/dark theme in code-blocks.
2024-07-21 16:18:22 +07:00
Seongmin Lee 2a78fd6e59 refactor: remove trailing commas in tsconfig.json (#325) 2024-07-20 11:49:35 +07:00
Micheal Choudhary 47a3c8651e build: add Dockerfile to run the project in container (#262)
* Dockerfile added to build static files and serve with NGINX Distroless

* replaced final image distroless with official nginx unprivileged to support multi arch.

* runtime image to official nginx

* README updated

* docs: update README for Docker commands

---------

Co-authored-by: satnaing <satnaingdev@gmail.com>
2024-07-16 09:19:40 +07:00
87xie b9266cb20d refactor: remove redundant role in article element (#323) 2024-07-15 22:36:03 +07:00
dependabot[bot] fbaad1ded3 build(deps): bump braces from 3.0.2 to 3.0.3 (#322)
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-15 22:34:16 +07:00
rachel cantor 569e53ef0d fix: adding data-theme to tailwind config (#319)
Resolve: #288
2024-07-15 22:33:07 +07:00
dependabot[bot] 2e707286ce build(deps-dev): bump undici from 5.26.3 to 5.28.4 (#290)
Bumps [undici](https://github.com/nodejs/undici) from 5.26.3 to 5.28.4.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.26.3...v5.28.4)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-14 17:02:45 +07:00
dependabot[bot] bb3b4fcd6c build(deps): bump vite from 4.5.1 to 5.2.8 (#289)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.5.1 to 5.2.8.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.2.8/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-14 17:02:25 +07:00
4Ark 3ca857f301 docs: add installation step with pnpm (#286) 2024-07-14 17:01:19 +07:00
David Legrand 0d5ea52c23 feat: add number of posts config for home page (#281)
* Add a SITE config parameter for posts in index page

* docs: update blog post for `postPerIndex` config

---------

Co-authored-by: satnaing <satnaingdev@gmail.com>
2024-07-14 16:48:49 +07:00
87xie 7b045a0be8 feat: make heading links keyboard focusable (#275) 2024-07-14 16:10:56 +07:00
87xie 227fcf21e7 refactor: avoid using unnecessary class-name in the pagination component (#274) 2024-07-14 15:59:27 +07:00
87xie eba03726b2 chore: use @typescript-eslint/parser as the default parser (#273) 2024-07-14 15:33:57 +07:00
87xie e252506493 fix: avoid undefined when passing class-name as prop (#270)
- avoid `undefined` when passing class-name as prop
- use built-in `class:list` directive
2024-07-14 15:21:49 +07:00
David Legrand 8fbb0b4d85 feat: add JSON-LD structured data (#260)
- Add author profile to SITE variables
- Add JSON-LD to Layout.astro
2024-07-14 15:06:46 +07:00
satnaing 242729a6fe docs: add figma design file in README 2024-07-07 13:00:57 +07:00
Yenru Chin c00a3aa5dc fix: add $CURRENT_TIMEZONE_OFFSET in custom code snippets (#264) 2024-02-19 16:02:46 +06:30
Parinya T 25a640b728 fix: display Updated in posts only when modDatetime > pubDatetime (#258)
* refactor: show update time when modDatetime more recently than pubDatetime

* fix: show wrong date when compare with null modeDate

* refactor: modDatetime type checking & rewrite myDatetime
2024-02-19 10:38:43 +06:30
Sat Naing 8e022c7b5a feat: add scroll indicator in blog posts (#249) 2024-02-09 11:43:51 +06:30
Alan Ye 556df2d21a fix: add SITE.title in PostDetails title tag for consistent look (#247)
Add `SITE.title` in PostDetails page to be the same as other page title tags.

---------

Co-authored-by: satnaing <satnaingdev@gmail.com>
2024-01-25 10:33:32 +06:30
面条 b3a1d9d369 fix: add trailing slash to links to avoid extra redirects (#246)
Add trailing slash to links for improved consistency with RSS links and to avoid unnecessary redirects.

---------

Co-authored-by: satnaing <satnaingdev@gmail.com>
2024-01-25 10:24:28 +06:30
satnaing b05ab6213e refactor: update post detail script codes
Updates:
- add optional chaining in possible null variables
- remove unnecessary after-swap event listeners
2024-01-24 13:46:31 +06:30
satnaing 7c88c6af50 chore(release): 4.2.0 2024-01-24 09:23:16 +06:30
satnaing f19279d8ba chore: update outdated prettier script 2024-01-24 09:23:16 +06:30
satnaing dcb320930b chore: add astro extension in lint-staged code formatting 2024-01-24 09:23:16 +06:30
satnaing a7abab4372 refactor: update code formatting with prettier 2024-01-24 09:23:16 +06:30
satnaing bdd0a793fc build(deps): upgrade astro and other dependencies 2024-01-24 09:23:16 +06:30
Jahseh J c9150f2774 fix: update incorrect typo in predefined-color-schemes.md (#245) 2024-01-24 09:20:45 +06:30
dependabot[bot] 31f6644a04 build(deps): bump vite from 4.5.1 to 5.0.12 (#243)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.5.1 to 5.0.12.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.0.12/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.0.12/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-22 11:05:44 +06:30
Sat Naing 8f75f0a5e7 fix: update back button to redirect to home when no route history (#241)
Update back button in PostDetails.astro to redirect to home page when
there's no route history.
If a blog post url is pasted in the browser and there's no route history
,prior to this commit, back button did not work as expected.
Now, if there's somewhere to go back, the back button will go back to the
previous route.
If not, the back button will redirect to home page.
2024-01-22 11:03:41 +06:30
Sat Naing 629dbfda5b fix: remove recent posts section if there's no post (#238)
Changes made:
- Removed the recent posts section if there's no post under the recent section.
- Eliminated unnecessary <Hr /> tags when there's no recent post.
- Extracted all-links from the recent section and put it above the footer.

Closes: #204
2024-01-18 09:38:41 +06:30
vrabe ece0682adc fix: resolve broken line break in inline code (#237) 2024-01-17 14:50:44 +06:30
David Legrand 1331795a49 fix: reduce margin-bottom on markdown images (#235)
* Disable margin bottom on image

The result is better on images with caption defined as: 
```
![alt text](/path/to/img)
*caption*
```

* refactor: combine mt and mb into my-2

---------

Co-authored-by: satnaing <satnaingdev@gmail.com>
2024-01-15 19:54:14 +06:30