Commit Graph

16 Commits

Author SHA1 Message Date
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
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 cbdaa59bae feat: add ViewTransitions from Astro
Integrate ViewTransitions API from Astro v3.

resolve #96
2023-09-26 02:04:11 +06:30
satnaing e017dcf9a5 style: format files with prettier 2023-06-21 11:48:07 +06:30
satnaing 1a427285f3 style: format styles with Tailwind Prettier plugin 2023-01-31 15:53:49 +06:30
satnaing 38761e2e8f refactor: update collection type and new schema property name 2023-01-28 01:18:25 +06:30
satnaing 6b35c7fc2f fix: hide pagination when there's only 1 page 2022-12-02 23:37:32 +06:30
satnaing d1450acfa3 refactor: remove redundant 'Navigation' word in pagination aira-label 2022-11-29 23:10:22 +06:30
satnaing 408fc4c7aa fix(a11y): update previous and next (disabled) buttons for vo a11y 2022-11-26 16:13:33 +06:30
Sat Naing 7877a0c66b Reposition slugify import 2022-09-25 19:09:35 +06:30
Sat Naing 6e79189afd Update slug url with new function's slugified url 2022-09-25 19:07:47 +06:30
Sat Naing 300fd568e9 Replace env variable with SITE config object 2022-09-22 21:32:02 +06:30
Sat Naing ed6a259481 Set posts/1 to posts in prev link 2022-09-21 09:27:17 +06:30
Sat Naing 3cff5cabb1 Set tabindex to -1 when prev/next link is disabled 2022-09-21 09:23:03 +06:30
Sat Naing 7d6b39abc0 Update pagination container with semantic nav element 2022-09-20 23:46:06 +06:30
Sat Naing 30a3154dbc Add Posts layout for displaying posts 2022-09-20 20:55:26 +06:30