Commit Graph

3614 Commits

Author SHA1 Message Date
ZhenShuo Leo
22f097f92a chore: hotlinkFeatureImages -> hotlinkFeatureImage 2025-09-27 09:12:58 +08:00
ZhenShuo Leo
9eebb5b2aa fix: img attribute
add loading/decoding/fetchpriority

remove alt for decorative images
2025-09-26 22:37:56 +08:00
ZhenShuo Leo
e6968d877f feat(hero): add support for hotlinkFeatureImages 2025-09-26 22:07:26 +08:00
ZhenShuo Leo
4b9e63fd99 feat(article-link): add support for hotlinkFeatureImages 2025-09-26 22:06:53 +08:00
ZhenShuo Leo
7cb8dcc4a1 chore(article-link): remove _external-link.html
we don't need this anymore
2025-09-23 23:02:17 +08:00
Nuno C.
e26666c001 Merge pull request #2497 from ZhenShuo2021/chore/icon-title
🔧 Chore: add title to icons
2025-09-23 15:56:36 +01:00
Nuno C.
646d1eca82 Merge pull request #2496 from ZhenShuo2021/fix/term
🐛 Fix(term): allow controled by frontmatter
2025-09-23 15:56:06 +01:00
Nuno C.
6f0238652b Merge pull request #2495 from ZhenShuo2021/fix/page-widget
🐛 Fix: page widget
2025-09-23 15:55:25 +01:00
Nuno C.
619fe502dc Merge pull request #2478 from milesbarr/dev
Fix HTML for menu items that only have an icon
2025-09-23 15:54:04 +01:00
ZhenShuo Leo
1159e78cc3 chore: rebuild css 2025-09-23 18:32:59 +08:00
ZhenShuo Leo
545febc7c0 chore: add title to icons 2025-09-23 18:01:19 +08:00
ZhenShuo Leo
17292857a7 fix(term): add margin to header 2025-09-23 18:01:08 +08:00
ZhenShuo Leo
7c4c740b25 fix(term): allow controled by frontmatter 2025-09-23 18:01:08 +08:00
ZhenShuo Leo
65ab50a901 fix(baseof): add offset to skip to main content 2025-09-23 17:57:58 +08:00
ZhenShuo Leo
bcc9cf9f6c fix(baseof): correct typo 2025-09-23 17:57:58 +08:00
ZhenShuo Leo
c330c17215 fix(buymeacoffee): widget position letter case and default value 2025-09-23 17:57:58 +08:00
ZhenShuo Leo
b777d4e59e fix(scroll-to-top): resolve overlap with buy me a coffee button 2025-09-23 17:57:58 +08:00
Nuno C.
019388def8 Merge pull request #2493 from ZhenShuo2021/fix/carousel
🐛 Fix(carousel): prevent generating duplicate CSS files
2025-09-22 18:53:27 +01:00
Nuno C.
843677c383 Merge pull request #2489 from ZhenShuo2021/docs/lint
📝 DX(docs): remove extra spaces in long table
2025-09-22 18:52:25 +01:00
Nuno C.
d35cb4012b Merge pull request #2487 from nunocoracao/dependabot/npm_and_yarn/dev/commander-14.0.1
📌 Bump commander from 14.0.0 to 14.0.1
2025-09-22 18:51:46 +01:00
Nuno C.
16bbb0f464 Merge pull request #2486 from nunocoracao/dependabot/npm_and_yarn/dev/puppeteer-24.21.0
📌 Bump puppeteer from 24.19.0 to 24.21.0
2025-09-22 18:51:28 +01:00
Nuno C.
b96e5120ef Merge pull request #2490 from marcriera/i18n-ca
🌐 Update Catalan i18n
2025-09-22 18:51:17 +01:00
Nuno C.
97b2f5c851 Merge pull request #2494 from tb1337/tb1337-update-users
Update users.json
2025-09-22 18:50:57 +01:00
Nuno C.
84163ad4ea Merge pull request #2485 from nunocoracao/dependabot/npm_and_yarn/dev/tailwindcss/cli-4.1.13
📌 Bump @tailwindcss/cli from 4.1.12 to 4.1.13
2025-09-22 18:47:34 +01:00
Nuno C.
8c1365d819 Merge pull request #2484 from nunocoracao/dependabot/npm_and_yarn/dev/headlessui/react-2.2.8
📌 Bump @headlessui/react from 2.2.7 to 2.2.8
2025-09-22 18:47:21 +01:00
Nuno C.
f1a11b3357 Merge pull request #2483 from nunocoracao/dependabot/npm_and_yarn/dev/tailwindcss-4.1.13
📌 Bump tailwindcss from 4.1.12 to 4.1.13
2025-09-22 18:47:07 +01:00
tb
ab385ef0e7 Update users.json 2025-09-21 19:38:47 +02:00
ZhenShuo Leo
e1f59b6108 fix(carousel): prevent generating duplicate CSS files
use inline CSS to avoid extra workarounds
2025-09-20 01:09:15 +08:00
Marc Riera
cfeab47b1b Update Catalan i18n 2025-09-18 11:13:02 +02:00
ZhenShuo Leo
f04b850966 docs: remove extra spaces 2025-09-18 15:22:42 +08:00
dependabot[bot]
1cb5e9ab2f 💄 Rebuild CSS 2025-09-17 05:02:38 +00:00
dependabot[bot]
cfa6913496 📌 Bump commander from 14.0.0 to 14.0.1
Bumps [commander](https://github.com/tj/commander.js) from 14.0.0 to 14.0.1.
- [Release notes](https://github.com/tj/commander.js/releases)
- [Changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tj/commander.js/compare/v14.0.0...v14.0.1)

---
updated-dependencies:
- dependency-name: commander
  dependency-version: 14.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-17 05:02:27 +00:00
dependabot[bot]
ad7bac5432 📌 Bump puppeteer from 24.19.0 to 24.21.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 24.19.0 to 24.21.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v24.19.0...puppeteer-v24.21.0)

---
updated-dependencies:
- dependency-name: puppeteer
  dependency-version: 24.21.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-17 05:02:21 +00:00
dependabot[bot]
f68b90589c 📌 Bump @tailwindcss/cli from 4.1.12 to 4.1.13
Bumps [@tailwindcss/cli](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-cli) from 4.1.12 to 4.1.13.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.13/packages/@tailwindcss-cli)

