Commit Graph

102 Commits

Author SHA1 Message Date
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
Sat Naing e5b2f04f9a Update [slug] page to render both post detail and post page 2022-09-20 20:57:43 +06:30
Sat Naing 598e231f4a Update post/index page to display page 1 2022-09-20 20:56:58 +06:30
Sat Naing a0e0830754 Rotate social icons 6deg on hover 2022-09-19 23:28:07 +06:30
Sat Naing cc58aca6ee Add custom 404 page 2022-09-19 22:58:00 +06:30
Sat Naing eb60d0e9d0 Replace Card & Datetime astro components with react components 2022-09-19 22:19:05 +06:30
Sat Naing bb855785a5 Update about content 2022-09-19 22:04:57 +06:30
Sat Naing 419341c983 Update social icons and displaying structure 2022-09-19 12:48:22 +06:30
Sat Naing 856ade7675 Remove top margin in social icons 2022-09-19 11:18:37 +06:30
Sat Naing 01af7ad687 Update about and hero section text contents 2022-09-19 11:17:17 +06:30