mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-10 08:05:14 +02:00
chore(docs-site): add dev shortcut and fix hero heading clipping
- Add `pnpm docs` script that frees port 3000 then runs the docs-site dev server, so the docs preview is one command away. - Bump hero heading line-height to 1.2 and add 0.15em bottom padding so the gradient text-clip no longer cuts off descenders. - Sync auto-generated next-env.d.ts to the current Next types path.
This commit is contained in:
parent
2f647d5c68
commit
292683181b
3 changed files with 4 additions and 2 deletions
|
|
@ -16,8 +16,9 @@ import { ProductMechanics } from "@/components/product-mechanics";
|
|||
backgroundClip: 'text',
|
||||
color: 'transparent',
|
||||
WebkitTextFillColor: 'transparent',
|
||||
lineHeight: '1.1',
|
||||
lineHeight: '1.2',
|
||||
letterSpacing: '0',
|
||||
paddingBottom: '0.15em',
|
||||
}}
|
||||
>
|
||||
Make analytics context usable by agents
|
||||
|
|
|
|||
2
docs-site/next-env.d.ts
vendored
2
docs-site/next-env.d.ts
vendored
|
|
@ -1,6 +1,6 @@
|
|||
/// <reference types="next" />
|
||||
/// <reference types="next/image-types/global" />
|
||||
import "./.next/types/routes.d.ts";
|
||||
import "./.next/dev/types/routes.d.ts";
|
||||
|
||||
// NOTE: This file should not be edited
|
||||
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@
|
|||
"dead-code:biome": "biome ci . --formatter-enabled=false --assist-enabled=false",
|
||||
"dead-code:fix": "biome check . --formatter-enabled=false --assist-enabled=false --write && knip --fix --format",
|
||||
"dead-code:knip": "knip --reporter compact",
|
||||
"docs": "kill $(lsof -ti:3000) 2>/dev/null; pnpm --filter ktx-docs run dev",
|
||||
"ktx": "node scripts/run-ktx.mjs",
|
||||
"link:dev": "node scripts/link-dev-cli.mjs",
|
||||
"native:rebuild": "pnpm -r rebuild better-sqlite3",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue