Alexander Fuks
f865336c89
feat: make post description customizable ( #1602 )
...
---------
Co-authored-by: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
2024-03-18 18:50:05 +08:00
Alexander Fuks
b641b3f1f2
feat(analytics)!: add post pageviews for GoatCounter ( #1543 )
...
---------
Co-authored-by: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
2024-02-26 02:50:41 +08:00
Cotes Chung
06f1c6f256
refactor: align the position of the share buttons
2023-11-08 01:16:00 +08:00
Natalie Somersall
2bf87e0de7
feat: add Mastodon sharing link ( #1344 )
...
Adds a "share to Mastodon" button as a link sharing option using @justinribeiro's share-to-mastodon package
Discussion of proposed change - #1324
---------
Co-authored-by: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
2023-10-30 02:02:58 +08:00
Cotes Chung
50835b4c71
refactor: optimize meta font size
2023-10-08 04:40:16 +08:00
Cotes Chung
2574118f40
perf(ui): standardize metadata text styles ( #1295 )
2023-10-04 14:29:44 -05:00
Cotes Chung
bf3a34d054
perf(core): replace lazysizes
with browser-level lazy loading ( #1267 )
2023-09-27 04:44:32 +08:00
Cotes Chung
13a3c3c906
perf(layout): improve margins for tail block ( #1243 )
...
Keeps the margin of the elements in the tail area consistent regardless of the number of siblings, or if a <script> is inserted.
2023-09-18 03:26:02 +08:00
Cotes Chung
aff7566774
feat(ui): update the twitter icon ( #1221 )
2023-09-10 20:23:34 +08:00
Cotes Chung
505e314a31
perf: refactor using semantic HTML ( #1207 )
...
Fixes #1196
2023-09-08 22:48:37 +08:00
Cotes Chung
229c2a2e2b
feat(posts): render heading 4 in TOC ( #1023 )
2023-09-03 20:20:14 +08:00
Cotes Chung
37c976499e
perf(ui): improve web accessibility ( #447 )
...
- Make color and contrast meets WCAG 2 AA and above
- Fixes `aria-label` on button "copy link" in posts
2023-08-02 21:08:56 +08:00
Cotes Chung
e07e6d46d7
refactor: revert media query range notation ( #1072 )
...
Media queries range syntax not supported by Safari for iOS under 16.4
See also:
- https://caniuse.com/?search=media-queries
This reverts commit 1682ce9d7c
.
2023-07-02 20:16:36 +08:00
Cotes Chung
1682ce9d7c
style(scss): fix style-lint media-feature-range-notation
issue ( #1072 )
...
See also: https://stylelint.io/user-guide/rules/media-feature-range-notation/
2023-06-04 12:29:33 +08:00
Cotes Chung
52f5ee9cd3
perf: calculate heading font size dynamically ( #983 )
2023-05-13 11:35:55 +08:00
Cotes Chung
d9e1d84f08
refactor(deps): upgrade bootstrap from v4.6 to v5.2
...
- update class name of the spacing, font style, cards and toasts
- update attribute names & tooltip usage
- remove custom smooth scroll
- syntax colors
2023-05-13 02:05:33 +08:00
Cotes Chung
2a4d67d65c
refactor: uniform block border radius
...
scope:
- categories
- posts (prompt, code snippets)
2023-05-13 02:05:32 +08:00
Cotes Chung
7626e4d005
perf(ui): improve hover effect for post preview cards
...
- home cards
- navigator buttons at the bottom post
2023-05-13 02:05:31 +08:00
Cotes Chung
34499f0c92
perf(ui): improve hover effect of trending tags
2023-05-13 02:05:31 +08:00
Cotes Chung
2918da9f29
perf(ui): improve related posts design
2023-05-13 02:05:31 +08:00
Cotes Chung
97b8dfeed6
feat(ui): show preview image in home page
2023-05-13 02:05:30 +08:00
Cotes Chung
02b7bd5095
feat: change TOC plugin to tocbot
( #774 )
2023-03-16 03:00:29 +08:00
Cotes Chung
b1453ccb0c
chore: delete useless code
2023-02-18 10:43:16 +08:00
Cotes Chung
e01eb8af14
refactor: unify the border radius of blocks
...
scope: code blocks, prompts, images, and videos
2022-12-25 00:00:08 +08:00
Cotes Chung
4b6ccbcbcc
feat: set preview image ratio to 1.91 : 1
2022-12-25 00:00:07 +08:00
Cotes Chung
ab16fdc7fc
feat: add shimmer background when image loads
2022-12-24 23:51:47 +08:00
Cotes Chung
bffaf6374f
feat: support LQIP for images
2022-12-15 02:27:12 +08:00
Cotes Chung
ca41c7ebff
chore(deps): use lazysizes
to load images
2022-12-09 07:36:06 +08:00
Cotes Chung
e7dee2a589
refactor: update vendor prefix in SCSS
...
{
"browsers": [
"last 2 versions",
"> 0.2%",
"not dead"
]
}
2022-10-22 03:26:22 +08:00
Cotes Chung
a6ce765082
style: improve SCSS style
2022-10-22 03:26:22 +08:00
Cotes Chung
eac3f9b434
perf(typography): optimize the line height of post content
2022-10-09 20:10:03 +08:00
Naufal Shidqi
0dcd39d491
fix: add missing color to linkedin icon for share list ( #683 )
2022-09-07 23:28:05 +08:00
Cotes Chung
2bd6efa95a
feat: support showing description of preview image
...
Also moved the image position to the metadata area
2022-04-26 04:55:38 +08:00
Cotes Chung
6d35f5f8da
perf: avoid the layout shift for post datetime
2022-04-26 04:55:37 +08:00
Cotes Chung
55fd119d35
Fix hover color for links at the tail of posts
2022-01-28 23:48:46 +08:00
Cotes Chung
4360e2938c
Avoid Disqus jitter
2021-12-31 20:49:00 +08:00
Cotes Chung
ecf31ff308
Fix the code style of SASS
2021-12-31 00:33:04 +08:00
Cotes Chung
d315bf57e7
Integrate utterances comments
2021-12-13 04:40:05 +08:00
Cotes Chung
09e8eb4274
Make the preview image full screen width on mobile
2021-12-10 21:54:24 +08:00
Cotes Chung
df81012e28
Always close the top bar when smooth scrolling
2021-12-10 00:28:50 +08:00
Cotes Chung
cf6c8e9b3a
Improve accessibility of panel heading elements
2021-12-07 23:09:00 +08:00
Cotes Chung
cf8dae9454
Merge branch 'feature/improve-meta-display'
...
# Conflicts:
# _sass/addon/commons.scss
2021-12-05 17:46:14 +08:00
Cotes Chung
e2003f2b03
Add a link to the author of the post
2021-12-05 04:42:53 +08:00
Cotes Chung
563e8085e8
Redesign the post meta layout
...
- posted date
- updated date
- read time
- license statement of post bottom
- also refactor the `timeago.js`
2021-12-05 04:42:53 +08:00
Cotes Chung
3c91dc1f6f
Move the preview image of the post to the top
2021-12-03 16:36:40 +08:00
Cotes Chung
1c758cf4a2
Update related styles
2021-12-02 05:54:43 +08:00
Cotes Chung
b5c26fed08
Fix SCSS code style
2021-10-26 04:29:16 +08:00
Cotes Chung
77c2009658
Improve the layout of toc entries
2021-09-29 22:17:22 +08:00
Cotes Chung
063b2a6651
Prevent Disqus from jumping when page loading
2021-09-29 03:24:41 +08:00
Cotes Chung
9e9278ce30
Fix code style of SCSS files
2021-09-24 15:35:44 +08:00