satnaing
f525698771
chore(release): 4.1.0
2024-01-10 10:27:56 +06:30
satnaing
034dd394ab
build(deps): upgrade dependencies
2024-01-10 09:13:37 +06:30
satnaing
f70a0b78ed
build(deps): update Astro and its related dependencies
2024-01-10 09:01:08 +06:30
satnaing
940deb6d3f
fix(a11y): resolve accessibility issues
...
A11y Improvements
- add screen-reader only texts
- remove autoFocus on search box
- replace disabled link with span text in LinkButton
2024-01-09 15:49:50 +06:30
Simon Smale
de605d87a0
docs: adds blog post for how to add a social icon ( #221 )
...
* docs: adds blog post for how to add a social icon
* refactor: update the blog post
---------
Co-authored-by: Sat Naing <satnaingdev@gmail.com >
2024-01-09 15:47:38 +06:30
satnaing
db31df3ce4
refactor: remove SocialObjects type and update SocialObjects type
...
- remove SocialMedia type from src/types.ts
- generate each social icon type from socialIcons object instead
2024-01-09 15:45:48 +06:30
Simon Smale
bb60a9b3db
docs: updates the hook post with a smarter updateHook ( #222 )
2024-01-09 11:18:40 +06:30
satnaing
43f716054b
fix: update twitter ShareLink title
2024-01-08 15:16:49 +06:30
immodded
1e2c5e82d8
feat: add share links in blog post ( #215 )
...
* Add share links
* refactor: update and rename Sharebutton to ShareLinks
- rename SOCIALS to shareLinks to avoid confusion with `src/config.ts > SOCIALS`
- fix type error related with shareLinks
- add `linkTitle` in shareLinks for better accessibility
- update styles to looks good in all devices
* refactor: place ShareLinks next to `back to top`
- place ShareLinks at the bottom (next to `back to top`)
- update styles for ShareLinks and Back to Top button
---------
Co-authored-by: Sat Naing <satnaingdev@gmail.com >
2024-01-08 15:11:10 +06:30
Qisthi Ramadhani
6e7d76a0d3
feat: add copy buttons for code blocks ( #217 )
...
* feat: copy button on snippet code
* refactor: update func name, styles and refactor backToTop
Rename the function name `copyButton` to `attachCopyButtons`. Update copy button styles. Fix broken `backToTop` function by attaching `astro:after-swap` event listener.
---------
Co-authored-by: Sat Naing <satnaingdev@gmail.com >
2024-01-07 21:15:47 +06:30
May Kittens Devour Your Soul
1b4164226a
refactor: update breadcrumbs delimiter to "»" ( #213 )
2024-01-06 23:43:18 +06:30
satnaing
d929ce1fef
fix: solve modDatetime type errors
...
Update modDatetime props type to have null type for components that have modDatetime as props.
2024-01-05 10:32:31 +06:30
satnaing
c3567896fb
chore(release): 4.0.0
2024-01-04 15:53:12 +06:30
satnaing
ff30dee418
docs: add an AstroPaper v4 announcement post
2024-01-04 15:53:12 +06:30
Simon Smale
9c776dac1f
docs: adds an article about git hook date setting ( #211 )
...
* feat: adds post on git hook date setting
* fix: make necessary adjustments and fix typo
---------
Co-authored-by: Sat Naing <satnaingdev@gmail.com >
2024-01-04 15:53:12 +06:30
satnaing
a5a7e7459a
style: remove unnecessary margin
2024-01-04 15:53:12 +06:30
satnaing
1c806b7ddd
docs: add new color scheme for AstroPaper v4
2024-01-04 15:53:12 +06:30
satnaing
792a02b325
docs: #205 update estimated-reading-time article
...
Fix typo. Update await files in getSortedPosts.
Closes : #205
2024-01-04 15:53:12 +06:30
Simon Smale
14e2936608
feat: add code-snippets for content creation ( #206 )
...
* Create astro-paper.code-snippets
* feat: allow nullable modDatetime
this is needed to allow the snippet to work with a blank date time, and is a precursor of adding in a modified date time setting hook
* Update astro-paper.code-snippets to make feat false by default
2024-01-04 15:53:12 +06:30
satnaing
e7c9a56722
refactor: enable scroll-smooth only in post detail page
2024-01-04 15:53:12 +06:30
satnaing
20536b0562
fix: update rss pubDate to prioritize modDatetime if exists
2024-01-04 15:53:12 +06:30
satnaing
f5855cb826
build(deps): upgrade dependencies
2024-01-04 15:53:12 +06:30
satnaing
59df7a5826
build!(deps): upgrade Astro and related packages to v4
...
Bump astro v3.6.4 to v4.0.9 (major upgrade). Bump astrojs/rss v3.0.0 to 4.0.1 (major upgrade). Upgrade other astro related packages.
BREAKING CHANGE: Astro v4 upgrade
Closes : #187
2024-01-04 15:53:12 +06:30
satnaing
8309d6823f
refactor: reduce main layout content margin bottom
2023-12-29 10:27:42 +06:30
Sat Naing
581826a5af
feat: add pagination in tag posts ( #201 )
...
* feat: add pagination in tag posts
Implement pagination in tag posts. Refactor and extract pagination logic and pagination component.
Closes : #152
* fix: update breadcrumbs for updated tag pagination
2023-12-29 10:26:02 +06:30
Sat Naing
b05b8fb842
feat: replace slugified title with unslugified tag name ( #198 )
...
Update slugified titles to be unslugified in the tag page. This is for better SEO and better a11y. Url and tag elelemnts will still be slugified.
Closes : #179
2023-12-28 14:16:40 +06:30
Sat Naing
2827d4e7d8
refactor: replace postSlug with Astro content slug
...
* refactor: replace postSlug with Astro content slug
Remove postSlug from blog schema. Refactor articles that use postSlug. Remove slugify function from slugify util file. Replace slugify logic with Astro's content collections slug logic.
Closes : #186
* docs: update docs for removed slugify contents
* refactor: remove unused import
2023-12-27 10:20:55 +06:30
Sat Naing
80e67a1dca
feat: add modified datetime in blog posts
...
* feat: add modified datetime in blog posts
Add modDatetime in blogSchema. Update Datetime component to accept modDatetime. Update sorting logic. Rename datetime to pubDatetime in Datetime component.
Closes : #134
* feat: add published_time & modified_time meta tags
* docs: update related blog posts to be up-to-date
* fix: remove extra spaces in breadcrumbs
2023-12-26 10:11:26 +06:30
dependabot[bot]
2f602fe815
build(deps): bump zod, astro and @astrojs/sitemap
...
Bumps [zod](https://github.com/colinhacks/zod ) to 3.22.4 and updates ancestor dependencies [zod](https://github.com/colinhacks/zod ), [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro ) and [@astrojs/sitemap](https://github.com/withastro/astro/tree/HEAD/packages/integrations/sitemap ). These dependencies need to be updated together.
Updates `zod` from 3.21.1 to 3.22.4
- [Release notes](https://github.com/colinhacks/zod/releases )
- [Changelog](https://github.com/colinhacks/zod/blob/master/CHANGELOG.md )
- [Commits](https://github.com/colinhacks/zod/compare/v3.21.1...v3.22.4 )
Updates `astro` from 3.1.3 to 3.6.4
- [Release notes](https://github.com/withastro/astro/releases )
- [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md )
- [Commits](https://github.com/withastro/astro/commits/astro@3.6.4/packages/astro )
Updates `@astrojs/sitemap` from 3.0.0 to 3.0.3
- [Release notes](https://github.com/withastro/astro/releases )
- [Changelog](https://github.com/withastro/astro/blob/main/packages/integrations/sitemap/CHANGELOG.md )
- [Commits](https://github.com/withastro/astro/commits/@astrojs/sitemap@3.0.3/packages/integrations/sitemap )
---
updated-dependencies:
- dependency-name: zod
dependency-type: indirect
- dependency-name: astro
dependency-type: direct:production
- dependency-name: "@astrojs/sitemap"
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-20 14:44:19 +06:30
satnaing
cd02b047d2
fix : #133 update LOCALE config to cover overall locales
...
Update LOCALE inside config.ts to include html lang value and datetime locale values. Updated respective files and blog post.
Closes : #133
2023-12-20 10:50:45 +06:30
satnaing
c526157118
feat: implement back-to-top button in blog post page
...
Implement back-to-top button under tags in PostDetails page. Update html scroll-behavior to smooth.
Closes : #156
2023-12-15 14:21:17 +06:30
Erison Silva
fb3fa98936
feat: add docker-compose file ( #174 )
...
* feat: Add docker-compose file
- Add `docker-compose.yml` file
- Add docker commands into the README.md file
Close #172
* docs: update README for style consistency
---------
Co-authored-by: Erison Silva <erison.silva@power.cloud >
Co-authored-by: Sat Naing <satnaingdev@gmail.com >
2023-12-13 15:25:22 +06:30
YUE
058c790d26
fix: decode unicode tag chars in breadcrumb ( #175 )
2023-12-12 17:18:39 +06:30
dependabot[bot]
4bbb3e51ed
build(deps): bump vite from 4.4.9 to 4.5.1
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 4.4.9 to 4.5.1.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v4.5.1/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v4.5.1/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-12 15:03:02 +06:30
dependabot[bot]
8f5bcda3a7
build(deps): bump sharp from 0.32.5 to 0.32.6
...
Bumps [sharp](https://github.com/lovell/sharp ) from 0.32.5 to 0.32.6.
- [Release notes](https://github.com/lovell/sharp/releases )
- [Changelog](https://github.com/lovell/sharp/blob/main/docs/changelog.md )
- [Commits](https://github.com/lovell/sharp/compare/v0.32.5...v0.32.6 )
---
updated-dependencies:
- dependency-name: sharp
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-12 15:00:53 +06:30
dependabot[bot]
83751bdb74
build(deps): bump @babel/traverse from 7.22.17 to 7.23.2
...
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse ) from 7.22.17 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse )
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-12 15:00:40 +06:30
dependabot[bot]
ab3f0ef978
build(deps): bump undici from 5.24.0 to 5.26.3
...
Bumps [undici](https://github.com/nodejs/undici ) from 5.24.0 to 5.26.3.
- [Release notes](https://github.com/nodejs/undici/releases )
- [Commits](https://github.com/nodejs/undici/compare/v5.24.0...v5.26.3 )
---
updated-dependencies:
- dependency-name: undici
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-12 15:00:20 +06:30
Haibo
64b3a286e6
fix: solve invisible text code block issue in light-mode ( #163 )
...
* fix: pre > code font color
Co-authored-by: Nomango <nomango@qq.com >
Co-authored-by: shuaixr <1025sxr@gmail.com >
* refactor: extend other css properties besides typography
Update theme extend to include other properties like textColor etc, to clarify confusion.
---------
Co-authored-by: shuaixr <1025sxr@gmail.com >
Co-authored-by: Sat Naing <satnaingdev@gmail.com >
2023-12-12 14:57:49 +06:30
dependabot[bot]
bca2fe2e44
build(deps): bump postcss from 8.4.29 to 8.4.31
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.4.29 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.4.29...8.4.31 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-09 09:38:20 +06:30
Tanishq Manuja
9dcc5e1932
refactor: update site URL to be single source of truth ( #143 )
...
* wip: astro config to use .ts instead of .mjs
* fix: remove invalid prop in astro config
* refactor: single source of truth for site url
* refactor: make minor updates due to astro.config.ts
---------
Co-authored-by: satnaing <satnaingdev@gmail.com >
2023-10-09 03:07:45 +00:00
satnaing
79d569d053
fix(layout): use 100svh for min-height on body instead of 100vh
...
Address a mobile layout issue where using 100vh caused unexpected behavior. Switching to 100svh
resolves this problem by accounting for the mobile browser's UI components. This change ensures a
consistent and improved user experience on smaller screens.
resolves #127
2023-10-06 11:45:39 +06:30
tanishqmanuja
d025c914d9
fix: anchor oveflow on small screen size
2023-10-03 14:17:50 +06:30
tanishqmanuja
6352353470
feat: dynamically generate robots.txt
2023-10-03 13:44:57 +06:30
satnaing
cfcedd1418
chore(release): 3.0.0
2023-09-26 02:04:11 +06:30
satnaing
5178f75631
chore: update dependencies and format code
2023-09-26 02:04:11 +06:30
satnaing
d57f53ac4d
docs: add a new theme and add main image in v3 post
2023-09-26 02:04:11 +06:30
satnaing
4c33936b66
docs: add upgrade section for AstroPaper v3
2023-09-26 02:04:11 +06:30
satnaing
485671ac05
docs: remove AstroPaper-2 post from featured posts
2023-09-26 02:04:11 +06:30
satnaing
d7196caec9
docs: add AstroPaper v3 release blog post
2023-09-26 02:04:11 +06:30
satnaing
e4463ad62a
docs: update generated svg image to generated OG image
2023-09-26 02:04:11 +06:30