167 Commits

Author SHA1 Message Date
saicaca
18fcf6dd83 fix: fix blurry text caused by translate 2024-10-28 03:19:25 +08:00
saicaca
1b652f686d feat: add configurations for TOC component 2024-10-28 00:45:16 +08:00
saicaca
9f251d4cea feat: style tweak 2024-10-28 00:40:19 +08:00
saicaca
2c716931f8 refactor: code cleanup 2024-10-27 18:29:06 +08:00
saicaca
ec179a2127 chore: update example post 2024-10-27 18:18:22 +08:00
saicaca
2b9f6bc5bb feat: UX improvements for the TOC component 2024-10-27 18:18:22 +08:00
藍々
2db5938beb
fix: eliminate blue border in iOS browers (#207) 2024-10-26 21:33:44 +08:00
saicaca
00aa50ad5b fix: fix build error 2024-10-26 16:12:47 +08:00
saicaca
c320ba524c fix: missing CSS classes 2024-10-26 16:09:19 +08:00
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
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
saicaca
f5ad1c643d docs: update README 2024-09-10 02:28:00 +08:00
saicaca
31af084f8a feat!: front-matter language -> lang 2024-09-10 01:31:35 +08:00
Marcos
1399bd9bc7
docs: add Spanish README
* Create README.es.md

Add Spanish translation for README.md as README.es.md

* Update README.md

Added link to the Spanish readme
2024-09-05 01:21:56 +08:00
Marco Ieni
3dffb989b7
chore(biome): fix deprecated field trailingComma (#169) 2024-09-04 23:34:13 +08:00
saicaca
1af707ee6a fix: fix RSS build error 2024-09-04 23:13:58 +08:00
saicaca
4518dbf0f8 chore: update dependencies 2024-08-29 22:33:27 +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
Marcos
075cb8e10a
feat: add Spanish i18n (#157)
* Create es.ts

Added Spanish translation for site content and interface elements.

* Update translation.ts

Added Spanish (es) translation support to the language configuration.
2024-08-28 00:22:43 +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
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
pawarherschel
856c2bb2c0
fix: fix GitHub repo card not loading with empty description (#154) 2024-08-23 21:03:59 +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
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
dabuside
09e084fd5b fix: set the zoom width and height for network image (#136) 2024-07-28 18:48:43 +08:00
dabuside
51025f0ea7 feat: add photoswipe for image zoom (#135) 2024-07-28 18:47:19 +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
b0337a997e fix: siteConfig.banner.position not working 2024-07-27 15:45:43 +08:00
saicaca
2eff25dc12 chore: update dependencies 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
442cb8fe97 chore: ignore errors when CSS files don't need compression 2024-07-26 23:06:55 +08:00
saicaca
f817e930ec docs: update README 2024-07-22 01:09:03 +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