satnaing
cd02b047d2
fix : #133 update LOCALE config to cover overall locales
...
Update LOCALE inside config.ts to include html lang value and datetime locale values. Updated respective files and blog post.
Closes : #133
2023-12-20 10:50:45 +06:30
satnaing
c526157118
feat: implement back-to-top button in blog post page
...
Implement back-to-top button under tags in PostDetails page. Update html scroll-behavior to smooth.
Closes : #156
2023-12-15 14:21:17 +06:30
tanishqmanuja
88d9343ab5
feat: use new og images in layout
2023-09-26 02:04:11 +06:30
tanishqmanuja
7f3edbdecd
fix: get og image url correctly
2023-09-26 02:04:11 +06:30
tanishqmanuja
6dffcf3cb3
fix: og image src
...
related to: 3e0109c12e708351df60df7b938e8bcc07807540
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
1933a6beae
fix: update auto-gen OG images to allow special char usage in title
...
Update the implementation of og image generation code to allow special character usage in title.
fix #103 , fix #88
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
f25377674e
feat: update theme-color tag on theme switch
2023-09-26 02:04:11 +06:30
Nahuel Garbezza
4687bd516b
feat: support custom canonical URLs ( #83 )
...
Adding an optional attribute in the posts' frontmatter that allows the user to set a custom canonical URL
2023-07-23 10:55:19 +06:30
satnaing
e017dcf9a5
style: format files with prettier
2023-06-21 11:48:07 +06:30
Gabriel Kanev
f6ac8104b2
fix: add missing sitemap in head ( #69 )
2023-05-15 10:30:57 +06:30
satnaing
e8bd3911b3
refactor: update slugify logic inside the component itself
2023-05-15 10:05:11 +06:30
Jingwei Gao
49d7f77a86
Fix: slugify tags in post detail page
2023-05-01 17:36:00 +08:00
satnaing
ccb5a7787c
refactor: update imports paths
2023-03-23 23:20:33 +06:30
Sat Naing
27507d1d78
feat: generate og images in png format ( #43 )
...
* feat: generate og images in png format
In production mode, generate og images from svg to png format.
fix #40
* refactor: update og image format from svg to png
Update OG image format in post detail to png. Update twitter og images to auto-generated dynamic og
images.
2023-03-01 18:46:42 +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
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