Commit Graph

125 Commits

Author SHA1 Message Date
tanishqmanuja 1cc51c00a7 refactor: use astro generated CollectionEntry type 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 a060cb5c87 feat: add transition effect if light/dark changes 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 87b3e5b8cd fix: update title of the blog nowrap 2023-09-26 02:04:11 +06:30
satnaing e017dcf9a5 style: format files with prettier 2023-06-21 11:48:07 +06:30
Chris Kerr 99b27240ec perf: memoize fuse search results with useMemo (#71)
Memoise the value of fuse based off of the search list to prevent reinstantiating it on search keypress.
2023-05-15 11:07:17 +06:30
Nihaal Sangha a57f3439f8 fix: replace history entries when searching (#62) 2023-05-15 08:47:29 +06:30
satnaing 4c1b9c89f3 refactor: update LinkButton role type
Fix Subtype missing error on 'a' element.
2023-04-18 23:24:39 +06:30
satnaing 0f764242fe fix: update menu element with svg and refactor toggle logic
Replace div element in menu button with svg. Refactor toggle-menu JS logic to be more concise.
2023-04-18 23:19:38 +06:30
Andrea Mignone 0e9f709c5d feat: add locale configuration for Datetime component (#59) 2023-04-17 23:56:58 +06:30
Sha Mwe La a9631d0e1e feat: add ESLint and update linting errors (#26)
* Install ESLint and Astro ESLint plugin

* Configure 2 plugins

* Improve ignore files

* Add lint script

* Install astro-eslint-parser

* Add parser and fix linting errors
2023-02-02 16:24:38 +06:30
satnaing 1a427285f3 style: format styles with Tailwind Prettier plugin 2023-01-31 15:53:49 +06:30
satnaing a61fd45559 fix: fix broken tags in PostDetails page 2023-01-29 21:01:11 +06:30
satnaing c556202c97 fix: make the last part of breadcrumb lowercase in specific tag page 2023-01-29 20:49:44 +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 bf4f687d2d fix: resolve initial onChange input value bug
URL and search results don't get updated when input box value is removed after reload the page. Fix
this problem.
2023-01-28 00:55:30 +06:30
satnaing 0fe14f4217 refactor: refactor relative imports to aliases 2023-01-28 00:52:18 +06:30
satnaing 8cc6947799 refactor: update datetime prop type to string and date 2023-01-28 00:50:07 +06:30
satnaing d815b5b9b2 revert: revert back to JSX Card component 2023-01-28 00:25:36 +06:30
satnaing 7c1de46462 refactor: update frontmatter type and change React to Astro 2023-01-26 22:54:24 +06:30
satnaing 46ea4aa49a feat: update mobile nav to be accessible
Put 'Open Menu' button under nav tag. Add aria-label, aria-expanded and aria-controls in 'Open Menu'
button. Make the entire nav to be more accessible.
2022-12-06 22:48:15 +06:30
satnaing 93e67bf2be refactor: remove unused css for hr 2022-12-05 23:29:43 +06:30
satnaing 9980854686 refactor: remove unused (commented) styles 2022-12-04 23:54:40 +06:30
Shoubhit Dash eceb289562 fix: should be 0 results not result 2022-11-30 06:43:02 +00:00
satnaing b05b6654f6 fix: add missing seperator in Breadcrumb 2022-11-28 18:36:44 +06:30
satnaing 3442232c35 refactor(a11y): make nav links and buttons bigger on mobile devices
The navigation links/buttons can be a struggle for mobile devices where users use their finger.
Thus, nav links/buttons are made to be bigger to meet touch size guidelines.
2022-11-28 15:43:17 +06:30
satnaing c9f796f4e6 refactor(a11y): add linkTitle in social links for more meaningful voiceover 2022-11-28 13:38:08 +06:30
satnaing 2ba459b413 refactor(a11y): update theme switch button for better accessibility
Update title, add aria-label and aria-live in theme switch button.
2022-11-26 23:45:17 +06:30
satnaing 5a67afc6b2 refactor(a11y): add aria-hidden in horizontal divider (<hr />) 2022-11-26 20:09:37 +06:30
satnaing 4ae0a9c722 refactor(a11y): improve vo a11y for search field 2022-11-26 19:45:42 +06:30
satnaing d294526020 refactor(style): move 'Posted on:' span text below the svg image for layout 2022-11-26 16:12:22 +06:30
satnaing 9e92f71838 refactor(a11y): update LinkButton for disabled state 2022-11-26 16:03:21 +06:30
satnaing 57c3f796d4 feat(a11y): improve voiceover a11y for datetime component
Remove formatDatetime function. Created a JSX function component (FormattedDatetime) inside Datetime
component. This component returns formatted date and time with better voiceover enhancements.
2022-11-26 15:53:26 +06:30
satnaing cabf30bc8e fix(a11y): improve breadcrumb to be more accessible when using with voiceover
Move seperator from CSS :before to HTML span element. Hide seperator on voiceover. Update style for
that seperator.
2022-11-25 22:22:24 +06:30
satnaing f7fb032e60 fix: show search result only if input is more than one char 2022-11-04 10:39:28 +06:30
Sat Naing 00c3bf9929 refactor: remove unnecessary condition checks for /posts 2022-10-17 22:04:11 +06:30
Sat Naing 20822c422a chore: format files with prettier 2022-10-16 23:53:16 +06:30
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 b17c5f452e Remove unused import 2022-09-29 11:30:00 +06:30
Sat Naing 33bab9c489 Update search functionality - dynamic url update, auto focus 2022-09-29 11:29:37 +06:30
Sat Naing 8476d841de Update search box focus style to be border-accent 2022-09-26 23:06:44 +06:30
Sat Naing 2caffc2f3b Remove card title underline style while focus 2022-09-26 12:31:07 +06:30
Sat Naing 81fced6333 Update background and text color of Skip to main button 2022-09-26 00:09:55 +06:30
Sat Naing 58cb6ba8e5 Add 2 color scheme config option 2022-09-25 21:42:06 +06:30
Sat Naing d275f607a3 Add headings in search result 2022-09-25 19:44:36 +06:30
Sat Naing 93fa12a25b Update search result url with slugified url 2022-09-25 19:11:19 +06:30
Sat Naing 0983bcf8e1 Remove slugifying tag names 2022-09-25 19:10:17 +06:30