Commit Graph

150 Commits

Author SHA1 Message Date
satnaing 50af65b0b4 refactor: update ogImage.src to ogImage 2023-01-30 20:57:35 +06:30
satnaing 38761e2e8f refactor: update collection type and new schema property name 2023-01-28 01:18:25 +06:30
satnaing 0fe14f4217 refactor: refactor relative imports to aliases 2023-01-28 00:52:18 +06:30
satnaing 52197d319d perf: update font load strategy for better performance 2023-01-19 18:21:13 +06:30
satnaing 9434d850e1 fix: use default-og for twitter card 2022-12-30 16:14:12 +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
satnaing 6b35c7fc2f fix: hide pagination when there's only 1 page 2022-12-02 23:37:32 +06:30
satnaing d1450acfa3 refactor: remove redundant 'Navigation' word in pagination aira-label 2022-11-29 23:10:22 +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 408fc4c7aa fix(a11y): update previous and next (disabled) buttons for vo a11y 2022-11-26 16:13:33 +06:30
satnaing 5eeea6639e fix: fix heading style in posts/<page-num> layouts
Heading styles not applying properly in Main.astro layout. Fix this problem by applying id selector.
2022-11-03 18:51:28 +06:30
Sat Naing 20822c422a chore: format files with prettier 2022-10-16 23:53:16 +06:30
Sat Naing 88b95df2e4 Update about layout prose style 2022-09-26 12:18:16 +06:30
Sat Naing 3bc440144a Add primaryColorScheme feature 2022-09-26 12:04:10 +06:30
Sat Naing e6e70f713e Add bold and italic font style 2022-09-26 12:03:40 +06:30
Sat Naing 10358b0fbf Add prefers-color-scheme media query 2022-09-26 10:11:18 +06:30
Sat Naing 25bc1e06cf Remove prose-slate style 2022-09-26 02:28:05 +06:30
Sat Naing 350f586e4d Update outline style of Go Back button 2022-09-26 00:09:02 +06:30
Sat Naing 7877a0c66b Reposition slugify import 2022-09-25 19:09:35 +06:30
Sat Naing 6e79189afd Update slug url with new function's slugified url 2022-09-25 19:07:47 +06:30
Sat Naing ef1fac6043 Set default og image even when empty string is specify 2022-09-23 13:30:58 +06:30
Sat Naing 300fd568e9 Replace env variable with SITE config object 2022-09-22 21:32:02 +06:30
Sat Naing 9db22658ed Replace env values with SITE config object 2022-09-22 21:20:40 +06:30
Sat Naing b8a08dc794 Update import of type definition 2022-09-22 20:51:35 +06:30
Sat Naing fe92f303d4 Update PostDetails layout to accept author, desc and og image 2022-09-21 14:08:47 +06:30
Sat Naing ed6a259481 Set posts/1 to posts in prev link 2022-09-21 09:27:17 +06:30
Sat Naing 3cff5cabb1 Set tabindex to -1 when prev/next link is disabled 2022-09-21 09:23:03 +06:30
Sat Naing 7d6b39abc0 Update pagination container with semantic nav element 2022-09-20 23:46:06 +06:30
Sat Naing 6bc75bac9a Replace breadcrumbs with go back button 2022-09-20 22:21:37 +06:30
Sat Naing 17dfe7f24c Add PostDetails layout for each post 2022-09-20 20:55:53 +06:30
Sat Naing 30a3154dbc Add Posts layout for displaying posts 2022-09-20 20:55:26 +06:30
Sat Naing 3a34456655 Eliminate google font style link to prevent render-blocking 2022-09-17 14:26:35 +06:30
Sat Naing 9478fba457 Add Breadcrumbs component and remove top margin 2022-09-17 00:36:18 +06:30
Sat Naing 735ce8b0fd Remove top padding and updat paragraph italic 2022-09-17 00:35:22 +06:30
Sat Naing 2eff1781cd Add Breadcrumb component in Main layout 2022-09-17 00:34:42 +06:30
Sat Naing 98e45890f7 Fix og image to be at root url always 2022-09-14 00:05:52 +06:30
Sat Naing 91791e45f6 Add dynamic site titles 2022-09-13 23:53:35 +06:30
Sat Naing 50c3309907 Improve SEO by adding necessary meta tags 2022-09-12 22:41:30 +06:30
Sat Naing 931e8e0792 Update main element with id 'main-content' 2022-09-12 18:57:31 +06:30
Sat Naing a924d6e440 Add with 100% in main to solve overflow problem 2022-09-12 09:26:32 +06:30
Sat Naing 499ef6d9c2 Create AboutLayout for about page 2022-09-11 23:14:40 +06:30
Sat Naing efec1d3f07 Refactor body class codes to base.css 2022-09-11 15:25:14 +06:30
Sat Naing b19fd5d986 Update body min-height and body style flex 2022-09-11 15:23:49 +06:30
Sat Naing 60cb5e557d Create Main component 2022-09-10 16:17:15 +06:30
Sat Naing f995485c09 Add light/dark mode functionality 2022-09-09 00:48:23 +06:30
Sat Naing 0d5378969f Add IBM Plex Mono font 2022-09-08 22:51:27 +06:30
Sat Naing 147d934e97 Add custom base style of Tailwind 2022-09-08 21:42:09 +06:30
Sat Naing 2ffd37cb25 Add social media & SEO meta tags 2022-09-08 20:57:24 +06:30
Sat Naing 44cf5afeba Initial commit from Astro 2022-09-08 19:20:34 +06:30