jiawei
18e98a954d
chore: exclude bundled font CSS from language stats
2026-08-30 17:30:00 +08:00
jiawei
efe03af847
feat(chapter3): add useRef demo
...
Demonstrate retaining the previous counter value with a ref while updating state through a shadcn button.
2026-08-30 17:25:30 +08:00
jiawei
4823d13938
feat(chapter3): add effect hook demo
...
Demonstrate resize subscriptions with cleanup and show an async effect that updates the Ant Design button state.
2026-08-30 17:09:32 +08:00
jiawei
7e0e3527e9
fix(chapter3): use shadcn button variants in state demo
...
Replace the Ant Design dashed button type with the shadcn outline variant and include the state demo on the demo page.
2026-08-30 16:44:28 +08:00
jiawei
f6d90efb0a
feat(chapter3): replicate styled Next.js app setup
...
Add the App Router page group, nested layouts, Tailwind and shadcn styling, shared header components, local fonts and backgrounds, Ant Design demo support, and compatible lint scripts and dependencies.
2026-08-30 16:29:58 +08:00
jiawei
65805be81d
[chapter3]: add config
2026-08-30 15:17:46 +08:00
jiawei
0aa57254d9
init chapter3
2026-08-30 15:09:19 +08:00
jiawei
1916e3e31a
feat(chapter2): add Ant Design demo page
...
Add the demo route and Ant Design layout, include the missing page styles, and align global CSS and dependencies with the demo setup.
2026-08-30 10:53:19 +08:00
jiawei
7b03222922
fix(chapter2): align shadcn button with Tailwind prefix
...
Configure shadcn aliases and regenerate the Button component with the tw: utility prefix so its styles are emitted by Tailwind.
2026-08-30 10:26:59 +08:00
jiawei
a1401c68f5
feat(chapter2): set up styled app shell
...
Add the App Router page and nested layout, configure Tailwind and shadcn styling, include local fonts and background assets, and install the supporting UI and lint dependencies.
2026-08-30 10:20:06 +08:00
jiawei
5ce6f24569
chore(chapter2): configure compatible lint tooling
...
Use the Next.js-compatible ESLint 9 toolchain, add CSS linting scripts and dependencies, and export the Stylelint config through a named constant.
2026-08-30 00:06:40 +08:00
jiawei
a0a69736c5
Initial commit
2026-08-29 22:43:18 +08:00