@krizaka/ui 2.8.0 → 2.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +73 -5
- package/dist/achievement.d.ts +54 -0
- package/dist/achievement.js +73 -0
- package/dist/achievement.js.map +1 -0
- package/dist/app-shell.d.ts +203 -0
- package/dist/app-shell.js +137 -0
- package/dist/app-shell.js.map +1 -0
- package/dist/auth-layout.d.ts +136 -0
- package/dist/auth-layout.js +75 -0
- package/dist/auth-layout.js.map +1 -0
- package/dist/blocks.css +247 -0
- package/dist/catalogue-page.d.ts +34 -0
- package/dist/catalogue-page.js +26 -0
- package/dist/catalogue-page.js.map +1 -0
- package/dist/changelog-page.d.ts +50 -0
- package/dist/changelog-page.js +27 -0
- package/dist/changelog-page.js.map +1 -0
- package/dist/choice-grid.d.ts +84 -0
- package/dist/choice-grid.js +141 -0
- package/dist/choice-grid.js.map +1 -0
- package/dist/chunk-555LWYIN.js +11 -0
- package/dist/chunk-555LWYIN.js.map +1 -0
- package/dist/chunk-AZPKXP3O.js +36 -0
- package/dist/chunk-AZPKXP3O.js.map +1 -0
- package/dist/{chunk-NOVUREEC.js → chunk-JZPVUJIX.js} +25 -3
- package/dist/chunk-JZPVUJIX.js.map +1 -0
- package/dist/chunk-KNBYZGSQ.js +11 -0
- package/dist/chunk-KNBYZGSQ.js.map +1 -0
- package/dist/chunk-VCAAHCHL.js +17 -0
- package/dist/chunk-VCAAHCHL.js.map +1 -0
- package/dist/code-block.js +23 -44
- package/dist/code-block.js.map +1 -1
- package/dist/component-page.d.ts +41 -0
- package/dist/component-page.js +17 -0
- package/dist/component-page.js.map +1 -0
- package/dist/contact-page.d.ts +31 -0
- package/dist/contact-page.js +26 -0
- package/dist/contact-page.js.map +1 -0
- package/dist/continue-prompt.d.ts +48 -0
- package/dist/continue-prompt.js +200 -0
- package/dist/continue-prompt.js.map +1 -0
- package/dist/dashboard-layout.d.ts +139 -0
- package/dist/dashboard-layout.js +68 -0
- package/dist/dashboard-layout.js.map +1 -0
- package/dist/detail-layout.d.ts +126 -0
- package/dist/detail-layout.js +48 -0
- package/dist/detail-layout.js.map +1 -0
- package/dist/docs-article-page.d.ts +54 -0
- package/dist/docs-article-page.js +29 -0
- package/dist/docs-article-page.js.map +1 -0
- package/dist/docs-hub-page.d.ts +72 -0
- package/dist/docs-hub-page.js +45 -0
- package/dist/docs-hub-page.js.map +1 -0
- package/dist/docs-layout.d.ts +78 -0
- package/dist/docs-layout.js +60 -0
- package/dist/docs-layout.js.map +1 -0
- package/dist/error-page.d.ts +22 -0
- package/dist/error-page.js +23 -0
- package/dist/error-page.js.map +1 -0
- package/dist/gallery-page.d.ts +50 -0
- package/dist/gallery-page.js +30 -0
- package/dist/gallery-page.js.map +1 -0
- package/dist/{geometry-CXrAW34x.d.ts → geometry-CbOU4rtL.d.ts} +4 -4
- package/dist/goal-gauge.d.ts +38 -0
- package/dist/goal-gauge.js +53 -0
- package/dist/goal-gauge.js.map +1 -0
- package/dist/how-it-works-page.d.ts +48 -0
- package/dist/how-it-works-page.js +28 -0
- package/dist/how-it-works-page.js.map +1 -0
- package/dist/index.d.ts +16 -6
- package/dist/index.js +115 -24
- package/dist/index.js.map +1 -1
- package/dist/landing-page.d.ts +58 -0
- package/dist/landing-page.js +42 -0
- package/dist/landing-page.js.map +1 -0
- package/dist/landscape.d.ts +41 -0
- package/dist/landscape.js +836 -0
- package/dist/landscape.js.map +1 -0
- package/dist/legal-page.d.ts +34 -0
- package/dist/legal-page.js +18 -0
- package/dist/legal-page.js.map +1 -0
- package/dist/longform-page.d.ts +42 -0
- package/dist/longform-page.js +29 -0
- package/dist/longform-page.js.map +1 -0
- package/dist/marketing-layout.d.ts +60 -0
- package/dist/marketing-layout.js +25 -0
- package/dist/marketing-layout.js.map +1 -0
- package/dist/mascot-quote.d.ts +4 -4
- package/dist/mascot-quote.js +23 -1
- package/dist/mascot-quote.js.map +1 -1
- package/dist/mascot-state.d.ts +2 -2
- package/dist/mascot-state.js +1 -1
- package/dist/mascot-state.js.map +1 -1
- package/dist/mascots.d.ts +18 -5
- package/dist/mascots.js +87 -2
- package/dist/mascots.js.map +1 -1
- package/dist/native.d.ts +88 -11
- package/dist/native.js +640 -297
- package/dist/native.js.map +1 -1
- package/dist/pricing-page.d.ts +62 -0
- package/dist/pricing-page.js +71 -0
- package/dist/pricing-page.js.map +1 -0
- package/dist/product-page.d.ts +83 -0
- package/dist/product-page.js +60 -0
- package/dist/product-page.js.map +1 -0
- package/dist/profile-card.d.ts +85 -0
- package/dist/profile-card.js +87 -0
- package/dist/profile-card.js.map +1 -0
- package/dist/promise-card.d.ts +28 -0
- package/dist/promise-card.js +29 -0
- package/dist/promise-card.js.map +1 -0
- package/dist/scroll-stage.d.ts +603 -0
- package/dist/scroll-stage.js +59 -0
- package/dist/scroll-stage.js.map +1 -0
- package/dist/settings-layout.d.ts +154 -0
- package/dist/settings-layout.js +57 -0
- package/dist/settings-layout.js.map +1 -0
- package/dist/split-view.d.ts +106 -0
- package/dist/split-view.js +41 -0
- package/dist/split-view.js.map +1 -0
- package/dist/stage-banner.d.ts +34 -0
- package/dist/stage-banner.js +26 -0
- package/dist/stage-banner.js.map +1 -0
- package/dist/status-page.d.ts +42 -0
- package/dist/status-page.js +28 -0
- package/dist/status-page.js.map +1 -0
- package/dist/story-variant-CLn4H5Nt.d.ts +4 -0
- package/dist/story.css +432 -0
- package/package.json +478 -10
- package/registry/achievement.json +322 -0
- package/registry/action-bar.json +1 -1
- package/registry/alert.json +1 -1
- package/registry/app-shell.json +451 -0
- package/registry/argument-card.json +1 -1
- package/registry/audio-player.json +1 -1
- package/registry/auth-layout.json +230 -0
- package/registry/avatar.json +1 -1
- package/registry/badge.json +1 -1
- package/registry/button.json +5 -5
- package/registry/card-grid.json +5 -5
- package/registry/card.json +3 -3
- package/registry/catalogue-page.json +240 -0
- package/registry/changelog-page.json +226 -0
- package/registry/checkbox.json +1 -1
- package/registry/chip-link.json +1 -1
- package/registry/chip.json +1 -1
- package/registry/choice-grid.json +318 -0
- package/registry/code-block.json +1 -1
- package/registry/combobox.json +1 -1
- package/registry/command.json +1 -1
- package/registry/component-page.json +227 -0
- package/registry/confirm-button.json +3 -3
- package/registry/contact-page.json +212 -0
- package/registry/continue-prompt.json +312 -0
- package/registry/countdown.json +1 -1
- package/registry/cta-panel.json +1 -1
- package/registry/dashboard-layout.json +273 -0
- package/registry/data-table.json +1 -1
- package/registry/date-picker.json +1 -1
- package/registry/decision-list.json +1 -1
- package/registry/detail-layout.json +233 -0
- package/registry/dialog.json +1 -1
- package/registry/docs-article-page.json +242 -0
- package/registry/docs-hub-page.json +270 -0
- package/registry/docs-layout.json +148 -0
- package/registry/dropdown-menu.json +3 -3
- package/registry/empty-state.json +1 -1
- package/registry/error-page.json +183 -0
- package/registry/examples/achievement/arcade.d.ts +4 -0
- package/registry/examples/achievement/arcade.js +15 -0
- package/registry/examples/achievement/arcade.tsx +12 -0
- package/registry/examples/achievement/milestones.d.ts +4 -0
- package/registry/examples/achievement/milestones.js +15 -0
- package/registry/examples/achievement/milestones.tsx +12 -0
- package/registry/examples/app-shell/admin-console.d.ts +4 -0
- package/registry/examples/app-shell/admin-console.js +52 -0
- package/registry/examples/app-shell/admin-console.tsx +64 -0
- package/registry/examples/app-shell/basic.d.ts +4 -0
- package/registry/examples/app-shell/basic.js +37 -0
- package/registry/examples/app-shell/basic.tsx +31 -0
- package/registry/examples/app-shell/orochia-studio.d.ts +4 -0
- package/registry/examples/app-shell/orochia-studio.js +89 -0
- package/registry/examples/app-shell/orochia-studio.tsx +101 -0
- package/registry/examples/auth-layout/onboarding.d.ts +4 -0
- package/registry/examples/auth-layout/onboarding.js +56 -0
- package/registry/examples/auth-layout/onboarding.tsx +47 -0
- package/registry/examples/auth-layout/sign-in.d.ts +4 -0
- package/registry/examples/auth-layout/sign-in.js +55 -0
- package/registry/examples/auth-layout/sign-in.tsx +47 -0
- package/registry/examples/auth-layout/verify.d.ts +4 -0
- package/registry/examples/auth-layout/verify.js +23 -0
- package/registry/examples/auth-layout/verify.tsx +19 -0
- package/registry/examples/catalogue-page/components.d.ts +4 -0
- package/registry/examples/catalogue-page/components.js +33 -0
- package/registry/examples/catalogue-page/components.tsx +36 -0
- package/registry/examples/changelog-page/releases.d.ts +4 -0
- package/registry/examples/changelog-page/releases.js +44 -0
- package/registry/examples/changelog-page/releases.tsx +39 -0
- package/registry/examples/choice-grid/line-up.d.ts +4 -0
- package/registry/examples/choice-grid/line-up.js +37 -0
- package/registry/examples/choice-grid/line-up.tsx +32 -0
- package/registry/examples/choice-grid/plans.d.ts +4 -0
- package/registry/examples/choice-grid/plans.js +28 -0
- package/registry/examples/choice-grid/plans.tsx +24 -0
- package/registry/examples/component-page/button.d.ts +4 -0
- package/registry/examples/component-page/button.js +33 -0
- package/registry/examples/component-page/button.tsx +30 -0
- package/registry/examples/contact-page/team.d.ts +4 -0
- package/registry/examples/contact-page/team.js +39 -0
- package/registry/examples/contact-page/team.tsx +38 -0
- package/registry/examples/continue-prompt/arcade.d.ts +4 -0
- package/registry/examples/continue-prompt/arcade.js +28 -0
- package/registry/examples/continue-prompt/arcade.tsx +25 -0
- package/registry/examples/continue-prompt/offer.d.ts +4 -0
- package/registry/examples/continue-prompt/offer.js +24 -0
- package/registry/examples/continue-prompt/offer.tsx +19 -0
- package/registry/examples/dashboard-layout/orazaka-eric.d.ts +4 -0
- package/registry/examples/dashboard-layout/orazaka-eric.js +58 -0
- package/registry/examples/dashboard-layout/orazaka-eric.tsx +80 -0
- package/registry/examples/dashboard-layout/widgets.d.ts +4 -0
- package/registry/examples/dashboard-layout/widgets.js +17 -0
- package/registry/examples/dashboard-layout/widgets.tsx +22 -0
- package/registry/examples/detail-layout/job.d.ts +4 -0
- package/registry/examples/detail-layout/job.js +25 -0
- package/registry/examples/detail-layout/job.tsx +20 -0
- package/registry/examples/detail-layout/video.d.ts +4 -0
- package/registry/examples/detail-layout/video.js +44 -0
- package/registry/examples/detail-layout/video.tsx +53 -0
- package/registry/examples/docs-article-page/cli.d.ts +4 -0
- package/registry/examples/docs-article-page/cli.js +33 -0
- package/registry/examples/docs-article-page/cli.tsx +38 -0
- package/registry/examples/docs-hub-page/krizaka.d.ts +4 -0
- package/registry/examples/docs-hub-page/krizaka.js +46 -0
- package/registry/examples/docs-hub-page/krizaka.tsx +37 -0
- package/registry/examples/docs-layout/page.d.ts +4 -0
- package/registry/examples/docs-layout/page.js +26 -0
- package/registry/examples/docs-layout/page.tsx +30 -0
- package/registry/examples/error-page/not-found.d.ts +4 -0
- package/registry/examples/error-page/not-found.js +24 -0
- package/registry/examples/error-page/not-found.tsx +19 -0
- package/registry/examples/gallery-page/made-here.d.ts +4 -0
- package/registry/examples/gallery-page/made-here.js +34 -0
- package/registry/examples/gallery-page/made-here.tsx +32 -0
- package/registry/examples/goal-gauge/arcade.d.ts +4 -0
- package/registry/examples/goal-gauge/arcade.js +11 -0
- package/registry/examples/goal-gauge/arcade.tsx +10 -0
- package/registry/examples/goal-gauge/challenge.d.ts +4 -0
- package/registry/examples/goal-gauge/challenge.js +11 -0
- package/registry/examples/goal-gauge/challenge.tsx +10 -0
- package/registry/examples/goal-gauge/drain.d.ts +4 -0
- package/registry/examples/goal-gauge/drain.js +11 -0
- package/registry/examples/goal-gauge/drain.tsx +10 -0
- package/registry/examples/goal-gauge/native/default.d.ts +4 -0
- package/registry/examples/goal-gauge/native/default.dark.png +0 -0
- package/registry/examples/goal-gauge/native/default.js +15 -0
- package/registry/examples/goal-gauge/native/default.light.png +0 -0
- package/registry/examples/goal-gauge/native/default.tsx +12 -0
- package/registry/examples/how-it-works-page/orazaka.d.ts +4 -0
- package/registry/examples/how-it-works-page/orazaka.js +30 -0
- package/registry/examples/how-it-works-page/orazaka.tsx +26 -0
- package/registry/examples/landing-page/krizaka.d.ts +4 -0
- package/registry/examples/landing-page/krizaka.js +44 -0
- package/registry/examples/landing-page/krizaka.tsx +44 -0
- package/registry/examples/landscape/backdrop.d.ts +4 -0
- package/registry/examples/landscape/backdrop.js +14 -0
- package/registry/examples/landscape/backdrop.tsx +11 -0
- package/registry/examples/landscape/brand.d.ts +4 -0
- package/registry/examples/landscape/brand.js +11 -0
- package/registry/examples/landscape/brand.tsx +10 -0
- package/registry/examples/legal-page/privacy.d.ts +4 -0
- package/registry/examples/legal-page/privacy.js +24 -0
- package/registry/examples/legal-page/privacy.tsx +19 -0
- package/registry/examples/longform-page/story.d.ts +4 -0
- package/registry/examples/longform-page/story.js +38 -0
- package/registry/examples/longform-page/story.tsx +35 -0
- package/registry/examples/marketing-layout/basic.d.ts +4 -0
- package/registry/examples/marketing-layout/basic.js +31 -0
- package/registry/examples/marketing-layout/basic.tsx +28 -0
- package/registry/examples/marketing-layout/docs-hub.d.ts +4 -0
- package/registry/examples/marketing-layout/docs-hub.js +37 -0
- package/registry/examples/marketing-layout/docs-hub.tsx +44 -0
- package/registry/examples/marketing-layout/pricing.d.ts +4 -0
- package/registry/examples/marketing-layout/pricing.js +45 -0
- package/registry/examples/marketing-layout/pricing.tsx +55 -0
- package/registry/examples/marketing-layout/product-page.d.ts +4 -0
- package/registry/examples/marketing-layout/product-page.js +79 -0
- package/registry/examples/marketing-layout/product-page.tsx +83 -0
- package/registry/examples/mascots/crane.d.ts +4 -0
- package/registry/examples/mascots/crane.js +19 -0
- package/registry/examples/mascots/crane.tsx +18 -0
- package/registry/examples/mascots/flock.tsx +2 -1
- package/registry/examples/mascots/native/crane.d.ts +4 -0
- package/registry/examples/mascots/native/crane.dark.png +0 -0
- package/registry/examples/mascots/native/crane.js +21 -0
- package/registry/examples/mascots/native/crane.light.png +0 -0
- package/registry/examples/mascots/native/crane.tsx +18 -0
- package/registry/examples/mascots/native/phoenix.d.ts +4 -0
- package/registry/examples/mascots/native/phoenix.dark.png +0 -0
- package/registry/examples/mascots/native/phoenix.js +21 -0
- package/registry/examples/mascots/native/phoenix.light.png +0 -0
- package/registry/examples/mascots/native/phoenix.tsx +18 -0
- package/registry/examples/mascots/phoenix.d.ts +4 -0
- package/registry/examples/mascots/phoenix.js +14 -0
- package/registry/examples/mascots/phoenix.tsx +11 -0
- package/registry/examples/pricing-page/credits.d.ts +4 -0
- package/registry/examples/pricing-page/credits.js +41 -0
- package/registry/examples/pricing-page/credits.tsx +33 -0
- package/registry/examples/product-page/orazaka.d.ts +4 -0
- package/registry/examples/product-page/orazaka.js +44 -0
- package/registry/examples/product-page/orazaka.tsx +36 -0
- package/registry/examples/profile-card/arcade.d.ts +4 -0
- package/registry/examples/profile-card/arcade.js +25 -0
- package/registry/examples/profile-card/arcade.tsx +19 -0
- package/registry/examples/profile-card/creator.d.ts +4 -0
- package/registry/examples/profile-card/creator.js +31 -0
- package/registry/examples/profile-card/creator.tsx +26 -0
- package/registry/examples/profile-card/match.d.ts +4 -0
- package/registry/examples/profile-card/match.js +25 -0
- package/registry/examples/profile-card/match.tsx +19 -0
- package/registry/examples/profile-card/native/default.d.ts +4 -0
- package/registry/examples/profile-card/native/default.dark.png +0 -0
- package/registry/examples/profile-card/native/default.js +27 -0
- package/registry/examples/profile-card/native/default.light.png +0 -0
- package/registry/examples/profile-card/native/default.tsx +22 -0
- package/registry/examples/promise-card/arcade.d.ts +4 -0
- package/registry/examples/promise-card/arcade.js +25 -0
- package/registry/examples/promise-card/arcade.tsx +19 -0
- package/registry/examples/promise-card/guarantee.d.ts +4 -0
- package/registry/examples/promise-card/guarantee.js +23 -0
- package/registry/examples/promise-card/guarantee.tsx +17 -0
- package/registry/examples/scroll-stage/arcade.d.ts +4 -0
- package/registry/examples/scroll-stage/arcade.js +16 -0
- package/registry/examples/scroll-stage/arcade.tsx +15 -0
- package/registry/examples/scroll-stage/chapters.d.ts +4 -0
- package/registry/examples/scroll-stage/chapters.js +25 -0
- package/registry/examples/scroll-stage/chapters.tsx +22 -0
- package/registry/examples/settings-layout/account.d.ts +4 -0
- package/registry/examples/settings-layout/account.js +51 -0
- package/registry/examples/settings-layout/account.tsx +50 -0
- package/registry/examples/settings-layout/sections.d.ts +4 -0
- package/registry/examples/settings-layout/sections.js +27 -0
- package/registry/examples/settings-layout/sections.tsx +24 -0
- package/registry/examples/split-view/empty.d.ts +4 -0
- package/registry/examples/split-view/empty.js +19 -0
- package/registry/examples/split-view/empty.tsx +13 -0
- package/registry/examples/split-view/messages.d.ts +4 -0
- package/registry/examples/split-view/messages.js +49 -0
- package/registry/examples/split-view/messages.tsx +52 -0
- package/registry/examples/stage-banner/round.d.ts +4 -0
- package/registry/examples/stage-banner/round.js +14 -0
- package/registry/examples/stage-banner/round.tsx +11 -0
- package/registry/examples/stage-banner/steps.d.ts +4 -0
- package/registry/examples/stage-banner/steps.js +14 -0
- package/registry/examples/stage-banner/steps.tsx +11 -0
- package/registry/examples/status-page/building.d.ts +4 -0
- package/registry/examples/status-page/building.js +29 -0
- package/registry/examples/status-page/building.tsx +25 -0
- package/registry/examples/status-page/operational.d.ts +4 -0
- package/registry/examples/status-page/operational.js +26 -0
- package/registry/examples/status-page/operational.tsx +20 -0
- package/registry/field.json +1 -1
- package/registry/file-upload.json +1 -1
- package/registry/filter-bar.json +1 -1
- package/registry/gallery-page.json +256 -0
- package/registry/glow-card.json +1 -1
- package/registry/goal-gauge.json +322 -0
- package/registry/how-it-works-page.json +242 -0
- package/registry/image-cropper.json +1 -1
- package/registry/index.json +621 -5
- package/registry/iso.json +1 -1
- package/registry/kbd.json +1 -1
- package/registry/landing-page.json +242 -0
- package/registry/landscape.json +189 -0
- package/registry/legal-page.json +199 -0
- package/registry/link-card.json +1 -1
- package/registry/loader.json +1 -1
- package/registry/longform-page.json +213 -0
- package/registry/marketing-layout.json +172 -0
- package/registry/marquee.json +1 -1
- package/registry/mascot-quote.json +6 -6
- package/registry/mascot-state.json +34 -34
- package/registry/mascots.json +140 -23
- package/registry/media-capture.json +1 -1
- package/registry/meter.json +1 -1
- package/registry/nav-bar.json +1 -1
- package/registry/number-ticker.json +1 -1
- package/registry/page-header.json +1 -1
- package/registry/page-hero.json +3 -3
- package/registry/page.json +5 -5
- package/registry/pagination.json +1 -1
- package/registry/pointer-light.json +1 -1
- package/registry/popover.json +1 -1
- package/registry/pricing-page.json +245 -0
- package/registry/product-page.json +319 -0
- package/registry/profile-card.json +501 -0
- package/registry/progress.json +1 -1
- package/registry/promise-card.json +228 -0
- package/registry/radio-group.json +1 -1
- package/registry/scroll-stage.json +197 -0
- package/registry/search-field.json +1 -1
- package/registry/section-backdrop.json +1 -1
- package/registry/separator.json +1 -1
- package/registry/settings-layout.json +231 -0
- package/registry/skeleton.json +1 -1
- package/registry/slider.json +1 -1
- package/registry/slot.json +1 -1
- package/registry/spinner.json +1 -1
- package/registry/split-view.json +233 -0
- package/registry/stage-banner.json +221 -0
- package/registry/stat.json +1 -1
- package/registry/status-page.json +263 -0
- package/registry/stepper.json +1 -1
- package/registry/switch.json +1 -1
- package/registry/tabs.json +1 -1
- package/registry/tag-input.json +1 -1
- package/registry/terminal-replay.json +1 -1
- package/registry/theme.json +1 -1
- package/registry/toast.json +1 -1
- package/registry/toc.json +1 -1
- package/registry/tooltip.json +1 -1
- package/registry/video-player.json +1 -1
- package/registry/video-trimmer.json +1 -1
- package/dist/chunk-NOVUREEC.js.map +0 -1
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import { Badge } from "@krizaka/ui/badge";
|
|
4
|
+
import { Button } from "@krizaka/ui/button";
|
|
5
|
+
import { DetailLayout } from "@krizaka/ui/detail-layout";
|
|
6
|
+
import { Facts } from "@krizaka/ui/page";
|
|
7
|
+
import { Stat } from "@krizaka/ui/stat";
|
|
8
|
+
import { Tabs } from "@krizaka/ui/tabs";
|
|
9
|
+
|
|
10
|
+
// TEMPLATE — one video in Orochia's studio: the way back to the list, its thumbnail, title and status, its facts, the
|
|
11
|
+
// actions; the tabs (overview · sales · comments); the side panel with the price and the audience — under the content on
|
|
12
|
+
// a phone, where the actions wrap under the title.
|
|
13
|
+
export default function DetailLayoutVideo() {
|
|
14
|
+
return (
|
|
15
|
+
<div className="brand-orochia w-full">
|
|
16
|
+
<Tabs.Root defaultValue="overview">
|
|
17
|
+
<DetailLayout
|
|
18
|
+
back={<a href="#videos">← Videos</a>}
|
|
19
|
+
media={<div className="aspect-video w-40 bg-linear-to-br from-accent to-accent-2" />}
|
|
20
|
+
eyebrow="Video · v-2087"
|
|
21
|
+
title="Night shoot, part 2"
|
|
22
|
+
status={<Badge tone="success" dot>Published</Badge>}
|
|
23
|
+
meta={<Facts items={[{ label: "12:48" }, { label: "Unlock €4.99" }, { label: "18+ checked", tone: "ok" }]} />}
|
|
24
|
+
actions={
|
|
25
|
+
<>
|
|
26
|
+
<Button size="sm" variant="secondary" shape="cut">Edit</Button>
|
|
27
|
+
<Button size="sm" variant="primary" shape="cut">Share</Button>
|
|
28
|
+
</>
|
|
29
|
+
}
|
|
30
|
+
tabs={
|
|
31
|
+
<Tabs.List aria-label="Video">
|
|
32
|
+
<Tabs.Trigger value="overview">Overview</Tabs.Trigger>
|
|
33
|
+
<Tabs.Trigger value="sales">Sales</Tabs.Trigger>
|
|
34
|
+
<Tabs.Trigger value="comments">Comments</Tabs.Trigger>
|
|
35
|
+
</Tabs.List>
|
|
36
|
+
}
|
|
37
|
+
aside={
|
|
38
|
+
<div className="flex flex-col gap-4 rounded-xl border border-border-default bg-surface-1 p-4">
|
|
39
|
+
<Stat label="Unlocks" value="146" trend="up" trendLabel="+12" hint="7 days" />
|
|
40
|
+
<Stat label="Earned" value="€653" hint="after the 10 % fee" />
|
|
41
|
+
</div>
|
|
42
|
+
}
|
|
43
|
+
>
|
|
44
|
+
<Tabs.Content value="overview" className="text-sm leading-relaxed text-fg-secondary">
|
|
45
|
+
The second half of the night shoot in Old Montréal: the rooftop, the rain, the last take at dawn.
|
|
46
|
+
</Tabs.Content>
|
|
47
|
+
<Tabs.Content value="sales" className="text-sm text-fg-secondary">146 unlocks, 3 tips.</Tabs.Content>
|
|
48
|
+
<Tabs.Content value="comments" className="text-sm text-fg-secondary">28 comments, 2 waiting for moderation.</Tabs.Content>
|
|
49
|
+
</DetailLayout>
|
|
50
|
+
</Tabs.Root>
|
|
51
|
+
</div>
|
|
52
|
+
);
|
|
53
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/docs-article-page/cli.tsx
|
|
4
|
+
import { CodeBlock } from "@krizaka/ui/code-block";
|
|
5
|
+
import { DocsArticlePage } from "@krizaka/ui/docs-article-page";
|
|
6
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
+
var PAGES = ["Getting started", "The CLI", "Packs & Studios"];
|
|
8
|
+
function DocsArticlePageCli() {
|
|
9
|
+
return /* @__PURE__ */ jsxs(
|
|
10
|
+
DocsArticlePage,
|
|
11
|
+
{
|
|
12
|
+
className: "brand-orazaka pt-6",
|
|
13
|
+
sidebarLabel: "Pages of the documentation",
|
|
14
|
+
sidebar: /* @__PURE__ */ jsx("nav", { "aria-label": "Orazaka documentation", children: /* @__PURE__ */ jsx("ul", { className: "flex flex-col gap-1 text-sm", children: PAGES.map((p, i) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx("a", { href: `#p${i}`, "aria-current": i === 1 ? "page" : void 0, className: "block rounded-md px-3 py-2 text-fg-secondary no-underline hover:bg-surface-2 aria-[current=page]:bg-accent-soft aria-[current=page]:text-fg", children: p }) }, p)) }) }),
|
|
15
|
+
breadcrumb: [{ href: "#docs", label: "Docs" }, { href: "#orazaka", label: "Orazaka" }],
|
|
16
|
+
title: "The CLI",
|
|
17
|
+
lead: "Install, start and develop Orazaka from one command line.",
|
|
18
|
+
facts: [{ label: "Updated 11 Oct 2026" }, { label: "4 min read" }],
|
|
19
|
+
toc: { label: "On this page", items: [{ id: "install", label: "Install" }, { id: "start", label: "Start" }] },
|
|
20
|
+
pager: { previous: { href: "#p0", title: "Getting started" }, next: { href: "#p2", title: "Packs & Studios" }, labels: { previous: "Previous", next: "Next" } },
|
|
21
|
+
children: [
|
|
22
|
+
/* @__PURE__ */ jsx("h2", { id: "install", children: "Install" }),
|
|
23
|
+
/* @__PURE__ */ jsx("p", { children: "One command installs the engine, the console and the models you choose." }),
|
|
24
|
+
/* @__PURE__ */ jsx(CodeBlock, { code: "npx orazaka install", language: "bash", file: "Terminal", copyLabel: "Copy", copiedLabel: "Copied" }),
|
|
25
|
+
/* @__PURE__ */ jsx("h2", { id: "start", children: "Start" }),
|
|
26
|
+
/* @__PURE__ */ jsx("p", { children: "Then start it; the console opens on your machine." })
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
export {
|
|
32
|
+
DocsArticlePageCli as default
|
|
33
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { CodeBlock } from "@krizaka/ui/code-block";
|
|
2
|
+
import { DocsArticlePage } from "@krizaka/ui/docs-article-page";
|
|
3
|
+
|
|
4
|
+
const PAGES = ["Getting started", "The CLI", "Packs & Studios"];
|
|
5
|
+
|
|
6
|
+
// TEMPLATE — a documentation article (Orazaka's CLI): the pages, where it sits, its title and facts, the reading column,
|
|
7
|
+
// the contents beside it, previous and next at the foot. On a phone the pages fold above the article.
|
|
8
|
+
export default function DocsArticlePageCli() {
|
|
9
|
+
return (
|
|
10
|
+
<DocsArticlePage
|
|
11
|
+
className="brand-orazaka pt-6"
|
|
12
|
+
sidebarLabel="Pages of the documentation"
|
|
13
|
+
sidebar={
|
|
14
|
+
<nav aria-label="Orazaka documentation">
|
|
15
|
+
<ul className="flex flex-col gap-1 text-sm">
|
|
16
|
+
{PAGES.map((p, i) => (
|
|
17
|
+
<li key={p}>
|
|
18
|
+
<a href={`#p${i}`} aria-current={i === 1 ? "page" : undefined} className="block rounded-md px-3 py-2 text-fg-secondary no-underline hover:bg-surface-2 aria-[current=page]:bg-accent-soft aria-[current=page]:text-fg">{p}</a>
|
|
19
|
+
</li>
|
|
20
|
+
))}
|
|
21
|
+
</ul>
|
|
22
|
+
</nav>
|
|
23
|
+
}
|
|
24
|
+
breadcrumb={[{ href: "#docs", label: "Docs" }, { href: "#orazaka", label: "Orazaka" }]}
|
|
25
|
+
title="The CLI"
|
|
26
|
+
lead="Install, start and develop Orazaka from one command line."
|
|
27
|
+
facts={[{ label: "Updated 11 Oct 2026" }, { label: "4 min read" }]}
|
|
28
|
+
toc={{ label: "On this page", items: [{ id: "install", label: "Install" }, { id: "start", label: "Start" }] }}
|
|
29
|
+
pager={{ previous: { href: "#p0", title: "Getting started" }, next: { href: "#p2", title: "Packs & Studios" }, labels: { previous: "Previous", next: "Next" } }}
|
|
30
|
+
>
|
|
31
|
+
<h2 id="install">Install</h2>
|
|
32
|
+
<p>One command installs the engine, the console and the models you choose.</p>
|
|
33
|
+
<CodeBlock code="npx orazaka install" language="bash" file="Terminal" copyLabel="Copy" copiedLabel="Copied" />
|
|
34
|
+
<h2 id="start">Start</h2>
|
|
35
|
+
<p>Then start it; the console opens on your machine.</p>
|
|
36
|
+
</DocsArticlePage>
|
|
37
|
+
);
|
|
38
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/docs-hub-page/krizaka.tsx
|
|
4
|
+
import { ProductLogo } from "@krizaka/ui";
|
|
5
|
+
import { Button } from "@krizaka/ui/button";
|
|
6
|
+
import { CodeBlock } from "@krizaka/ui/code-block";
|
|
7
|
+
import { DocsHubPage } from "@krizaka/ui/docs-hub-page";
|
|
8
|
+
import { Kbd } from "@krizaka/ui/kbd";
|
|
9
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
+
var COLLECTIONS = [
|
|
11
|
+
{ id: "ui", title: "Krizaka UI", href: "#ui", mark: /* @__PURE__ */ jsx(ProductLogo, { id: "krizaka", size: 26, animated: false }), description: "Tokens, a Tailwind preset, the components \u2014 live, generated from their code.", links: [{ href: "#blocks", label: "Blocks" }, { href: "#layouts", label: "Layouts" }, { href: "#templates", label: "Templates" }] },
|
|
12
|
+
{ id: "java", title: "Krizaka Java", href: "#java", mark: /* @__PURE__ */ jsx(ProductLogo, { id: "krizaka", size: 26, animated: false }), description: "Parent, BOM, starters, messaging, Problem Details.", links: [{ href: "#bom", label: "BOM" }, { href: "#messaging", label: "Messaging" }] },
|
|
13
|
+
{ id: "orazaka", brand: "orazaka", title: "Orazaka", href: "#orazaka", mark: /* @__PURE__ */ jsx(ProductLogo, { id: "orazaka", size: 26, animated: false }), description: "The sovereign AI engine: install, packs, administration.", links: [{ href: "#cli", label: "CLI" }, { href: "#packs", label: "Packs" }, { href: "#admin", label: "Admin" }] },
|
|
14
|
+
{ id: "orochia", brand: "orochia", title: "Orochia", href: "#orochia", mark: /* @__PURE__ */ jsx(ProductLogo, { id: "orochia", size: 26, animated: false }), description: "The creator platform: payments, auctions, the admin console.", links: [{ href: "#payouts", label: "Payouts" }, { href: "#console", label: "Console" }] }
|
|
15
|
+
];
|
|
16
|
+
function DocsHubPageKrizaka() {
|
|
17
|
+
return /* @__PURE__ */ jsx(
|
|
18
|
+
DocsHubPage,
|
|
19
|
+
{
|
|
20
|
+
eyebrow: "Documentation",
|
|
21
|
+
title: "Build with Krizaka",
|
|
22
|
+
lead: "Every building block the products are made of, documented from its source.",
|
|
23
|
+
search: /* @__PURE__ */ jsxs(Button, { variant: "secondary", size: "lg", shape: "cut", className: "w-full justify-between text-fg-secondary", children: [
|
|
24
|
+
"Search the documentation ",
|
|
25
|
+
/* @__PURE__ */ jsx(Kbd, { children: "\u2318K" })
|
|
26
|
+
] }),
|
|
27
|
+
searchHints: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
28
|
+
"Try: ",
|
|
29
|
+
/* @__PURE__ */ jsx("a", { href: "#cli", children: "orazaka install" }),
|
|
30
|
+
" \xB7 ",
|
|
31
|
+
/* @__PURE__ */ jsx("a", { href: "#button", children: "Button" }),
|
|
32
|
+
" \xB7 ",
|
|
33
|
+
/* @__PURE__ */ jsx("a", { href: "#bom", children: "BOM" })
|
|
34
|
+
] }),
|
|
35
|
+
collectionsTitle: "Collections",
|
|
36
|
+
collections: COLLECTIONS,
|
|
37
|
+
quickstarts: { title: "Start in one line", children: /* @__PURE__ */ jsx(CodeBlock, { code: "npx orazaka install", language: "bash", file: "Terminal", copyLabel: "Copy", copiedLabel: "Copied" }) },
|
|
38
|
+
popular: { title: "Most read", items: [{ href: "#cli", title: "The CLI", meta: "Orazaka" }, { href: "#button", title: "Button", meta: "Krizaka UI" }, { href: "#bom", title: "The BOM", meta: "Java" }] },
|
|
39
|
+
whatsNew: { title: "What's new", items: [{ href: "#ui-260", title: "Page blocks: frame, hero, cards, decisions", meta: "@krizaka/ui 2.6.0" }, { href: "#java-010", title: "The platform kit on Maven Central", meta: "0.1.0" }] },
|
|
40
|
+
promise: { label: "The owl's promise", text: "Every page here is generated from the code it documents \u2014 when the code changes, the page does." }
|
|
41
|
+
}
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
export {
|
|
45
|
+
DocsHubPageKrizaka as default
|
|
46
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ProductLogo } from "@krizaka/ui";
|
|
2
|
+
import { Button } from "@krizaka/ui/button";
|
|
3
|
+
import { CodeBlock } from "@krizaka/ui/code-block";
|
|
4
|
+
import { DocsHubPage } from "@krizaka/ui/docs-hub-page";
|
|
5
|
+
import { Kbd } from "@krizaka/ui/kbd";
|
|
6
|
+
|
|
7
|
+
const COLLECTIONS = [
|
|
8
|
+
{ id: "ui", title: "Krizaka UI", href: "#ui", mark: <ProductLogo id="krizaka" size={26} animated={false} />, description: "Tokens, a Tailwind preset, the components — live, generated from their code.", links: [{ href: "#blocks", label: "Blocks" }, { href: "#layouts", label: "Layouts" }, { href: "#templates", label: "Templates" }] },
|
|
9
|
+
{ id: "java", title: "Krizaka Java", href: "#java", mark: <ProductLogo id="krizaka" size={26} animated={false} />, description: "Parent, BOM, starters, messaging, Problem Details.", links: [{ href: "#bom", label: "BOM" }, { href: "#messaging", label: "Messaging" }] },
|
|
10
|
+
{ id: "orazaka", brand: "orazaka", title: "Orazaka", href: "#orazaka", mark: <ProductLogo id="orazaka" size={26} animated={false} />, description: "The sovereign AI engine: install, packs, administration.", links: [{ href: "#cli", label: "CLI" }, { href: "#packs", label: "Packs" }, { href: "#admin", label: "Admin" }] },
|
|
11
|
+
{ id: "orochia", brand: "orochia", title: "Orochia", href: "#orochia", mark: <ProductLogo id="orochia" size={26} animated={false} />, description: "The creator platform: payments, auctions, the admin console.", links: [{ href: "#payouts", label: "Payouts" }, { href: "#console", label: "Console" }] },
|
|
12
|
+
];
|
|
13
|
+
|
|
14
|
+
// TEMPLATE — krizaka.com/docs: the search in the middle of the hero (⌘K), the collections each in its product's brand
|
|
15
|
+
// with their quick links, a quick start beside the most read pages, what is new, the owl's promise. On a phone: search,
|
|
16
|
+
// then one collection per row.
|
|
17
|
+
export default function DocsHubPageKrizaka() {
|
|
18
|
+
return (
|
|
19
|
+
<DocsHubPage
|
|
20
|
+
eyebrow="Documentation"
|
|
21
|
+
title="Build with Krizaka"
|
|
22
|
+
lead="Every building block the products are made of, documented from its source."
|
|
23
|
+
search={
|
|
24
|
+
<Button variant="secondary" size="lg" shape="cut" className="w-full justify-between text-fg-secondary">
|
|
25
|
+
Search the documentation <Kbd>⌘K</Kbd>
|
|
26
|
+
</Button>
|
|
27
|
+
}
|
|
28
|
+
searchHints={<>Try: <a href="#cli">orazaka install</a> · <a href="#button">Button</a> · <a href="#bom">BOM</a></>}
|
|
29
|
+
collectionsTitle="Collections"
|
|
30
|
+
collections={COLLECTIONS}
|
|
31
|
+
quickstarts={{ title: "Start in one line", children: <CodeBlock code="npx orazaka install" language="bash" file="Terminal" copyLabel="Copy" copiedLabel="Copied" /> }}
|
|
32
|
+
popular={{ title: "Most read", items: [{ href: "#cli", title: "The CLI", meta: "Orazaka" }, { href: "#button", title: "Button", meta: "Krizaka UI" }, { href: "#bom", title: "The BOM", meta: "Java" }] }}
|
|
33
|
+
whatsNew={{ title: "What's new", items: [{ href: "#ui-260", title: "Page blocks: frame, hero, cards, decisions", meta: "@krizaka/ui 2.6.0" }, { href: "#java-010", title: "The platform kit on Maven Central", meta: "0.1.0" }] }}
|
|
34
|
+
promise={{ label: "The owl's promise", text: "Every page here is generated from the code it documents — when the code changes, the page does." }}
|
|
35
|
+
/>
|
|
36
|
+
);
|
|
37
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/docs-layout/page.tsx
|
|
4
|
+
import { DocsLayout } from "@krizaka/ui/docs-layout";
|
|
5
|
+
import { Toc } from "@krizaka/ui/toc";
|
|
6
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
+
var PAGES = ["Getting started", "Architecture", "API reference"];
|
|
8
|
+
function DocsLayoutPage() {
|
|
9
|
+
return /* @__PURE__ */ jsxs(
|
|
10
|
+
DocsLayout,
|
|
11
|
+
{
|
|
12
|
+
className: "pt-6",
|
|
13
|
+
sidebarLabel: "Pages of the documentation",
|
|
14
|
+
sidebar: /* @__PURE__ */ jsx("nav", { "aria-label": "Documentation", children: /* @__PURE__ */ jsx("ul", { className: "flex flex-col gap-1 text-sm", children: PAGES.map((p, i) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx("a", { href: `#${i}`, "aria-current": i === 0 ? "page" : void 0, className: "block rounded-md px-3 py-2 text-fg-secondary no-underline hover:bg-surface-2 aria-[current=page]:bg-accent-soft aria-[current=page]:text-fg", children: p }) }, p)) }) }),
|
|
15
|
+
toc: /* @__PURE__ */ jsx(Toc, { label: "On this page", items: [{ id: "install", label: "Install" }, { id: "run", label: "Run" }] }),
|
|
16
|
+
children: [
|
|
17
|
+
/* @__PURE__ */ jsx("h1", { className: "font-display text-3xl font-extrabold text-fg", children: "Getting started" }),
|
|
18
|
+
/* @__PURE__ */ jsx("h2", { id: "install", className: "mt-6 text-xl font-bold text-fg", children: "Install" }),
|
|
19
|
+
/* @__PURE__ */ jsx("p", { className: "mt-2 text-sm text-fg-secondary", children: "npx orazaka install" })
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
export {
|
|
25
|
+
DocsLayoutPage as default
|
|
26
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { DocsLayout } from "@krizaka/ui/docs-layout";
|
|
2
|
+
import { Toc } from "@krizaka/ui/toc";
|
|
3
|
+
|
|
4
|
+
const PAGES = ["Getting started", "Architecture", "API reference"];
|
|
5
|
+
|
|
6
|
+
// A documentation page in the site's frame: pages · article · contents; on a phone the pages fold above the article.
|
|
7
|
+
export default function DocsLayoutPage() {
|
|
8
|
+
return (
|
|
9
|
+
<DocsLayout
|
|
10
|
+
className="pt-6"
|
|
11
|
+
sidebarLabel="Pages of the documentation"
|
|
12
|
+
sidebar={
|
|
13
|
+
<nav aria-label="Documentation">
|
|
14
|
+
<ul className="flex flex-col gap-1 text-sm">
|
|
15
|
+
{PAGES.map((p, i) => (
|
|
16
|
+
<li key={p}>
|
|
17
|
+
<a href={`#${i}`} aria-current={i === 0 ? "page" : undefined} className="block rounded-md px-3 py-2 text-fg-secondary no-underline hover:bg-surface-2 aria-[current=page]:bg-accent-soft aria-[current=page]:text-fg">{p}</a>
|
|
18
|
+
</li>
|
|
19
|
+
))}
|
|
20
|
+
</ul>
|
|
21
|
+
</nav>
|
|
22
|
+
}
|
|
23
|
+
toc={<Toc label="On this page" items={[{ id: "install", label: "Install" }, { id: "run", label: "Run" }]} />}
|
|
24
|
+
>
|
|
25
|
+
<h1 className="font-display text-3xl font-extrabold text-fg">Getting started</h1>
|
|
26
|
+
<h2 id="install" className="mt-6 text-xl font-bold text-fg">Install</h2>
|
|
27
|
+
<p className="mt-2 text-sm text-fg-secondary">npx orazaka install</p>
|
|
28
|
+
</DocsLayout>
|
|
29
|
+
);
|
|
30
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/error-page/not-found.tsx
|
|
4
|
+
import { ActionBar } from "@krizaka/ui/action-bar";
|
|
5
|
+
import { ErrorPage } from "@krizaka/ui/error-page";
|
|
6
|
+
import { Mascot } from "@krizaka/ui/mascots";
|
|
7
|
+
import { SearchField } from "@krizaka/ui/search-field";
|
|
8
|
+
import { jsx } from "react/jsx-runtime";
|
|
9
|
+
function ErrorPageNotFound() {
|
|
10
|
+
return /* @__PURE__ */ jsx(
|
|
11
|
+
ErrorPage,
|
|
12
|
+
{
|
|
13
|
+
code: "404",
|
|
14
|
+
mascot: /* @__PURE__ */ jsx(Mascot, { bird: "pigeon", mood: "empty", size: 96 }),
|
|
15
|
+
title: "This page took another road",
|
|
16
|
+
text: "The address may have changed. Search for it, or start again from one of these.",
|
|
17
|
+
search: /* @__PURE__ */ jsx(SearchField, { label: "Search the site", placeholder: "Search\u2026" }),
|
|
18
|
+
actions: /* @__PURE__ */ jsx(ActionBar, { label: "Ways back", primaryFirst: true, actions: [{ href: "#home", label: "Home" }, { href: "#docs", label: "Documentation" }, { href: "#contact", label: "Contact" }] })
|
|
19
|
+
}
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
export {
|
|
23
|
+
ErrorPageNotFound as default
|
|
24
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ActionBar } from "@krizaka/ui/action-bar";
|
|
2
|
+
import { ErrorPage } from "@krizaka/ui/error-page";
|
|
3
|
+
import { Mascot } from "@krizaka/ui/mascots";
|
|
4
|
+
import { SearchField } from "@krizaka/ui/search-field";
|
|
5
|
+
|
|
6
|
+
// TEMPLATE — a page that is not there: the code drawn, the pigeon that lost its way, one sentence, a search, the ways
|
|
7
|
+
// back. Never a dead end.
|
|
8
|
+
export default function ErrorPageNotFound() {
|
|
9
|
+
return (
|
|
10
|
+
<ErrorPage
|
|
11
|
+
code="404"
|
|
12
|
+
mascot={<Mascot bird="pigeon" mood="empty" size={96} />}
|
|
13
|
+
title="This page took another road"
|
|
14
|
+
text="The address may have changed. Search for it, or start again from one of these."
|
|
15
|
+
search={<SearchField label="Search the site" placeholder="Search…" />}
|
|
16
|
+
actions={<ActionBar label="Ways back" primaryFirst actions={[{ href: "#home", label: "Home" }, { href: "#docs", label: "Documentation" }, { href: "#contact", label: "Contact" }]} />}
|
|
17
|
+
/>
|
|
18
|
+
);
|
|
19
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/gallery-page/made-here.tsx
|
|
4
|
+
import { ChipLink } from "@krizaka/ui/chip-link";
|
|
5
|
+
import { cn } from "@krizaka/ui/cn";
|
|
6
|
+
import { GalleryPage } from "@krizaka/ui/gallery-page";
|
|
7
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
var PIECES = [
|
|
9
|
+
{ id: "harbour", title: "Old harbour at dawn", caption: "Flux 1.1 \xB7 seed 4102 \xB7 38 s on a Mac mini", ratio: "aspect-[4/5]" },
|
|
10
|
+
{ id: "loft", title: "A loft studio", caption: "Flux 1.1 \xB7 seed 77 \xB7 41 s", ratio: "aspect-video" },
|
|
11
|
+
{ id: "market", title: "Jean-Talon market", caption: "Flux 1.1 \xB7 seed 905 \xB7 36 s", ratio: "aspect-square" },
|
|
12
|
+
{ id: "snow", title: "First snow, Plateau", caption: "Flux 1.1 \xB7 seed 12 \xB7 39 s", ratio: "aspect-[3/4]" }
|
|
13
|
+
];
|
|
14
|
+
function GalleryPageMadeHere() {
|
|
15
|
+
return /* @__PURE__ */ jsx(
|
|
16
|
+
GalleryPage,
|
|
17
|
+
{
|
|
18
|
+
brand: "orazaka",
|
|
19
|
+
eyebrow: "Made on this Mac",
|
|
20
|
+
title: "Generated by Orazaka itself",
|
|
21
|
+
lead: "Every image here was made locally, with its prompt and its seed \u2014 nothing came from a cloud.",
|
|
22
|
+
filters: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
23
|
+
/* @__PURE__ */ jsx(ChipLink, { href: "#all", selected: true, children: "All" }),
|
|
24
|
+
/* @__PURE__ */ jsx(ChipLink, { href: "#images", children: "Images" }),
|
|
25
|
+
/* @__PURE__ */ jsx(ChipLink, { href: "#voice", children: "Voice" })
|
|
26
|
+
] }),
|
|
27
|
+
galleryLabel: "Pieces",
|
|
28
|
+
items: PIECES.map((p) => ({ id: p.id, title: p.title, caption: p.caption, media: /* @__PURE__ */ jsx("div", { role: "img", "aria-label": p.title, className: cn(p.ratio, "w-full bg-linear-to-br from-accent to-accent-2") }) }))
|
|
29
|
+
}
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
export {
|
|
33
|
+
GalleryPageMadeHere as default
|
|
34
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ChipLink } from "@krizaka/ui/chip-link";
|
|
2
|
+
import { cn } from "@krizaka/ui/cn";
|
|
3
|
+
import { GalleryPage } from "@krizaka/ui/gallery-page";
|
|
4
|
+
|
|
5
|
+
const PIECES = [
|
|
6
|
+
{ id: "harbour", title: "Old harbour at dawn", caption: "Flux 1.1 · seed 4102 · 38 s on a Mac mini", ratio: "aspect-[4/5]" },
|
|
7
|
+
{ id: "loft", title: "A loft studio", caption: "Flux 1.1 · seed 77 · 41 s", ratio: "aspect-video" },
|
|
8
|
+
{ id: "market", title: "Jean-Talon market", caption: "Flux 1.1 · seed 905 · 36 s", ratio: "aspect-square" },
|
|
9
|
+
{ id: "snow", title: "First snow, Plateau", caption: "Flux 1.1 · seed 12 · 39 s", ratio: "aspect-[3/4]" },
|
|
10
|
+
];
|
|
11
|
+
|
|
12
|
+
// TEMPLATE — a demo gallery (Orazaka's « Made on this Mac »): the filters as links (the address keeps the choice), the
|
|
13
|
+
// pieces in staggered columns with how each was made. One column on a phone.
|
|
14
|
+
export default function GalleryPageMadeHere() {
|
|
15
|
+
return (
|
|
16
|
+
<GalleryPage
|
|
17
|
+
brand="orazaka"
|
|
18
|
+
eyebrow="Made on this Mac"
|
|
19
|
+
title="Generated by Orazaka itself"
|
|
20
|
+
lead="Every image here was made locally, with its prompt and its seed — nothing came from a cloud."
|
|
21
|
+
filters={
|
|
22
|
+
<>
|
|
23
|
+
<ChipLink href="#all" selected>All</ChipLink>
|
|
24
|
+
<ChipLink href="#images">Images</ChipLink>
|
|
25
|
+
<ChipLink href="#voice">Voice</ChipLink>
|
|
26
|
+
</>
|
|
27
|
+
}
|
|
28
|
+
galleryLabel="Pieces"
|
|
29
|
+
items={PIECES.map((p) => ({ id: p.id, title: p.title, caption: p.caption, media: <div role="img" aria-label={p.title} className={cn(p.ratio, "w-full bg-linear-to-br from-accent to-accent-2")} /> }))}
|
|
30
|
+
/>
|
|
31
|
+
);
|
|
32
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/goal-gauge/arcade.tsx
|
|
4
|
+
import { GoalGauge } from "@krizaka/ui/goal-gauge";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
function GoalGaugeArcade() {
|
|
7
|
+
return /* @__PURE__ */ jsx("div", { className: "w-96 brand-orochia", children: /* @__PURE__ */ jsx(GoalGauge, { variant: "arcade", label: "Boss gauge", segments: 8, value: 0, mode: "drain", valueText: "All eight sealed" }) });
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
GoalGaugeArcade as default
|
|
11
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { GoalGauge } from "@krizaka/ui/goal-gauge";
|
|
2
|
+
|
|
3
|
+
// The boss gauge: a skewed frame, gradient cells, the label centred — every head sealed, the gauge empty.
|
|
4
|
+
export default function GoalGaugeArcade() {
|
|
5
|
+
return (
|
|
6
|
+
<div className="w-96 brand-orochia">
|
|
7
|
+
<GoalGauge variant="arcade" label="Boss gauge" segments={8} value={0} mode="drain" valueText="All eight sealed" />
|
|
8
|
+
</div>
|
|
9
|
+
);
|
|
10
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/goal-gauge/challenge.tsx
|
|
4
|
+
import { GoalGauge } from "@krizaka/ui/goal-gauge";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
function GoalGaugeChallenge() {
|
|
7
|
+
return /* @__PURE__ */ jsx("div", { className: "w-80", children: /* @__PURE__ */ jsx(GoalGauge, { label: "Backers", segments: 10, value: 6, valueText: "6 of 10 backers" }) });
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
GoalGaugeChallenge as default
|
|
11
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { GoalGauge } from "@krizaka/ui/goal-gauge";
|
|
2
|
+
|
|
3
|
+
// A challenge's goal: 6 backers of 10 — the reached steps light one by one when its scene plays.
|
|
4
|
+
export default function GoalGaugeChallenge() {
|
|
5
|
+
return (
|
|
6
|
+
<div className="w-80">
|
|
7
|
+
<GoalGauge label="Backers" segments={10} value={6} valueText="6 of 10 backers" />
|
|
8
|
+
</div>
|
|
9
|
+
);
|
|
10
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/goal-gauge/drain.tsx
|
|
4
|
+
import { GoalGauge } from "@krizaka/ui/goal-gauge";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
function GoalGaugeDrain() {
|
|
7
|
+
return /* @__PURE__ */ jsx("div", { className: "w-80", children: /* @__PURE__ */ jsx(GoalGauge, { label: "Seats left", segments: 12, value: 3, mode: "drain", valueText: "3 seats left" }) });
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
GoalGaugeDrain as default
|
|
11
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { GoalGauge } from "@krizaka/ui/goal-gauge";
|
|
2
|
+
|
|
3
|
+
// `mode="drain"`: what is left — the spent steps empty one by one (seats, tickets, problems still standing).
|
|
4
|
+
export default function GoalGaugeDrain() {
|
|
5
|
+
return (
|
|
6
|
+
<div className="w-80">
|
|
7
|
+
<GoalGauge label="Seats left" segments={12} value={3} mode="drain" valueText="3 seats left" />
|
|
8
|
+
</div>
|
|
9
|
+
);
|
|
10
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/goal-gauge/native/default.tsx
|
|
4
|
+
import { GoalGauge } from "@krizaka/ui/native";
|
|
5
|
+
import { View } from "react-native";
|
|
6
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
+
function NativeGoalGaugeDefault() {
|
|
8
|
+
return /* @__PURE__ */ jsxs(View, { style: { width: 300, gap: 18 }, children: [
|
|
9
|
+
/* @__PURE__ */ jsx(GoalGauge, { label: "Backers", segments: 10, value: 6, valueText: "6 of 10 backers", animated: false }),
|
|
10
|
+
/* @__PURE__ */ jsx(GoalGauge, { label: "Seats left", segments: 12, value: 3, mode: "drain", valueText: "3 seats left", animated: false })
|
|
11
|
+
] });
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
NativeGoalGaugeDefault as default
|
|
15
|
+
};
|
|
Binary file
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { GoalGauge } from "@krizaka/ui/native";
|
|
2
|
+
import { View } from "react-native";
|
|
3
|
+
|
|
4
|
+
// A challenge's goal and the seats left of a live drop, on mobile.
|
|
5
|
+
export default function NativeGoalGaugeDefault() {
|
|
6
|
+
return (
|
|
7
|
+
<View style={{ width: 300, gap: 18 }}>
|
|
8
|
+
<GoalGauge label="Backers" segments={10} value={6} valueText="6 of 10 backers" animated={false} />
|
|
9
|
+
<GoalGauge label="Seats left" segments={12} value={3} mode="drain" valueText="3 seats left" animated={false} />
|
|
10
|
+
</View>
|
|
11
|
+
);
|
|
12
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/how-it-works-page/orazaka.tsx
|
|
4
|
+
import { CodeBlock } from "@krizaka/ui/code-block";
|
|
5
|
+
import { HowItWorksPage } from "@krizaka/ui/how-it-works-page";
|
|
6
|
+
import { Mascot } from "@krizaka/ui/mascots";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
var copy = { copyLabel: "Copy", copiedLabel: "Copied" };
|
|
9
|
+
function HowItWorksPageOrazaka() {
|
|
10
|
+
return /* @__PURE__ */ jsx(
|
|
11
|
+
HowItWorksPage,
|
|
12
|
+
{
|
|
13
|
+
brand: "orazaka",
|
|
14
|
+
back: { href: "#orazaka", label: "Orazaka" },
|
|
15
|
+
eyebrow: "How it works",
|
|
16
|
+
title: "The journey of a request",
|
|
17
|
+
lead: "Six stages, the same for every request \u2014 and none of them leaves your server.",
|
|
18
|
+
aside: /* @__PURE__ */ jsx(Mascot, { bird: "duck", mood: "thinking", size: 112 }),
|
|
19
|
+
stepsLabel: "The steps",
|
|
20
|
+
steps: [
|
|
21
|
+
{ id: "install", title: "Install", text: "One command pulls the engine, the models you choose and the console.", visual: /* @__PURE__ */ jsx(CodeBlock, { code: "npx orazaka install", language: "bash", file: "Terminal", ...copy }) },
|
|
22
|
+
{ id: "guard", title: "Guard", text: "Every request crosses the same interceptors: identity, quotas, the rules of your workspace.", visual: /* @__PURE__ */ jsx(CodeBlock, { code: "orazaka rules add --deny pii-export", language: "bash", file: "Terminal", ...copy }) },
|
|
23
|
+
{ id: "answer", title: "Answer", text: "The best local model answers; the answer is checked before it is shown.", visual: /* @__PURE__ */ jsx(CodeBlock, { code: "orazaka chat --model llama3.3", language: "bash", file: "Terminal", ...copy }) }
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
);
|
|
27
|
+
}
|
|
28
|
+
export {
|
|
29
|
+
HowItWorksPageOrazaka as default
|
|
30
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { CodeBlock } from "@krizaka/ui/code-block";
|
|
2
|
+
import { HowItWorksPage } from "@krizaka/ui/how-it-works-page";
|
|
3
|
+
import { Mascot } from "@krizaka/ui/mascots";
|
|
4
|
+
|
|
5
|
+
const copy = { copyLabel: "Copy", copiedLabel: "Copied" };
|
|
6
|
+
|
|
7
|
+
// TEMPLATE — how a product works, in steps along a line (Orazaka's journey of a request): each step its words beside
|
|
8
|
+
// its visual, the sides alternating on a wide screen, one column on a phone.
|
|
9
|
+
export default function HowItWorksPageOrazaka() {
|
|
10
|
+
return (
|
|
11
|
+
<HowItWorksPage
|
|
12
|
+
brand="orazaka"
|
|
13
|
+
back={{ href: "#orazaka", label: "Orazaka" }}
|
|
14
|
+
eyebrow="How it works"
|
|
15
|
+
title="The journey of a request"
|
|
16
|
+
lead="Six stages, the same for every request — and none of them leaves your server."
|
|
17
|
+
aside={<Mascot bird="duck" mood="thinking" size={112} />}
|
|
18
|
+
stepsLabel="The steps"
|
|
19
|
+
steps={[
|
|
20
|
+
{ id: "install", title: "Install", text: "One command pulls the engine, the models you choose and the console.", visual: <CodeBlock code="npx orazaka install" language="bash" file="Terminal" {...copy} /> },
|
|
21
|
+
{ id: "guard", title: "Guard", text: "Every request crosses the same interceptors: identity, quotas, the rules of your workspace.", visual: <CodeBlock code="orazaka rules add --deny pii-export" language="bash" file="Terminal" {...copy} /> },
|
|
22
|
+
{ id: "answer", title: "Answer", text: "The best local model answers; the answer is checked before it is shown.", visual: <CodeBlock code="orazaka chat --model llama3.3" language="bash" file="Terminal" {...copy} /> },
|
|
23
|
+
]}
|
|
24
|
+
/>
|
|
25
|
+
);
|
|
26
|
+
}
|