feat: добавить серверную генерацию спрайтов

This commit is contained in:
2026-07-16 09:14:11 +03:00
parent e9ae91815a
commit 57342fae4e
379 changed files with 3108 additions and 655 deletions

View File

@@ -1,11 +1,12 @@
import { IconsIcon } from '../src/sprite'
import { AppIcon } from '../src/app-icons'
import { RemoteAppIcon } from '../src/remote-app-icons'
import { AppSpriteViewer } from './sprite-viewer'
export default function Page() {
return (
<main>
<h1>Next.js App Router + Turbopack</h1>
<IconsIcon
<AppIcon
data-testid="icon"
data-app="next-app-turbopack"
icon="check"
@@ -14,6 +15,15 @@ export default function Page() {
height={64}
style={{ '--icon-color-1': '#16a34a' }}
/>
<RemoteAppIcon
data-testid="remote-icon"
data-app="next-app-turbopack-remote"
icon="check"
aria-label="Remote check icon"
width={64}
height={64}
style={{ '--icon-color-1': '#16a34a' }}
/>
<AppSpriteViewer />
</main>
)