Commit Graph

64 Commits

Author SHA1 Message Date
satnaing 67b9536cce refactor: replace secHeading with variant prop in Card 2025-03-18 07:57:07 +07:00
satnaing 79c7df45e5 feat: update back button logic
Instead of saving back url in the param, save the
back url info inside session.
2025-03-08 18:21:37 +07:00
Sat Naing 35429176e0 refactor!: remove react dependency for UI interactions (#457)
Remove react as a dependency for UI interactions.
Update jsx components such as Search and Datetime
with astro components.
2025-03-08 18:21:37 +07:00
satnaing 172e14b5f4 build!: upgrade to Tailwind CSS v4 2025-03-08 18:21:37 +07:00
satnaing cc936ca5e4 build!: upgrade Astro to v5 and related packages 2025-03-08 18:21:37 +07:00
David Legrand 0d5ea52c23 feat: add number of posts config for home page (#281)
* Add a SITE config parameter for posts in index page

* docs: update blog post for `postPerIndex` config

---------

Co-authored-by: satnaing <satnaingdev@gmail.com>
2024-07-14 16:48:49 +07:00
面条 b3a1d9d369 fix: add trailing slash to links to avoid extra redirects (#246)
Add trailing slash to links for improved consistency with RSS links and to avoid unnecessary redirects.

---------

Co-authored-by: satnaing <satnaingdev@gmail.com>
2024-01-25 10:24:28 +06:30
Sat Naing 629dbfda5b fix: remove recent posts section if there's no post (#238)
Changes made:
- Removed the recent posts section if there's no post under the recent section.
- Eliminated unnecessary <Hr /> tags when there's no recent post.
- Extracted all-links from the recent section and put it above the footer.

Closes: #204
2024-01-18 09:38:41 +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
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 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
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 e8171d327e refactor: update for new content collection api 2023-01-28 01:23:37 +06:30
satnaing 42eb018889 fix: hide social links section if no link is active
fix #16
2022-12-28 19:18:50 +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
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 df307b7a5f Update typo Astro-Paper to AstroPaper 2022-09-26 12:12:23 +06:30
Sat Naing 6e79189afd Update slug url with new function's slugified url 2022-09-25 19:07:47 +06:30
Sat Naing b3e43ba2dc Display sorted/filtered posts in feature section 2022-09-22 23:37:53 +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 cca1f260e5 Update social links text style to be whitespace-nowrap 2022-09-21 23:00:01 +06:30
Sat Naing a0e0830754 Rotate social icons 6deg on hover 2022-09-19 23:28:07 +06:30
Sat Naing eb60d0e9d0 Replace Card & Datetime astro components with react components 2022-09-19 22:19:05 +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
Sat Naing 00ca11ff35 Add aria-label and title in links and LinkButton 2022-09-17 01:10:14 +06:30
Sat Naing 8ca109f5c9 Update top padding from 12 to 8 2022-09-17 00:36:56 +06:30
Sat Naing 84a04f3f2d Add rss link icon in hero section 2022-09-14 02:07:30 +06:30
Sat Naing 4620636def Update title texts 2022-09-13 16:32:29 +06:30
Sat Naing ef38b4526e Update social media icons and links 2022-09-13 00:59:34 +06:30
Sat Naing 42e803cf28 Update hero section main paragraph 2022-09-13 00:26:15 +06:30
Sat Naing 931e8e0792 Update main element with id 'main-content' 2022-09-12 18:57:31 +06:30
Sat Naing 8b4cda6b73 Replace relative imports with util import alias 2022-09-11 14:15:52 +06:30
Sat Naing d5bd7515d3 Update Frontmatter type from util 2022-09-11 14:10:39 +06:30
Sat Naing 38a33fe967 Replace hr with Hr component 2022-09-11 12:15:59 +06:30
Sat Naing b41febecd8 Update section padding and rename section ids 2022-09-11 11:48:43 +06:30
Sat Naing 1748ddbeb7 Add and update hr between sections 2022-09-11 11:43:31 +06:30
Sat Naing 99c3ec1152 Update contents' path and and href for replaced contents 2022-09-11 01:57:21 +06:30