Commit Graph

53 Commits

Author SHA1 Message Date
saicaca 66463dd012 Merge branch 'toc-new'
# Conflicts:
#	astro.config.mjs
#	pnpm-lock.yaml
#	src/components/GlobalStyles.astro
2024-10-26 16:02:43 +08:00
Katsuyuki Karasawa 450ab150a3 fix: fix HMR not working. (#195)
* inline style to base.css

* revert banner style

* Properly revert the banner-related issues.
2024-10-26 15:57:29 +08:00
saicaca a336f34ea4 feat: redesign TOC 2024-10-26 15:48:54 +08:00
saicaca 085fd62a79 feat: add onload animation for banner 2024-09-20 01:18:33 +08:00
saicaca 8565724eb3 fix: fix the flickering caused by custom scrollbar initialization (#60) 2024-09-20 00:59:26 +08:00
saicaca 93209a5bba fix: fix the top margin of sticky sidebar (#184) 2024-09-20 00:34:48 +08:00
David V. Kimball 7a022cc190 feat: set og:type to article for posts (#183)
* New prop setOGTypeArticle sets og:type to "article" for posts, and "website" for every other page.

* Fixed error where I declared setOGTypeArticle twice.
2024-09-17 13:35:58 +08:00
saicaca 44fb628737 fix: fix navbar disappearing after link click (#182) 2024-09-16 13:26:41 +08:00
saica.go f0754cae3f perf: optimizing page transition (#178)
* perf: optimizing page transition

* fix: minor fixes
2024-09-13 20:14:03 +08:00
Alan Ye f79ee3482d feat: add language as post property (#151)
* feat: add language as post property

* update frontmatter.json

* style: remove extra space

* fix: remove unnecessary replacements

* feat: add `language` field to `new-post.js`

* style: format code style

* fix: use `siteConfig.lang` in `jsonLd`

* fix: use `siteConfig` when `entry.data` was empty
2024-08-27 23:52:30 +08:00
saicaca b358bddb10 perf: preload PhotoSwipe instead of waiting for user click 2024-08-06 22:21:25 +08:00
saicaca 0ad144add3 fix: fix errors and reformat code 2024-08-03 16:44:38 +08:00
saicaca f96cf6fdae feat: some improvements for image zooming 2024-07-28 18:48:44 +08:00
dabuside 51025f0ea7 feat: add photoswipe for image zoom (#135) 2024-07-28 18:47:19 +08:00
saicaca f28ad1b8e6 feat: increase height of the banner on the homepage 2024-07-27 15:45:43 +08:00
saicaca b0337a997e fix: siteConfig.banner.position not working 2024-07-27 15:45:43 +08:00
saicaca b2da426627 fix: fix CDN link for katex 2024-07-26 23:08:50 +08:00
saicaca 96223c0b5a refactor: improve code quality 2024-07-21 18:41:03 +08:00
saicaca 003c644146 refactor: improve code quality 2024-07-21 15:49:22 +08:00
saicaca 176b38a4cb fix: custom scrollbar does not reload after page switch 2024-06-22 01:11:27 +08:00
Joey Chen 3f4e7e9f97 feat: enhanced meta for social sharing (part 1) (#66) 2024-06-06 00:21:10 +08:00
librarian 9761ed75c5 feat: option to control whether site visitors can change the theme color (#28)
* chore: rebase onto main branch

* fix: rename the option

---------

Co-authored-by: saicaca <zephyird@gmail.com>
2024-05-01 12:14:15 +08:00
Jayyyu1w 9d82d25feb fix: set html lang to siteConfig lang (#73) 2024-05-01 01:08:21 +08:00
saicaca 873dbe3189 feat: basic post structured data for SEO 2024-04-29 17:27:14 +08:00
saicaca 410902a767 fix: make base in astro config work 2024-04-29 17:09:52 +08:00
saicaca 8ce1c7ab6e fix: load stored theme before rendering 2024-04-29 12:52:50 +08:00
saica.go e8cbb7a829 feat: option to follow the system-wide light/dark mode (#71) 2024-04-28 12:43:10 +08:00
saicaca 94a9e9757d feat: multiple custom favicons 2024-04-23 03:03:31 +08:00
Joey Chen bd468054c2 feat: allow user to customize favicon (#47)
* feat: add basic custom favicon feature

* add auto-switch icon

* revert to the original setting `false`
2024-04-23 03:03:31 +08:00
CorrectRoad 582e76cf43 feat: add dynamic descript to meta head (#56)
* feat: add dynamic descript to meta head

* revert code
2024-04-23 00:04:43 +08:00
CorrectRoad e80999669a feat: add RSS xml (#34)
* feat: add RSS xml

---------

Co-authored-by: saicaca <zephyird@gmail.com>
2024-04-22 23:42:47 +08:00
saicaca df30781cdc fix: onload animation tweaks 2024-03-13 01:32:54 +08:00
saicaca a80d69d843 feat: use Swug for transition animations instead of ViewTransitions 2024-03-12 14:04:58 +08:00
saicaca d68f26a74f fix: minor fixes 2024-02-18 18:26:40 +08:00
saicaca af29b9160f refactor: code cleanup 2024-02-18 18:26:40 +08:00
saica.go 79ec8030cc feat: implement post search using Pagefind (#12) 2024-01-24 12:28:16 +08:00
saicaca 31bb0d576e fix: don't initialize the overlay scrollbar if there is a native one 2024-01-22 12:02:54 +08:00
saica.go 025953bca3 feat: much better mobile view design (#11) 2024-01-22 02:06:24 +08:00
L4Ph 197d524b53 feat: add FrontMatter CMS, biome, translation, etc.
* add Frontmatter CMS

* add biome

* update

* update

* fixed & add docs

* fix translation.ts

* fix translation
2024-01-21 12:54:41 +08:00
saicaca d918a2ef3d feat: overlay scrollbar 2023-11-08 15:26:18 +08:00
saicaca 569a606586 feat: overlay scrollbar 2023-11-08 15:24:21 +08:00
saicaca 2b000f7e55 fix: style improvements for mobile view 2023-11-06 21:56:53 +08:00
saicaca b64cf8eee3 feat: nav-menu for mobile view 2023-11-06 21:55:52 +08:00
saicaca 1ae4a8eee9 feat: use .ts instead of .yaml for configurations 2023-10-23 17:54:39 +08:00
saicaca a15b88bdbd fix: accessibility fixes 2023-10-20 12:14:06 +08:00
saicaca 377ff3a4cc fix: appearance setting not correctly set at first time & something else 2023-10-19 21:48:26 +08:00
saicaca eb7c408b6a feat: sticky navbar and sidebar, minor fixes
(cherry picked from commit cd3c1444ab72dbab172f9135f293b29ac5eee14e)
2023-10-18 02:15:29 +08:00
saicaca cd01149f7e feat: post styles and transition improvements
(cherry picked from commit 53d2c803be5c9bc81ed1705d7053a8fde8bafe27)
2023-10-18 02:15:27 +08:00
saicaca cf0bf8d606 fix: temporary solution for ViewTransitions flickr issue
(cherry picked from commit 76c65f0ede9db821b84ecd0a4085da653235c6fa)
2023-10-18 02:15:26 +08:00
saicaca 2c4cc28e1f feat: i18n, page title
(cherry picked from commit 0d9fc72bee009c591400055725680a6a0f5a9c83)
2023-10-18 02:15:25 +08:00