Commit Graph

144 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
saicaca 947ff49b53 fix: force override post width 2024-10-26 15:57:30 +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
Echo 85c9e1f5d2 fix: remove outline on search bar (#206) 2024-10-26 15:19:20 +08:00
SlimeNull b5fddf2096 feat: added TOC (#198) 2024-10-26 00:29:00 +08:00
Echo d09b80a5b1 fix: fix footer style (#201)
* Fix footer text

* Update packages

* Revert upgrades
2024-10-23 11:27:59 +08:00
saicaca 8beeba81db feat: more readable error message for image not found 2024-09-20 01:18:33 +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
Marcos a6bc4c00b0 fix: errors when themeColor.fixed is set to true (#160)
Prevent null errors in Navbar.astro by verifying DOM elements before attaching event listeners
2024-08-28 10:36:22 +08:00
Katsuyuki Karasawa e9c8930559 refactor: improve type safety (#155)
* Fix to make it type safe.

* The build is failing, fix it.
2024-08-28 00:19:26 +08:00
saicaca 0ad144add3 fix: fix errors and reformat code 2024-08-03 16:44:38 +08:00
saicaca 1f93499ece feat: use the first paragraph as the excerpt if description is not set 2024-08-03 16:03:03 +08:00
saicaca 9af6cf956a feat: style tweaks 2024-08-02 02:18:37 +08:00
saicaca f96cf6fdae feat: some improvements for image zooming 2024-07-28 18:48:44 +08:00
saicaca 336290a92f feat!: add credit configurations for banner image
BREAKING CHANGES: new mandatory fields added in `config.ts`
2024-07-27 22:13:14 +08:00
saicaca f28ad1b8e6 feat: increase height of the banner on the homepage 2024-07-27 15:45:43 +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 bd4f0e8b63 fix: failed GitHub API requests no longer break the href of repo card & style tweak 2024-07-20 23:25:03 +08:00
saicaca f438ea4252 feat: style improvements (mainly animations) 2024-06-30 01:30:03 +08:00
saicaca 02865aa76e feat: improve button animation 2024-06-22 20:29:30 +08:00
saicaca 960e85f92d fix: extra empty lines in codeblocks still displayed in some cases 2024-06-22 00:49:30 +08:00
saicaca b70a01a43a fix: style tweaks for copy-code button 2024-06-21 22:37:39 +08:00
Kuroki_Tsuki 88a7414625 feat: copy button for code blocks (#67)
* Add  code copy

* fix: safari copyButton style

* fix: addPreCopyButton up time

* modify: CopyButton style

* fix: Duplicate rendering issue with copy button
2024-06-21 22:27:23 +08:00
baka-gourd 815692899d fix: add missing i18n for Search (#102)
* feat(i18n): add missing `Search` key

* fix: update i18n text

---------

Co-authored-by: saicaca <zephyird@gmail.com>
2024-06-21 19:39:13 +08:00
saicaca 5cfc78ef65 fix: hide the extra empty line in code blocks 2024-06-21 19:29:54 +08:00
Lry722 5868cddcb6 feat: add option position for banner image (#106) 2024-06-10 02:03:57 +08:00
saicaca ce36ba37c5 fix: profile-card style tweak 2024-06-08 22:52:05 +08:00
saicaca 5dd1287255 fix: fix a style bug in the tag list (#41, #93) 2024-06-07 00:16:25 +08:00
xingo xu c3ac8d9728 feat: light/dark modes switch immediately with the system theme (#95) 2024-06-06 01:20:05 +08:00
saicaca 12e1b151a7 fix: fix base path not applied to mobile nav menu 2024-05-25 01:52:31 +08:00
saicaca 39797fd677 fix: some fixes for admonition and GitHub repo card 2024-05-03 02:24:01 +08:00
Fabrizio e1dae88515 feat: add GitHub repo card, admonitions (#77)
* Added remark-directive, unist-util-visit

* Add rehype custom components for Github, Admonitions

* pnpm

* Update pnpm-lock

* Corrected hastscript requierement

* Change ad- prefix so adblocks dont block content
2024-05-03 01:37:31 +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
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
saicaca 163ed17ae6 fix: style tweak 2024-04-29 12:52:28 +08:00
saica.go e8cbb7a829 feat: option to follow the system-wide light/dark mode (#71) 2024-04-28 12:43:10 +08:00
Joey Chen e37a724275 feat: using rel="me" to verify ownership for websites (#62)
Verify the target link is presented by the same person: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel/me
2024-04-26 23:19:27 +08:00
strn 6d9259808a fix: we're in 2024 :) (#51)
* small typo: we're in 2024 :)

* Update LICENSE
2024-04-23 00:01:17 +08:00
saicaca df30781cdc fix: onload animation tweaks 2024-03-13 01:32:54 +08:00
saicaca 2ff9b8544e feat: onload animation for article pages 2024-03-12 18:39:25 +08:00
saicaca dfa863369b feat: onload animation 2024-03-12 16:13:10 +08:00
saicaca a80d69d843 feat: use Swug for transition animations instead of ViewTransitions 2024-03-12 14:04:58 +08:00
saicaca e64bd923da fix: a11y fixes 2024-03-12 12:37:49 +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
saicaca 3cd21c2da9 refactor: rewrite DisplaySettings and Search using Svelte 2024-02-18 18:26:40 +08:00
saicaca bd17b39fd2 fix: fix widget content collapsing not working 2024-02-12 01:12:27 +08:00