Commit Graph

675 Commits

Author SHA1 Message Date
satnaing c19f3a0e5a refactor: update imports and frontmatter types 2023-01-28 00:47:21 +06:30
satnaing d67e64e02d refactor: refactor relative import to alias 2023-01-28 00:44:58 +06:30
satnaing b420e688ca feat: define blog schema and add blog collection 2023-01-28 00:38:05 +06:30
satnaing 041f5412f8 refactor: move blog posts under content directory 2023-01-28 00:29:15 +06:30
satnaing d815b5b9b2 revert: revert back to JSX Card component 2023-01-28 00:25:36 +06:30
satnaing 293bad3b49 refactor: update fetch method and frontmatter type 2023-01-26 22:56:02 +06:30
satnaing 7c1de46462 refactor: update frontmatter type and change React to Astro 2023-01-26 22:54:24 +06:30
satnaing 57bf6d77a8 refactor: update getSortedPosts func for blog content collections 2023-01-26 22:43:35 +06:30
satnaing e7b93c560f refactor: modify slugger for blog content collection 2023-01-26 22:42:15 +06:30
satnaing 7243d29607 refactor: remove Frontmatter type 2023-01-26 22:40:10 +06:30
satnaing 4e7d9843d7 refactor: define blog schema and clean up config 2023-01-26 22:39:26 +06:30
satnaing 309f4a3c45 chore: add content collections configuration 2023-01-26 18:39:58 +06:30
satnaing 7062fbf527 chore(types): update astro types 2023-01-25 19:53:25 +06:30
satnaing 52197d319d perf: update font load strategy for better performance 2023-01-19 18:21:13 +06:30
satnaing 35a095c33a Merge branch 'main' of https://github.com/satnaing/astro-paper 2023-01-03 21:05:29 +06:30
satnaing 86fbbe82c8 refactor: disable Mastodon social link 2023-01-03 21:05:20 +06:30
Amarjeet 6b2c0d3dbf Fix typo in dynamic-og-images.md 2023-01-03 12:01:39 +05:30
satnaing 945acf4260 fix: fix typo in title and slug 2022-12-30 17:19:52 +06:30
satnaing 2c98093241 docs: describe svg limitation for Twitter card 2022-12-30 16:14:44 +06:30
satnaing 9434d850e1 fix: use default-og for twitter card 2022-12-30 16:14:12 +06:30
satnaing af517cd486 docs: add a new blog post for v1.4.0 2022-12-29 22:35:12 +06:30
satnaing 93221239dd fix: add embedFont option for Satori 2022-12-29 22:07:55 +06:30
satnaing 82725e806c docs: update num of social links in docs 2022-12-28 19:30:43 +06:30
satnaing 2ec39128c6 feat: add Mastodon social link 2022-12-28 19:27:20 +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 d7e28c700f build: add google-site-verification tag in the header 2022-12-20 22:42:29 +06:30
RealOtakuBoi 02faff9fbd fix: fix grammar mistake
Update 'to made' -> 'to make'.
2022-12-11 23:59:59 +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
satnaing 1a3424c965 refactor: update default og image 2022-12-03 16:25:12 +06:30
satnaing 6b35c7fc2f fix: hide pagination when there's only 1 page 2022-12-02 23:37:32 +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
Shoubhit Dash eceb289562 fix: should be 0 results not result 2022-11-30 06:43:02 +00:00
satnaing d1450acfa3 refactor: remove redundant 'Navigation' word in pagination aira-label 2022-11-29 23:10:22 +06:30
satnaing c360473d88 docs: update hero section text 2022-11-29 22:43:55 +06:30
satnaing 7788331d36 docs: update docs for new version release 2022-11-28 22:44:13 +06:30
satnaing a45176203e refactor: rename the type SocialsObject to SocialObjects 2022-11-28 22:01:59 +06:30
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 307b55ff0f fix(typo): rename Linkedin to LinkedIn 2022-11-28 13:35:30 +06:30
satnaing 06ee08cc94 refactor(a11y): add aria-label in heading, remove vo from symbol 2022-11-27 23:20:06 +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 0eeed8e870 refactor: update toggle theme function for better structure and a11y
Move theme switch js codes in Layout.astro file to external js file (toggle-theme.js). Update
.prettierignore to exclude the new toggle-theme.js file.  Update base.css for new data-theme
attribute.
2022-11-26 23:43:27 +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