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.
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
@font-face {
|
||||
font-family: 'Fira Code';
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
src:
|
||||
url('/fonts/firacode/woff2/FiraCode-Light.woff2') format('woff2'),
|
||||
url('/fonts/firacode/woff/FiraCode-Light.woff') format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Fira Code';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src:
|
||||
url('/fonts/firacode/woff2/FiraCode-Regular.woff2') format('woff2'),
|
||||
url('/fonts/firacode/woff/FiraCode-Regular.woff') format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Fira Code';
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
src:
|
||||
url('/fonts/firacode/woff2/FiraCode-Medium.woff2') format('woff2'),
|
||||
url('/fonts/firacode/woff/FiraCode-Medium.woff') format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Fira Code';
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
src:
|
||||
url('/fonts/firacode/woff2/FiraCode-SemiBold.woff2') format('woff2'),
|
||||
url('/fonts/firacode/woff/FiraCode-SemiBold.woff') format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Fira Code';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src:
|
||||
url('/fonts/firacode/woff2/FiraCode-Bold.woff2') format('woff2'),
|
||||
url('/fonts/firacode/woff/FiraCode-Bold.woff') format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Fira Code VF';
|
||||
font-style: normal;
|
||||
|
||||
/* font-weight requires a range: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide#Using_a_variable_font_font-face_changes */
|
||||
font-weight: 300 700;
|
||||
src:
|
||||
url('/fonts/firacode/woff2/FiraCode-VF.woff2') format('woff2-variations'),
|
||||
url('/fonts/firacode/woff/FiraCode-VF.woff') format('woff-variations');
|
||||
}
|
||||
Reference in New Issue
Block a user