Commit Graph

170 Commits

Author SHA1 Message Date
David Legrand 3efa05cc10 feat: hide posts in Prod with future pubDatetime (#234)
* Hide posts when PubDateTime is not reached

* refactor: extract filter logic into a file

* docs: update SITE config docs

---------

Co-authored-by: satnaing <satnaingdev@gmail.com>
2024-01-15 19:40:02 +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
satnaing a5a7e7459a style: remove unnecessary margin 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
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
tanishqmanuja 6352353470 feat: dynamically generate robots.txt 2023-10-03 13:44:57 +06:30
tanishqmanuja 300d014fd7 feat: og image routes 2023-09-26 02:04:11 +06:30
tanishqmanuja b5308debab chore: remove unused file 2023-09-26 02:04:11 +06:30
tanishqmanuja d10e8dfb78 refactor: post slug routing 2023-09-26 02:04:11 +06:30
Tanishq Manuja 6c7d04fa12 feat: add view transitions for card on search page (#118)
* feat: use predictable slug for card transition

* feat: enable view transitions in search card

* refactor: use Card.tsx instead of Card.astro

* refactor: handle card styling in component

* refactor: remove unused class name

---------

Co-authored-by: Sat Naing <satnaingdev@gmail.com>
2023-09-26 02:04:11 +06:30
satnaing 1933a6beae fix: update auto-gen OG images to allow special char usage in title
Update the implementation of og image generation code to allow special character usage in title.

fix #103, fix #88
2023-09-26 02:04:11 +06:30
satnaing 08e4f545a0 refactor: display only non-featured posts in Recent Section 2023-09-26 02:04:11 +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 e486687610 feat: upgrade to astro v3
Upgrade to astro v3. Update dependencies. Fix codes and features due to migration.

BREAKING CHANGE: Astro v3

resolve #111
2023-09-26 02:04:11 +06:30
Parinya T b571816dcd fix: sort posts in [tag] page (#101)
* fix: sorted posts in tags page
2023-08-09 14:08:16 +06:30
satnaing e017dcf9a5 style: format files with prettier 2023-06-21 11:48:07 +06:30
satnaing 08151881cc style: format file with prettier 2023-03-24 23:48:15 +06:30
Salman Hossain Saif 9e62b637e8 fix: sort rss feed from latest to oldest (#38)
* Sorted the rss feed from latest to oldest. Which is crucial for RSS readers.

* sorted rss using util func

* refactor: remove redundant draft filter and update import positions

---------

Co-authored-by: Saif71 <>
Co-authored-by: Sat Naing <satnaingdev@gmail.com>
2023-03-17 13:14:10 +06:30
satnaing 1a427285f3 style: format styles with Tailwind Prettier plugin 2023-01-31 15:53:49 +06:30
satnaing 50af65b0b4 refactor: update ogImage.src to ogImage 2023-01-30 20:57:35 +06:30
satnaing 1fbb2d3c4d refactor: move filtering draft to getCollection func 2023-01-29 21:25:54 +06:30
satnaing 4a0bd18b1b refactor: remove unnessary types and refactor excluding draft
Exclude types of postResult and pagePaths  which can be inferred. Filtered draft posts in
getCollection function.
2023-01-29 21:17:12 +06:30
satnaing c192cd8e50 fix: exclude draft posts in specific tag page 2023-01-29 20:08:01 +06:30
satnaing e8171d327e refactor: update for new content collection api 2023-01-28 01:23:37 +06:30
satnaing 1717222a8b refactor: update querying logic with content collections api 2023-01-28 01:15:36 +06:30
satnaing db385b6567 refactor: update to AstroV2 and remove headings on search result
Update imports and types according to Astro v2 content collections. Remove headings on search result
for better search accuracy.
2023-01-28 00:58:40 +06:30
satnaing 0fe14f4217 refactor: refactor relative imports to aliases 2023-01-28 00:52:18 +06:30
satnaing 293bad3b49 refactor: update fetch method and frontmatter type 2023-01-26 22:56:02 +06:30
satnaing 42eb018889 fix: hide social links section if no link is active
fix #16
2022-12-28 19:18:50 +06:30
Sat Naing ce3f1dc4a0 feat: generate dynamic og image for blog posts (#15)
* feat: add dynamic og image using satori
* feat: add og card styling
* feat: add dynamic paths for ogTitle
* feat: add default og url
* ci: change config site url for testing purpose
* fix: update original auto-generate og image style
* refactor: move ogImage jsx inside generateOgImage
* fix: add conditions for filtering draft posts & ogImages
* build: update minor and major dependency updates
* build: update site option in config file
2022-12-28 09:09:57 +06:30
satnaing 1c2821e4df fix: disable access to draft posts via url 2022-12-02 23:28:45 +06:30
satnaing 19e34a0801 fix: fix calculating draft posts in totalPages 2022-12-02 23:27:18 +06:30
satnaing e0f93dab02 fix: displays featured section only if featured posts exist 2022-12-02 23:00:57 +06:30
satnaing c360473d88 docs: update hero section text 2022-11-29 22:43:55 +06:30
satnaing 06ee08cc94 refactor(a11y): add aria-label in heading, remove vo from symbol 2022-11-27 23:20:06 +06:30
satnaing b83c906262 fix: fix broken post links and hide draft posts in rss feed 2022-11-11 15:31:20 +06:30
Sat Naing 20822c422a chore: format files with prettier 2022-10-16 23:53:16 +06:30
elpekenin a256dedb73 Change glob 2022-10-16 12:17:36 +02:00
elpekenin a285b3e564 Fix styling 2022-10-16 11:21:27 +02:00
elpekenin 7ef631fe35 Add Socials component to avoid code duplication 2022-10-16 09:26:35 +02:00
Sat Naing 745feae842 Update hero paragraph 2022-09-26 23:25:33 +06:30
Sat Naing 3771103361 Update about content 2022-09-26 23:25:03 +06:30
Sat Naing df307b7a5f Update typo Astro-Paper to AstroPaper 2022-09-26 12:12:23 +06:30
Sat Naing 4a23a7dca7 Remove unused code 2022-09-25 21:17:15 +06:30
Sat Naing d275f607a3 Add headings in search result 2022-09-25 19:44:36 +06:30
Sat Naing e8c15931d8 Update items link with slugify function 2022-09-25 19:26:02 +06:30
Sat Naing be71f34ed5 Reposition slugify import 2022-09-25 19:08:42 +06:30
Sat Naing 6e79189afd Update slug url with new function's slugified url 2022-09-25 19:07:47 +06:30