---
updated-dependencies:
- dependency-name: "@tailwindcss/cli"
  dependency-version: 4.1.13
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-17 05:02:10 +00:00
dependabot[bot]
97fa4b4970 📌 Bump @headlessui/react from 2.2.7 to 2.2.8
Bumps [@headlessui/react](https://github.com/tailwindlabs/headlessui/tree/HEAD/packages/@headlessui-react) from 2.2.7 to 2.2.8.
- [Release notes](https://github.com/tailwindlabs/headlessui/releases)
- [Changelog](https://github.com/tailwindlabs/headlessui/blob/main/packages/@headlessui-react/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/headlessui/commits/@headlessui/react@v2.2.8/packages/@headlessui-react)

---
updated-dependencies:
- dependency-name: "@headlessui/react"
  dependency-version: 2.2.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-17 05:02:01 +00:00
dependabot[bot]
1bbe7b5173 📌 Bump tailwindcss from 4.1.12 to 4.1.13
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) from 4.1.12 to 4.1.13.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.13/packages/tailwindcss)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-version: 4.1.13
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-17 05:01:50 +00:00
Miles Barr
9872eebdde Merge branch 'dev' into dev 2025-09-16 07:56:02 -07:00
Nuno C.
df859f1d70 Merge pull request #2482 from iunn-sh/main
 Feat: add cloud & cloud-moon icon
2025-09-16 11:11:08 +01:00
Nuno C.
6f6584e83a Merge pull request #2455 from ZhenShuo2021/feat/img-background
 Feat: Replace all background-image CSS with <img> tags
2025-09-16 11:10:32 +01:00
Nuno C.
cd93ec0708 Merge pull request #2451 from ZhenShuo2021/feat/image-process
 Feat(article-link, hero): improve image handling
2025-09-16 11:10:04 +01:00
ZhenShuo Leo
3f0dc1d6e1 feat(hero): replace div with img tag
Changed: basic and thumbAndBackground layout
2025-09-16 15:08:36 +08:00
ZhenShuo Leo
340364f31a feat(article-link): use semantic HTML 2025-09-16 15:08:36 +08:00
ZhenShuo Leo
d21a4e6e4a feat(term-link): implement the same behavior as article-link in term-link/card.html
use new hover logic
replace div with img tag
2025-09-16 15:08:36 +08:00
ZhenShuo Leo
01b998e070 feat(article-link): replace background div with img tag 2025-09-16 15:08:36 +08:00
ZhenShuo Leo
5bab41062a refactor(article-link): remove unnecessary with syntax 2025-09-16 15:08:35 +08:00
ZhenShuo Leo
b1b7aa1f42 feat(article-link): reimplement card hover using ::before method
The previous method was not intuitive since there was nothing in the <a> tag,
and required group-xxx classes for every element.

The new pseudo element method fixes those problems, see:

https://kittygiraudel.com/2022/04/02/accessible-cards/
2025-09-16 15:08:35 +08:00
ZhenShuo Leo
8911ac843a chore(term-link): remove unused .Params.images 2025-09-16 15:08:35 +08:00
ZhenShuo Leo
cb479d5693 feat(hero): support internal links for featureimage
This commit also gives the `featureimage` frontmatter the highest priority, preventing it from being overridden by hidden logic.
2025-09-16 15:08:35 +08:00
ZhenShuo Leo
9c1d56e0e7 feat(article-link): support internal links for featureimage
This commit also gives the `featureimage` frontmatter the highest priority, preventing it from being overridden by hidden logic.
2025-09-16 15:08:35 +08:00
ZhenShuo Leo
6d6b5d3946 fix(article-link): skip fetching images when hideFeatureImage is true 2025-09-16 15:08:35 +08:00