Commit Graph

161 Commits

Author SHA1 Message Date
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
Sat Naing a22adcabc4 Update about features section 2022-09-22 23:49:32 +06:30
Sat Naing 755576fbc5 Filter draft posts when calculating total pages 2022-09-22 23:44:21 +06:30
Sat Naing b3e43ba2dc Display sorted/filtered posts in feature section 2022-09-22 23:37:53 +06:30
Sat Naing 00689f1cba Add filter for draft posts 2022-09-22 23:37:09 +06:30
Sat Naing 300fd568e9 Replace env variable with SITE config object 2022-09-22 21:32:02 +06:30
Sat Naing eb27fbd33c Replace socialLinks array with SOCIALS config 2022-09-22 21:17:56 +06:30
Sat Naing b8a08dc794 Update import of type definition 2022-09-22 20:51:35 +06:30
Sat Naing 9e351fe26d Move types definition under src directory 2022-09-22 20:39:51 +06:30
Sat Naing cca1f260e5 Update social links text style to be whitespace-nowrap 2022-09-21 23:00:01 +06:30