refactor(website,guide): cloudflare workers support (#11204)

This commit is contained in:
Noel
2025-10-25 02:17:59 +02:00
committed by GitHub
parent 756eac6bb1
commit 08b87d9087
62 changed files with 5143 additions and 1709 deletions

View File

@@ -43,12 +43,12 @@ export function CmdK({ dependencies }: { readonly dependencies: string[] }) {
value={item.id}
>
{resolveKind(item.kind)}
<div className="flex flex-grow flex-col">
<div className="flex grow flex-col">
<span className="font-semibold wrap-anywhere">{item.name}</span>
<span className={cx('truncate text-sm', isMobile ? 'max-w-[30ch]' : 'max-w-[40ch]')}>{item.summary}</span>
<span className={cx('truncate text-xs', isMobile ? 'max-w-[30ch]' : 'max-w-[40ch]')}>{item.path}</span>
</div>
<ArrowRight aria-hidden className="flex-shrink-0" />
<ArrowRight aria-hidden className="shrink-0" />
</Command.Item>
)) ?? [];