@vadimcomanescu/nadicode-design-system 2.0.6 → 2.0.8
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/.agents/skills/seed/SKILL.md +17 -8
- package/.agents/skills/seed/contract.md +5 -4
- package/.agents/skills/seed/intent-map.md +3 -3
- package/.agents/skills/seed/recipes/agents-chat.md +44 -20
- package/.agents/skills/seed/recipes/marketing-shell.md +10 -19
- package/.agents/skills/seed/recipes/navigation-shell.md +5 -5
- package/.agents/skills/seed/recipes/service-detail.md +1 -1
- package/.agents/skills/seed/references/blocks.md +30 -26
- package/.agents/skills/seed/references/brand-override.md +3 -1
- package/.agents/skills/seed/references/components.md +22 -2
- package/.agents/skills/seed/references/dashboard-patterns.md +12 -12
- package/.agents/skills/seed/references/nextjs.md +20 -80
- package/.agents/skills/seed/references/tokens.md +57 -248
- package/README.md +43 -215
- package/contracts/block-props-schemas.json +2186 -0
- package/contracts/component-props-schemas.json +8322 -0
- package/contracts/consumer-contract.json +178 -0
- package/contracts/consumer-intent-map.json +707 -0
- package/contracts/message-catalog-contract.json +820 -0
- package/contracts/page-kit-props-schemas.json +1894 -0
- package/contracts/public-surface-registry.json +6162 -0
- package/contracts/public-surface-registry.schema.json +227 -0
- package/contracts/release-governance-baseline.json +850 -0
- package/contracts/spec-manifest.json +46 -0
- package/css/tokens.css +300 -122
- package/dist/catalog.json +2166 -162
- package/dist/chunk-2BADJLMV.js +117 -0
- package/dist/chunk-35EX5FP5.js +106 -0
- package/dist/chunk-4IGBBIYW.js +47 -0
- package/dist/chunk-4WPZ6T7V.js +186 -0
- package/dist/chunk-5PZ4VR2D.js +142 -0
- package/dist/chunk-5UESKK6S.js +76 -0
- package/dist/chunk-7A2RXKGH.js +205 -0
- package/dist/{chunk-DF47R6LN.js → chunk-AWIG4QN6.js} +9 -9
- package/dist/chunk-AYWL4IYM.js +67 -0
- package/dist/chunk-C7WHMSF3.js +114 -0
- package/dist/{chunk-SV3KZ6CB.js → chunk-DSMGCFMJ.js} +7 -2
- package/dist/{chunk-4K3PATUT.js → chunk-EEL4RAPC.js} +13 -1
- package/dist/{chunk-ILIHQ2KZ.js → chunk-EK43W2Y6.js} +16 -10
- package/dist/chunk-FV2G6SAF.js +134 -0
- package/dist/chunk-FX23F33E.js +57 -0
- package/dist/chunk-GJPTPLCQ.js +52 -0
- package/dist/chunk-HJ3A2YNO.js +163 -0
- package/dist/chunk-HJZRSPWB.js +38 -0
- package/dist/chunk-HWHJ6IRQ.js +78 -0
- package/dist/chunk-HZERHGBT.js +77 -0
- package/dist/{chunk-AUSYEAIJ.js → chunk-I66XWYSS.js} +32 -8
- package/dist/chunk-IXQGKJU4.js +183 -0
- package/dist/chunk-JDJY4ABS.js +60 -0
- package/dist/chunk-K7NQ6ZAW.js +84 -0
- package/dist/chunk-KWILREVQ.js +147 -0
- package/dist/chunk-LCKLZ4XK.js +60 -0
- package/dist/{chunk-WI37ZYIF.js → chunk-M4XKO45H.js} +13 -1
- package/dist/chunk-NEHCPO53.js +44 -0
- package/dist/chunk-OJ7OO3QB.js +269 -0
- package/dist/{chunk-ZHTQF2KI.js → chunk-OSNTB6RY.js} +29 -22
- package/dist/{chunk-GMMPLZLC.js → chunk-PDSQC6VE.js} +1 -1
- package/dist/chunk-QIHA7S3A.js +36 -0
- package/dist/chunk-QQOWC53X.js +98 -0
- package/dist/chunk-RKQPU75I.js +126 -0
- package/dist/chunk-U4GYSYGN.js +120 -0
- package/dist/chunk-UGV45DH3.js +18 -0
- package/dist/chunk-VBZQ4DBE.js +52 -0
- package/dist/{chunk-LQLFA2EL.js → chunk-VDONTZZX.js} +2 -2
- package/dist/chunk-VEO56RH4.js +105 -0
- package/dist/chunk-VJ5VD4UT.js +91 -0
- package/dist/{chunk-RWNJ54CI.js → chunk-VN475YZS.js} +1 -1
- package/dist/chunk-VNNAL4A6.js +110 -0
- package/dist/chunk-VZCB4APK.js +94 -0
- package/dist/chunk-W7FXDRQJ.js +94 -0
- package/dist/{chunk-5I3FWRC5.js → chunk-WOYBVPXK.js} +10 -10
- package/dist/chunk-WST5NLLC.js +73 -0
- package/dist/chunk-X6VXWEDO.js +125 -0
- package/dist/chunk-XTASI4IY.js +60 -0
- package/dist/chunk-Z233ZQZE.js +33 -0
- package/dist/chunk-ZKLB5N3Q.js +110 -0
- package/dist/chunk-ZM2NODUK.js +39 -0
- package/dist/components/blocks/AccountLockedBlock.js +7 -57
- package/dist/components/blocks/ActivityFeedBlock.js +6 -39
- package/dist/components/blocks/AgentConversationBlock.d.ts +6 -1
- package/dist/components/blocks/AgentConversationBlock.js +45 -71
- package/dist/components/blocks/AgentRunOverviewBlock.js +1 -1
- package/dist/components/blocks/AgentWorkbenchBlock.d.ts +5 -1
- package/dist/components/blocks/AgentWorkbenchBlock.js +47 -46
- package/dist/components/blocks/AudioVisualizerBlock.d.ts +1 -1
- package/dist/components/blocks/AudioVisualizerBlock.js +2 -2
- package/dist/components/blocks/AuthLayout.js +2 -2
- package/dist/components/blocks/AuthSuccessBlock.js +5 -60
- package/dist/components/blocks/BannerBlock.js +38 -38
- package/dist/components/blocks/BarChartBlock.d.ts +1 -1
- package/dist/components/blocks/BarChartBlock.js +2 -2
- package/dist/components/blocks/CallToActionBlock.d.ts +1 -1
- package/dist/components/blocks/CallToActionBlock.js +7 -53
- package/dist/components/blocks/ChangelogBlock.js +45 -142
- package/dist/components/blocks/ChartBlock.js +38 -38
- package/dist/components/blocks/ChartCollectionBlock.js +3 -3
- package/dist/components/blocks/ChatLayout.d.ts +4 -1
- package/dist/components/blocks/ChatLayout.js +39 -39
- package/dist/components/blocks/CodeBlock.js +7 -60
- package/dist/components/blocks/ComparisonBlock.js +9 -94
- package/dist/components/blocks/ContactBlock.js +11 -120
- package/dist/components/blocks/CreateBlock.js +39 -39
- package/dist/components/blocks/DataGridBlock.js +40 -40
- package/dist/components/blocks/DirectoryBlock.js +43 -43
- package/dist/components/blocks/FAQBlock.js +44 -82
- package/dist/components/blocks/FeatureBlock.d.ts +10 -14
- package/dist/components/blocks/FeatureBlock.js +54 -196
- package/dist/components/blocks/FeatureGridBlock.d.ts +1 -1
- package/dist/components/blocks/FeatureGridBlock.js +2 -2
- package/dist/components/blocks/FooterBlock.d.ts +2 -2
- package/dist/components/blocks/FooterBlock.js +11 -67
- package/dist/components/blocks/GalleryBlock.js +38 -38
- package/dist/components/blocks/HeaderBlock.d.ts +2 -2
- package/dist/components/blocks/HeaderBlock.js +39 -39
- package/dist/components/blocks/HeatmapChartBlock.d.ts +1 -1
- package/dist/components/blocks/HeatmapChartBlock.js +1 -1
- package/dist/components/blocks/HeroBlock.d.ts +6 -3
- package/dist/components/blocks/HeroBlock.js +53 -236
- package/dist/components/blocks/HeroSectionBlock.d.ts +1 -1
- package/dist/components/blocks/HeroSectionBlock.js +59 -63
- package/dist/components/blocks/IntegrationsBlock.d.ts +1 -1
- package/dist/components/blocks/IntegrationsBlock.js +42 -42
- package/dist/components/blocks/InteractiveAreaChartBlock.d.ts +1 -1
- package/dist/components/blocks/InteractiveAreaChartBlock.js +40 -40
- package/dist/components/blocks/KanbanDemoBlock.js +3 -3
- package/dist/components/blocks/LoginBlock.js +2 -2
- package/dist/components/blocks/LogoCloud.js +2 -13
- package/dist/components/blocks/NavUser.js +42 -42
- package/dist/components/blocks/NewsletterBlock.js +11 -84
- package/dist/components/blocks/NotFoundBlock.js +41 -41
- package/dist/components/blocks/OnboardingBlock.js +38 -38
- package/dist/components/blocks/PasswordRecoveryBlock.js +14 -142
- package/dist/components/blocks/PricingBlock.d.ts +1 -1
- package/dist/components/blocks/PricingBlock.js +13 -112
- package/dist/components/blocks/ProcessFlowBlock.js +10 -77
- package/dist/components/blocks/ResetPasswordBlock.js +11 -125
- package/dist/components/blocks/SettingsLayout.js +42 -42
- package/dist/components/blocks/SignUpBlock.d.ts +1 -1
- package/dist/components/blocks/SignUpBlock.js +3 -3
- package/dist/components/blocks/SocialProofBlock.d.ts +7 -11
- package/dist/components/blocks/SocialProofBlock.js +10 -108
- package/dist/components/blocks/StatsBlock.d.ts +1 -1
- package/dist/components/blocks/StatsBlock.js +40 -40
- package/dist/components/blocks/StatsMarketingBlock.d.ts +1 -1
- package/dist/components/blocks/StatsMarketingBlock.js +7 -38
- package/dist/components/blocks/TeamBlock.d.ts +1 -1
- package/dist/components/blocks/TeamBlock.js +4 -52
- package/dist/components/blocks/TestimonialsBlock.d.ts +1 -1
- package/dist/components/blocks/TestimonialsBlock.js +5 -133
- package/dist/components/blocks/TwoFactorChallengeBlock.js +46 -131
- package/dist/components/blocks/TwoFactorSetupBlock.js +53 -220
- package/dist/components/blocks/UsageDonutBlock.d.ts +1 -1
- package/dist/components/blocks/UsageDonutBlock.js +2 -2
- package/dist/components/blocks/VoiceAgentCard.d.ts +3 -1
- package/dist/components/blocks/VoiceAgentCard.js +7 -76
- package/dist/components/blocks/WizardBlock.js +39 -39
- package/dist/components/blocks/user/InviteUserModal.js +38 -38
- package/dist/components/logos/index.js +2 -2
- package/dist/components/page-kits/AccountLockedPageKit.d.ts +10 -0
- package/dist/components/page-kits/AccountLockedPageKit.js +48 -0
- package/dist/components/page-kits/AgentsChatPageKit.d.ts +46 -0
- package/dist/components/page-kits/AgentsChatPageKit.js +290 -0
- package/dist/components/page-kits/AnalyticsPageKit.d.ts +49 -0
- package/dist/components/page-kits/AnalyticsPageKit.js +277 -0
- package/dist/components/page-kits/BlogContentPageKit.d.ts +64 -0
- package/dist/components/page-kits/BlogContentPageKit.js +296 -0
- package/dist/components/page-kits/CheckoutPageKit.d.ts +36 -0
- package/dist/components/page-kits/CheckoutPageKit.js +209 -0
- package/dist/components/page-kits/CompanySuitePageKit.d.ts +25 -0
- package/dist/components/page-kits/CompanySuitePageKit.js +240 -0
- package/dist/components/page-kits/CrudFormPageKit.d.ts +54 -0
- package/dist/components/page-kits/CrudFormPageKit.js +138 -0
- package/dist/components/page-kits/CrudListDetailPageKit.d.ts +70 -0
- package/dist/components/page-kits/CrudListDetailPageKit.js +138 -0
- package/dist/components/page-kits/DashboardPageKit.d.ts +39 -0
- package/dist/components/page-kits/DashboardPageKit.js +284 -0
- package/dist/components/page-kits/ErrorPageKit.d.ts +22 -0
- package/dist/components/page-kits/ErrorPageKit.js +55 -0
- package/dist/components/page-kits/KanbanBoardPageKit.d.ts +31 -0
- package/dist/components/page-kits/KanbanBoardPageKit.js +305 -0
- package/dist/components/page-kits/LandingPageKit.d.ts +29 -0
- package/dist/components/page-kits/LandingPageKit.js +222 -0
- package/dist/components/page-kits/LoginPageKit.d.ts +16 -0
- package/dist/components/page-kits/LoginPageKit.js +43 -0
- package/dist/components/page-kits/MarketingShellPageKit.d.ts +21 -0
- package/dist/components/page-kits/MarketingShellPageKit.js +131 -0
- package/dist/components/page-kits/NavigationShellPageKit.d.ts +41 -0
- package/dist/components/page-kits/NavigationShellPageKit.js +132 -0
- package/dist/components/page-kits/OnboardingPageKit.d.ts +26 -0
- package/dist/components/page-kits/OnboardingPageKit.js +248 -0
- package/dist/components/page-kits/PricingPageKit.d.ts +41 -0
- package/dist/components/page-kits/PricingPageKit.js +279 -0
- package/dist/components/page-kits/ProfileSettingsPageKit.d.ts +50 -0
- package/dist/components/page-kits/ProfileSettingsPageKit.js +171 -0
- package/dist/components/page-kits/RecoveryPageKit.d.ts +17 -0
- package/dist/components/page-kits/RecoveryPageKit.js +58 -0
- package/dist/components/page-kits/ResetPageKit.d.ts +14 -0
- package/dist/components/page-kits/ResetPageKit.js +52 -0
- package/dist/components/page-kits/ServiceSuitePageKit.d.ts +25 -0
- package/dist/components/page-kits/ServiceSuitePageKit.js +321 -0
- package/dist/components/page-kits/SettingsPageKit.d.ts +27 -0
- package/dist/components/page-kits/SettingsPageKit.js +11 -0
- package/dist/components/page-kits/SignupPageKit.d.ts +15 -0
- package/dist/components/page-kits/SignupPageKit.js +41 -0
- package/dist/components/page-kits/SuccessPageKit.d.ts +15 -0
- package/dist/components/page-kits/SuccessPageKit.js +146 -0
- package/dist/components/page-kits/TeamSettingsPageKit.d.ts +50 -0
- package/dist/components/page-kits/TeamSettingsPageKit.js +297 -0
- package/dist/components/page-kits/TwoFactorPageKit.d.ts +16 -0
- package/dist/components/page-kits/TwoFactorPageKit.js +156 -0
- package/dist/components/page-kits/VerifyEmailPageKit.d.ts +15 -0
- package/dist/components/page-kits/VerifyEmailPageKit.js +146 -0
- package/dist/components/page-kits/VoiceAgentsPageKit.d.ts +35 -0
- package/dist/components/page-kits/VoiceAgentsPageKit.js +250 -0
- package/dist/components/ui/Accordion.js +38 -38
- package/dist/components/ui/AgentMessageBubble.d.ts +20 -4
- package/dist/components/ui/AgentMessageBubble.js +39 -39
- package/dist/components/ui/AgentStatus.d.ts +1 -1
- package/dist/components/ui/AgentStatus.js +5 -10
- package/dist/components/ui/AgentTerminal.d.ts +4 -1
- package/dist/components/ui/AgentTerminal.js +3 -1
- package/dist/components/ui/AgentTimeline.d.ts +2 -2
- package/dist/components/ui/AgentTimeline.js +15 -6
- package/dist/components/ui/AnimatedDialog.js +38 -38
- package/dist/components/ui/AnimatedSheet.js +38 -38
- package/dist/components/ui/ApprovalCard.js +1 -1
- package/dist/components/ui/AudioWaveform.js +2 -76
- package/dist/components/ui/AvatarUpload.js +1 -1
- package/dist/components/ui/Breadcrumb.js +41 -143
- package/dist/components/ui/Calendar.js +38 -38
- package/dist/components/ui/Carousel.js +38 -38
- package/dist/components/ui/ChartCard.js +5 -38
- package/dist/components/ui/ChatActions.d.ts +14 -0
- package/dist/components/ui/ChatActions.js +52 -0
- package/dist/components/ui/ChatBranch.d.ts +18 -0
- package/dist/components/ui/ChatBranch.js +84 -0
- package/dist/components/ui/ChatChainOfThought.d.ts +25 -0
- package/dist/components/ui/ChatChainOfThought.js +99 -0
- package/dist/components/ui/ChatConfirmation.d.ts +37 -0
- package/dist/components/ui/ChatConfirmation.js +115 -0
- package/dist/components/ui/ChatGreeting.d.ts +18 -0
- package/dist/components/ui/ChatGreeting.js +80 -0
- package/dist/components/ui/ChatMessage.d.ts +40 -0
- package/dist/components/ui/ChatMessage.js +96 -0
- package/dist/components/ui/ChatPlan.d.ts +29 -0
- package/dist/components/ui/ChatPlan.js +86 -0
- package/dist/components/ui/ChatPromptInput.d.ts +32 -0
- package/dist/components/ui/ChatPromptInput.js +193 -0
- package/dist/components/ui/ChatPromptInputAttachments.d.ts +9 -0
- package/dist/components/ui/ChatPromptInputAttachments.js +145 -0
- package/dist/components/ui/ChatQueue.d.ts +32 -0
- package/dist/components/ui/ChatQueue.js +93 -0
- package/dist/components/ui/ChatReasoning.d.ts +20 -0
- package/dist/components/ui/ChatReasoning.js +91 -0
- package/dist/components/ui/ChatResponse.d.ts +14 -0
- package/dist/components/ui/ChatResponse.js +25 -0
- package/dist/components/ui/ChatShimmer.d.ts +23 -0
- package/dist/components/ui/ChatShimmer.js +6 -0
- package/dist/components/ui/ChatSources.d.ts +30 -0
- package/dist/components/ui/ChatSources.js +113 -0
- package/dist/components/ui/ChatSuggestion.d.ts +13 -0
- package/dist/components/ui/ChatSuggestion.js +41 -0
- package/dist/components/ui/ChatThinkingMessage.d.ts +12 -0
- package/dist/components/ui/ChatThinkingMessage.js +55 -0
- package/dist/components/ui/ChatToolCall.d.ts +41 -0
- package/dist/components/ui/ChatToolCall.js +192 -0
- package/dist/components/ui/CheckStatus.d.ts +1 -1
- package/dist/components/ui/Checkbox.js +38 -38
- package/dist/components/ui/CheckoutForm.js +38 -38
- package/dist/components/ui/CheckoutFormDemo.js +43 -44
- package/dist/components/ui/Combobox.js +38 -38
- package/dist/components/ui/Command.js +38 -38
- package/dist/components/ui/ContextMenu.js +38 -38
- package/dist/components/ui/Conversation.d.ts +21 -0
- package/dist/components/ui/Conversation.js +196 -0
- package/dist/components/ui/ConversationThread.d.ts +8 -2
- package/dist/components/ui/ConversationThread.js +34 -16
- package/dist/components/ui/DataFreshness.js +2 -73
- package/dist/components/ui/DataTable.js +40 -40
- package/dist/components/ui/DatePicker.js +38 -38
- package/dist/components/ui/DateRangePicker.js +38 -38
- package/dist/components/ui/Dialog.js +38 -38
- package/dist/components/ui/DropdownMenu.js +39 -39
- package/dist/components/ui/FileUpload.js +38 -38
- package/dist/components/ui/InputOTP.js +38 -38
- package/dist/components/ui/KanbanBoard.js +2 -2
- package/dist/components/ui/LanguageSwitcher.js +38 -38
- package/dist/components/ui/Menubar.js +38 -38
- package/dist/components/ui/MouseEffect.js +1 -1
- package/dist/components/ui/NativeSelect.js +2 -18
- package/dist/components/ui/NavigationMenu.js +38 -38
- package/dist/components/ui/NotificationCenter.js +38 -38
- package/dist/components/ui/Pagination.js +42 -153
- package/dist/components/ui/RadioGroup.js +38 -38
- package/dist/components/ui/Resizable.js +38 -38
- package/dist/components/ui/SearchCommand.js +38 -38
- package/dist/components/ui/Select.js +38 -38
- package/dist/components/ui/SettingsModal.js +38 -38
- package/dist/components/ui/ShaderBackground.js +2 -2
- package/dist/components/ui/Sheet.js +38 -38
- package/dist/components/ui/Sidebar.js +41 -41
- package/dist/components/ui/StyleToggle.js +1 -1
- package/dist/components/ui/TagInput.js +38 -38
- package/dist/components/ui/ThemeToggle.js +39 -39
- package/dist/components/ui/ThinkingIndicator.d.ts +3 -1
- package/dist/components/ui/ThinkingIndicator.js +2 -1
- package/dist/components/ui/Toast.js +38 -38
- package/dist/components/ui/Toaster.js +38 -38
- package/dist/components/ui/ToolCallCard.d.ts +1 -1
- package/dist/components/ui/ToolCallCard.js +5 -1
- package/dist/components/ui/TreeView.js +38 -38
- package/dist/components/ui/charts/index.js +1 -1
- package/dist/components/ui/icons/index.js +38 -38
- package/dist/components/ui/text-effects/index.js +2 -2
- package/dist/hooks/use-scroll-to-bottom.d.ts +13 -0
- package/dist/hooks/use-scroll-to-bottom.js +2 -0
- package/dist/hooks/use-shader-preset.js +2 -2
- package/dist/index.js +43 -43
- package/dist/internal/local-image-assets.d.ts +12 -0
- package/dist/lib/shader-presets.js +1 -1
- package/dist/lib/tokens.config.d.ts +19 -0
- package/dist/messages/en.js +1 -1
- package/dist/messages/it.js +1 -1
- package/dist/test/PublicSeedTestProvider.js +2 -2
- package/dist/test/simulate-ime-composition.d.ts +54 -0
- package/dist/test/simulate-ime-composition.js +55 -0
- package/eslint-rules/nadicode/config.js +2 -0
- package/eslint-rules/nadicode/index.js +4 -0
- package/eslint-rules/nadicode/rules/no-deprecated-ds-import.js +77 -0
- package/eslint-rules/nadicode/rules/no-forbidden-page-kit-import.js +99 -0
- package/eslint-rules/nadicode/rules/no-unregistered-glass.js +2 -0
- package/package.json +895 -686
- package/scripts/ds-check.mjs +102 -73
- package/src/lib/tokens.config.js +63 -41
- package/dist/chunk-MLUSJTS2.js +0 -107
- package/dist/{chunk-5DKCZWC6.js → chunk-CQEUNASC.js} +1 -1
- package/dist/{chunk-4HRVRW2X.js → chunk-J2DCQDXO.js} +2 -2
- package/dist/{chunk-6MFAZU4B.js → chunk-RGE5OQMZ.js} +1 -1
- package/dist/{chunk-PJNHVPHF.js → chunk-TYP2MR3Q.js} +1 -1
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
import { TextReveal } from './chunk-LV4LBWCS.js';
|
|
2
|
+
import { AnimatedGradientText } from './chunk-XZ3A33GP.js';
|
|
3
|
+
import { Heading } from './chunk-WI547C47.js';
|
|
4
|
+
import { siteConfig } from './chunk-A7NUWD76.js';
|
|
5
|
+
import { Card, CardHeader, CardContent } from './chunk-AH6YSYYT.js';
|
|
6
|
+
import { MouseGlow } from './chunk-DSMGCFMJ.js';
|
|
7
|
+
import { Button } from './chunk-7KIDDF3I.js';
|
|
8
|
+
import { m, heroStagger } from './chunk-PD2YEH3H.js';
|
|
9
|
+
import { ZapIcon } from './chunk-FLF5AMNO.js';
|
|
10
|
+
import { TerminalIcon } from './chunk-3CLXYQKB.js';
|
|
11
|
+
import { SparklesIcon } from './chunk-CGUCH322.js';
|
|
12
|
+
import { ArrowRightIcon } from './chunk-T7H53CK2.js';
|
|
13
|
+
import { ChevronRightIcon } from './chunk-G24VV5NO.js';
|
|
14
|
+
import { Badge } from './chunk-S4JAHKOP.js';
|
|
15
|
+
import { cn } from './chunk-QYZT24TS.js';
|
|
16
|
+
import { useReducedMotion } from 'motion/react';
|
|
17
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
18
|
+
|
|
19
|
+
var TEXT_EFFECTS = {
|
|
20
|
+
textRevealDelayMs: 200
|
|
21
|
+
};
|
|
22
|
+
var DEFAULT_PRIMARY_ACTION = { label: "Get Started" };
|
|
23
|
+
var DEFAULT_SECONDARY_ACTION = { label: "View Components" };
|
|
24
|
+
var DEFAULT_ANNOUNCEMENT = { label: "New", text: `${siteConfig.name} System v2.0 is now live`, href: "#" };
|
|
25
|
+
function HeroCenteredVariant({
|
|
26
|
+
headline = "Experience the Future of Synthetic Intelligence",
|
|
27
|
+
subheadline = "Unleash the power of deep learning with our ultra-realistic, high-performance design system. Built for the next generation of AI interfaces.",
|
|
28
|
+
primaryAction = DEFAULT_PRIMARY_ACTION,
|
|
29
|
+
secondaryAction = DEFAULT_SECONDARY_ACTION,
|
|
30
|
+
announcement = DEFAULT_ANNOUNCEMENT,
|
|
31
|
+
className
|
|
32
|
+
}) {
|
|
33
|
+
const shouldReduceMotion = useReducedMotion();
|
|
34
|
+
const Wrapper = shouldReduceMotion ? "div" : m.div;
|
|
35
|
+
const Item = shouldReduceMotion ? "div" : m.div;
|
|
36
|
+
return /* @__PURE__ */ jsxs("section", { className: cn("relative overflow-hidden py-24 md:py-32", className), children: [
|
|
37
|
+
/* @__PURE__ */ jsx(MouseGlow, { className: "opacity-40" }),
|
|
38
|
+
/* @__PURE__ */ jsxs(
|
|
39
|
+
Wrapper,
|
|
40
|
+
{
|
|
41
|
+
className: "container relative z-10 mx-auto px-4 text-center",
|
|
42
|
+
...!shouldReduceMotion && {
|
|
43
|
+
initial: "hidden",
|
|
44
|
+
animate: "visible",
|
|
45
|
+
variants: heroStagger.container
|
|
46
|
+
},
|
|
47
|
+
children: [
|
|
48
|
+
/* @__PURE__ */ jsx(Item, { ...!shouldReduceMotion && { variants: heroStagger.child }, children: /* @__PURE__ */ jsx("div", { className: "mb-8 flex justify-center", children: /* @__PURE__ */ jsxs(
|
|
49
|
+
"a",
|
|
50
|
+
{
|
|
51
|
+
href: announcement.href,
|
|
52
|
+
className: "inline-flex items-center rounded-full border border-border/50 bg-surface/50 px-4 py-1.5 text-sm font-medium text-text-secondary glass-overlay transition-colors hover:border-accent/10 hover:bg-surface-hover",
|
|
53
|
+
children: [
|
|
54
|
+
/* @__PURE__ */ jsx(Badge, { variant: "accent", className: "mr-2 h-5 px-1.5 text-[10px]", children: announcement.label }),
|
|
55
|
+
/* @__PURE__ */ jsxs("span", { className: "flex items-center gap-1.5", children: [
|
|
56
|
+
announcement.text,
|
|
57
|
+
/* @__PURE__ */ jsx(ChevronRightIcon, { size: 12 })
|
|
58
|
+
] })
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
) }) }),
|
|
62
|
+
/* @__PURE__ */ jsx(Item, { ...!shouldReduceMotion && { variants: heroStagger.child }, children: /* @__PURE__ */ jsxs(Heading, { level: 1, size: "display", className: "mx-auto max-w-4xl text-5xl text-text-primary sm:text-7xl", children: [
|
|
63
|
+
/* @__PURE__ */ jsx("span", { className: "block", children: /* @__PURE__ */ jsx(TextReveal, { text: headline.split(" ").slice(0, 3).join(" "), by: "word", delay: TEXT_EFFECTS.textRevealDelayMs, className: "justify-center" }) }),
|
|
64
|
+
/* @__PURE__ */ jsx(AnimatedGradientText, { className: "mt-1.5", children: headline.split(" ").slice(3).join(" ") })
|
|
65
|
+
] }) }),
|
|
66
|
+
/* @__PURE__ */ jsx(Item, { ...!shouldReduceMotion && { variants: heroStagger.child }, children: /* @__PURE__ */ jsx("p", { className: "mx-auto mt-6 max-w-2xl text-lg leading-8 text-text-secondary", children: subheadline }) }),
|
|
67
|
+
/* @__PURE__ */ jsx(Item, { ...!shouldReduceMotion && { variants: heroStagger.child }, children: /* @__PURE__ */ jsxs("div", { className: "mt-10 flex items-center justify-center gap-4", children: [
|
|
68
|
+
/* @__PURE__ */ jsxs(Button, { size: "lg", variant: "primary", onClick: primaryAction.onClick, children: [
|
|
69
|
+
primaryAction.label,
|
|
70
|
+
/* @__PURE__ */ jsx(ArrowRightIcon, { size: 16, className: "ml-2" })
|
|
71
|
+
] }),
|
|
72
|
+
/* @__PURE__ */ jsx(Button, { size: "lg", variant: "outline", onClick: secondaryAction.onClick, children: secondaryAction.label })
|
|
73
|
+
] }) }),
|
|
74
|
+
/* @__PURE__ */ jsx(Item, { ...!shouldReduceMotion && { variants: heroStagger.child }, children: /* @__PURE__ */ jsx("div", { className: "mt-20", children: /* @__PURE__ */ jsx(Card, { className: "mx-auto max-w-5xl rounded-xl p-2 lg:rounded-2xl lg:p-4", children: /* @__PURE__ */ jsxs("div", { className: "aspect-[16/9] overflow-hidden rounded-lg border border-border glass-panel shadow-inner relative", children: [
|
|
75
|
+
/* @__PURE__ */ jsxs("div", { className: "absolute inset-0 flex flex-col", children: [
|
|
76
|
+
/* @__PURE__ */ jsxs("div", { className: "h-12 border-b border-border flex items-center px-4 gap-4 bg-muted/30", children: [
|
|
77
|
+
/* @__PURE__ */ jsxs("div", { className: "flex gap-2", children: [
|
|
78
|
+
/* @__PURE__ */ jsx("div", { className: "h-3 w-3 rounded-full bg-destructive/50" }),
|
|
79
|
+
/* @__PURE__ */ jsx("div", { className: "h-3 w-3 rounded-full bg-chart-5/50" }),
|
|
80
|
+
/* @__PURE__ */ jsx("div", { className: "h-3 w-3 rounded-full bg-chart-4/50" })
|
|
81
|
+
] }),
|
|
82
|
+
/* @__PURE__ */ jsx("div", { className: "h-6 w-full max-w-sm rounded bg-muted" })
|
|
83
|
+
] }),
|
|
84
|
+
/* @__PURE__ */ jsxs("div", { className: "flex-1 flex", children: [
|
|
85
|
+
/* @__PURE__ */ jsxs("div", { className: "w-64 border-r border-border p-4 space-y-4 bg-muted/10 hidden md:block", children: [
|
|
86
|
+
/* @__PURE__ */ jsx("div", { className: "h-4 w-24 rounded bg-muted" }),
|
|
87
|
+
/* @__PURE__ */ jsx("div", { className: "h-4 w-32 rounded bg-muted/50" }),
|
|
88
|
+
/* @__PURE__ */ jsx("div", { className: "h-4 w-20 rounded bg-muted/50" }),
|
|
89
|
+
/* @__PURE__ */ jsx("div", { className: "h-4 w-28 rounded bg-muted/50" })
|
|
90
|
+
] }),
|
|
91
|
+
/* @__PURE__ */ jsxs("div", { className: "flex-1 p-6 space-y-6", children: [
|
|
92
|
+
/* @__PURE__ */ jsxs("div", { className: "flex gap-4", children: [
|
|
93
|
+
/* @__PURE__ */ jsx("div", { className: "h-32 flex-1 rounded-lg border border-border bg-muted/20" }),
|
|
94
|
+
/* @__PURE__ */ jsx("div", { className: "h-32 flex-1 rounded-lg border border-border bg-muted/20" }),
|
|
95
|
+
/* @__PURE__ */ jsx("div", { className: "h-32 flex-1 rounded-lg border border-border bg-muted/20" })
|
|
96
|
+
] }),
|
|
97
|
+
/* @__PURE__ */ jsx("div", { className: "h-64 rounded-lg border border-border bg-muted/10" })
|
|
98
|
+
] })
|
|
99
|
+
] })
|
|
100
|
+
] }),
|
|
101
|
+
/* @__PURE__ */ jsx("div", { className: "absolute inset-0 flex h-full w-full items-center justify-center pointer-events-none", children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-2 gap-8 opacity-20", children: [
|
|
102
|
+
/* @__PURE__ */ jsx("div", { className: "h-32 w-32 rounded-full border border-primary/50 blur-3xl animate-pulse" }),
|
|
103
|
+
/* @__PURE__ */ jsx("div", { className: "h-32 w-32 rounded-full border border-primary/50 blur-3xl animate-pulse delay-1000" })
|
|
104
|
+
] }) })
|
|
105
|
+
] }) }) }) })
|
|
106
|
+
]
|
|
107
|
+
}
|
|
108
|
+
)
|
|
109
|
+
] });
|
|
110
|
+
}
|
|
111
|
+
var DEFAULT_SPLIT_PRIMARY_ACTION = { label: "Start Building" };
|
|
112
|
+
function HeroSplitVariant({
|
|
113
|
+
headline = `Build faster with ${siteConfig.name}`,
|
|
114
|
+
subheadline = "A complete component library for building modern, high-contrast AI applications.",
|
|
115
|
+
primaryAction = DEFAULT_SPLIT_PRIMARY_ACTION,
|
|
116
|
+
className
|
|
117
|
+
}) {
|
|
118
|
+
const shouldReduceMotion = useReducedMotion();
|
|
119
|
+
const Wrapper = shouldReduceMotion ? "div" : m.div;
|
|
120
|
+
const Item = shouldReduceMotion ? "div" : m.div;
|
|
121
|
+
return /* @__PURE__ */ jsx("section", { className: cn("relative overflow-hidden py-24 md:py-32", className), children: /* @__PURE__ */ jsxs("div", { className: "container mx-auto grid gap-12 px-6 lg:px-8 lg:grid-cols-2 lg:items-center", children: [
|
|
122
|
+
/* @__PURE__ */ jsxs(
|
|
123
|
+
Wrapper,
|
|
124
|
+
{
|
|
125
|
+
className: "relative z-10",
|
|
126
|
+
...!shouldReduceMotion && {
|
|
127
|
+
initial: "hidden",
|
|
128
|
+
animate: "visible",
|
|
129
|
+
variants: heroStagger.container
|
|
130
|
+
},
|
|
131
|
+
children: [
|
|
132
|
+
/* @__PURE__ */ jsx(Item, { ...!shouldReduceMotion && { variants: heroStagger.child }, children: /* @__PURE__ */ jsxs("div", { className: "inline-flex items-center rounded-lg border border-border bg-surface px-4 py-1.5 mb-6", children: [
|
|
133
|
+
/* @__PURE__ */ jsx(SparklesIcon, { size: 16, className: "mr-2 text-accent" }),
|
|
134
|
+
/* @__PURE__ */ jsx("span", { className: "text-sm font-medium text-text-secondary", children: "AI-Powered Components" })
|
|
135
|
+
] }) }),
|
|
136
|
+
/* @__PURE__ */ jsx(Item, { ...!shouldReduceMotion && { variants: heroStagger.child }, children: /* @__PURE__ */ jsx(Heading, { level: 1, size: "display", className: "text-text-primary sm:text-6xl mb-6", children: /* @__PURE__ */ jsx(TextReveal, { text: headline, by: "word", delay: TEXT_EFFECTS.textRevealDelayMs }) }) }),
|
|
137
|
+
/* @__PURE__ */ jsx(Item, { ...!shouldReduceMotion && { variants: heroStagger.child }, children: /* @__PURE__ */ jsx("p", { className: "text-lg text-text-secondary mb-8 leading-relaxed max-w-lg", children: subheadline }) }),
|
|
138
|
+
/* @__PURE__ */ jsx(Item, { ...!shouldReduceMotion && { variants: heroStagger.child }, children: /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap gap-4", children: [
|
|
139
|
+
/* @__PURE__ */ jsxs(Button, { size: "lg", variant: "accent", onClick: primaryAction.onClick, children: [
|
|
140
|
+
primaryAction.label,
|
|
141
|
+
/* @__PURE__ */ jsx(ZapIcon, { size: 16, className: "ml-2" })
|
|
142
|
+
] }),
|
|
143
|
+
/* @__PURE__ */ jsx(Button, { size: "lg", variant: "ghost", children: "Documentation" })
|
|
144
|
+
] }) }),
|
|
145
|
+
/* @__PURE__ */ jsx(Item, { ...!shouldReduceMotion && { variants: heroStagger.child }, children: /* @__PURE__ */ jsxs("div", { className: "mt-8 flex items-center gap-4 text-sm text-text-tertiary", children: [
|
|
146
|
+
/* @__PURE__ */ jsx("div", { className: "flex -space-x-2", children: [1, 2, 3, 4].map((i) => /* @__PURE__ */ jsxs("div", { className: "h-8 w-8 rounded-full border-2 border-background bg-surface-active flex items-center justify-center text-[10px] font-bold", children: [
|
|
147
|
+
"U",
|
|
148
|
+
i
|
|
149
|
+
] }, i)) }),
|
|
150
|
+
/* @__PURE__ */ jsx("p", { children: "Trusted by 10,000+ developers" })
|
|
151
|
+
] }) })
|
|
152
|
+
]
|
|
153
|
+
}
|
|
154
|
+
),
|
|
155
|
+
/* @__PURE__ */ jsxs("div", { className: "relative lg:ml-auto w-full max-w-md", children: [
|
|
156
|
+
/* @__PURE__ */ jsx("div", { className: "absolute -inset-4 rounded-xl bg-gradient-to-r from-primary to-text-secondary opacity-20 blur-2xl" }),
|
|
157
|
+
/* @__PURE__ */ jsxs(Card, { interactive: true, className: "relative w-full border-border/50", children: [
|
|
158
|
+
/* @__PURE__ */ jsx(CardHeader, { className: "border-b border-border/50 pb-4", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
159
|
+
/* @__PURE__ */ jsxs("div", { className: "flex space-x-2", children: [
|
|
160
|
+
/* @__PURE__ */ jsx("div", { className: "h-3 w-3 rounded-full bg-destructive/50" }),
|
|
161
|
+
/* @__PURE__ */ jsx("div", { className: "h-3 w-3 rounded-full bg-chart-5/50" }),
|
|
162
|
+
/* @__PURE__ */ jsx("div", { className: "h-3 w-3 rounded-full bg-chart-4/50" })
|
|
163
|
+
] }),
|
|
164
|
+
/* @__PURE__ */ jsx("div", { className: "text-xs text-text-tertiary font-mono", children: "terminal.tsx" })
|
|
165
|
+
] }) }),
|
|
166
|
+
/* @__PURE__ */ jsxs(CardContent, { className: "space-y-4 p-6 font-mono text-sm", children: [
|
|
167
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-chart-4", children: [
|
|
168
|
+
/* @__PURE__ */ jsx(ChevronRightIcon, { size: 16 }),
|
|
169
|
+
/* @__PURE__ */ jsx("span", { children: "npm install @nadicode/core" })
|
|
170
|
+
] }),
|
|
171
|
+
/* @__PURE__ */ jsxs("div", { className: "text-text-secondary", children: [
|
|
172
|
+
/* @__PURE__ */ jsx("span", { className: "text-chart-2", children: "\u2714" }),
|
|
173
|
+
" Added 124 packages"
|
|
174
|
+
] }),
|
|
175
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-text-primary", children: [
|
|
176
|
+
/* @__PURE__ */ jsx(ChevronRightIcon, { size: 16, className: "text-text-tertiary" }),
|
|
177
|
+
/* @__PURE__ */ jsx("span", { children: "npx nadicode init" })
|
|
178
|
+
] }),
|
|
179
|
+
/* @__PURE__ */ jsxs("div", { className: "bg-surface/50 p-4 rounded border border-border/50 text-xs text-text-secondary mt-4", children: [
|
|
180
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 mb-2", children: [
|
|
181
|
+
/* @__PURE__ */ jsx(TerminalIcon, { size: 12 }),
|
|
182
|
+
/* @__PURE__ */ jsx("span", { children: "Initializing project..." })
|
|
183
|
+
] }),
|
|
184
|
+
/* @__PURE__ */ jsx("div", { className: "h-1 w-full bg-border rounded-full overflow-hidden", children: /* @__PURE__ */ jsx("div", { className: "h-full bg-accent w-2/3" }) })
|
|
185
|
+
] })
|
|
186
|
+
] })
|
|
187
|
+
] }),
|
|
188
|
+
/* @__PURE__ */ jsx("div", { className: "absolute -bottom-6 -left-6 max-w-[200px]", children: /* @__PURE__ */ jsx(Card, { className: "border-border/50 shadow-xl", children: /* @__PURE__ */ jsxs(CardContent, { className: "p-4 flex items-center gap-4", children: [
|
|
189
|
+
/* @__PURE__ */ jsx("div", { className: "h-8 w-8 rounded-full bg-chart-4/20 flex items-center justify-center text-chart-4", children: /* @__PURE__ */ jsx(ZapIcon, { size: 16 }) }),
|
|
190
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
191
|
+
/* @__PURE__ */ jsx("div", { className: "text-xs font-bold text-text-primary", children: "Deployment" }),
|
|
192
|
+
/* @__PURE__ */ jsx("div", { className: "text-[10px] text-text-secondary", children: "Successful (24ms)" })
|
|
193
|
+
] })
|
|
194
|
+
] }) }) })
|
|
195
|
+
] })
|
|
196
|
+
] }) });
|
|
197
|
+
}
|
|
198
|
+
function HeroBlock({ variant = "centered", ...props }) {
|
|
199
|
+
if (variant === "split") {
|
|
200
|
+
return /* @__PURE__ */ jsx(HeroSplitVariant, { ...props });
|
|
201
|
+
}
|
|
202
|
+
return /* @__PURE__ */ jsx(HeroCenteredVariant, { ...props });
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
export { HeroBlock };
|
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
var PALETTE = {
|
|
3
3
|
"arctic-light": {
|
|
4
4
|
bg: "#f7f7f8",
|
|
5
|
-
c1: "#
|
|
5
|
+
c1: "#e8f5f0",
|
|
6
6
|
c2: "#dee1e3",
|
|
7
|
-
c3: "#
|
|
7
|
+
c3: "#d4ede5",
|
|
8
8
|
c4: "#ecedee",
|
|
9
|
-
accent: "#
|
|
9
|
+
accent: "#059669"
|
|
10
10
|
},
|
|
11
11
|
"arctic-dark": {
|
|
12
|
-
bg: "#
|
|
13
|
-
c1: "#
|
|
14
|
-
c2: "#
|
|
15
|
-
c3: "#
|
|
16
|
-
c4: "#
|
|
17
|
-
accent: "#
|
|
12
|
+
bg: "#000000",
|
|
13
|
+
c1: "#06130e",
|
|
14
|
+
c2: "#0e1411",
|
|
15
|
+
c3: "#081a12",
|
|
16
|
+
c4: "#080c0a",
|
|
17
|
+
accent: "#0a9e6f"
|
|
18
18
|
},
|
|
19
19
|
bloom: {
|
|
20
20
|
bg: "#fefdfb",
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { StaggerChildren } from './chunk-DQPK2XRL.js';
|
|
2
|
+
import { Heading } from './chunk-WI547C47.js';
|
|
3
|
+
import { siteConfig } from './chunk-A7NUWD76.js';
|
|
4
|
+
import { Separator } from './chunk-CUZJIDU7.js';
|
|
5
|
+
import { Input } from './chunk-AP3XXYAY.js';
|
|
6
|
+
import { ScrollFadeIn } from './chunk-I23DDSU7.js';
|
|
7
|
+
import { Button } from './chunk-7KIDDF3I.js';
|
|
8
|
+
import { TwitterIcon } from './chunk-LCDDAE7J.js';
|
|
9
|
+
import { LinkedinIcon } from './chunk-2IZC7HSV.js';
|
|
10
|
+
import { GithubIcon } from './chunk-WGPK3FQ7.js';
|
|
11
|
+
import { useTranslations } from 'next-intl';
|
|
12
|
+
import Link from 'next/link';
|
|
13
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
14
|
+
|
|
15
|
+
var CURRENT_YEAR = (/* @__PURE__ */ new Date()).getFullYear();
|
|
16
|
+
var defaultSocialIcons = [
|
|
17
|
+
{ icon: /* @__PURE__ */ jsx(TwitterIcon, { size: 16 }, "twitter"), label: "Twitter" },
|
|
18
|
+
{ icon: /* @__PURE__ */ jsx(GithubIcon, { size: 16 }, "github"), label: "GitHub" },
|
|
19
|
+
{ icon: /* @__PURE__ */ jsx(LinkedinIcon, { size: 16 }, "linkedin"), label: "LinkedIn" }
|
|
20
|
+
];
|
|
21
|
+
function FooterBlock({
|
|
22
|
+
brandDescription = "The ultimate design system for building futuristic, high-contrast AI interfaces.",
|
|
23
|
+
newsletterPlaceholder = "Enter your email",
|
|
24
|
+
productLinks = siteConfig.nav.footer.product,
|
|
25
|
+
companyLinks = siteConfig.nav.footer.company,
|
|
26
|
+
legalLinks = siteConfig.nav.footer.legal,
|
|
27
|
+
socialIcons = defaultSocialIcons,
|
|
28
|
+
className
|
|
29
|
+
}) {
|
|
30
|
+
const t = useTranslations("blocks.footerBlock");
|
|
31
|
+
return /* @__PURE__ */ jsx(ScrollFadeIn, { children: /* @__PURE__ */ jsx("footer", { className: className ?? "bg-background py-12 lg:py-16 border-t border-border/50", children: /* @__PURE__ */ jsxs("div", { className: "container mx-auto px-6 lg:px-8", children: [
|
|
32
|
+
/* @__PURE__ */ jsxs("div", { className: "grid gap-12 lg:grid-cols-4", children: [
|
|
33
|
+
/* @__PURE__ */ jsxs("div", { className: "lg:col-span-2 space-y-6", children: [
|
|
34
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
35
|
+
/* @__PURE__ */ jsx("div", { className: "h-8 w-8 rounded-full bg-primary/20 flex items-center justify-center border border-primary/50 text-primary font-bold", children: "S" }),
|
|
36
|
+
/* @__PURE__ */ jsx("span", { className: "text-xl font-bold text-text-primary", children: siteConfig.name })
|
|
37
|
+
] }),
|
|
38
|
+
/* @__PURE__ */ jsx("p", { className: "max-w-xs text-text-secondary", children: brandDescription }),
|
|
39
|
+
/* @__PURE__ */ jsxs("div", { className: "flex max-w-sm flex-col gap-2 sm:flex-row", children: [
|
|
40
|
+
/* @__PURE__ */ jsx(Input, { placeholder: newsletterPlaceholder, type: "email", className: "bg-surface/50 border-border/50" }),
|
|
41
|
+
/* @__PURE__ */ jsx(Button, { variant: "primary", children: t("subscribe") })
|
|
42
|
+
] })
|
|
43
|
+
] }),
|
|
44
|
+
/* @__PURE__ */ jsxs(StaggerChildren, { staggerMs: 60, className: "grid grid-cols-2 gap-8 lg:col-span-2 sm:grid-cols-3", children: [
|
|
45
|
+
/* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
|
|
46
|
+
/* @__PURE__ */ jsx(Heading, { level: 4, size: "title", className: "text-sm text-text-primary uppercase tracking-wider", children: t("product") }),
|
|
47
|
+
/* @__PURE__ */ jsx("ul", { className: "space-y-2 text-sm text-text-secondary", children: productLinks.map((item) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(Link, { href: item.href, className: "hover:text-primary transition-colors", children: item.name }) }, item.name)) })
|
|
48
|
+
] }),
|
|
49
|
+
/* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
|
|
50
|
+
/* @__PURE__ */ jsx(Heading, { level: 4, size: "title", className: "text-sm text-text-primary uppercase tracking-wider", children: t("company") }),
|
|
51
|
+
/* @__PURE__ */ jsx("ul", { className: "space-y-2 text-sm text-text-secondary", children: companyLinks.map((item) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(Link, { href: item.href, className: "hover:text-primary transition-colors", children: item.name }) }, item.name)) })
|
|
52
|
+
] }),
|
|
53
|
+
/* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
|
|
54
|
+
/* @__PURE__ */ jsx(Heading, { level: 4, size: "title", className: "text-sm text-text-primary uppercase tracking-wider", children: t("legal") }),
|
|
55
|
+
/* @__PURE__ */ jsx("ul", { className: "space-y-2 text-sm text-text-secondary", children: legalLinks.map((item) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(Link, { href: item.href, className: "hover:text-primary transition-colors", children: item.name }) }, item.name)) })
|
|
56
|
+
] })
|
|
57
|
+
] })
|
|
58
|
+
] }),
|
|
59
|
+
/* @__PURE__ */ jsx(Separator, { className: "my-12 bg-border/50" }),
|
|
60
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center justify-between gap-6 sm:flex-row", children: [
|
|
61
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm text-text-tertiary", children: t("allRightsReserved", { year: CURRENT_YEAR, name: siteConfig.name }) }),
|
|
62
|
+
/* @__PURE__ */ jsx("div", { className: "flex gap-4", children: socialIcons.map((social, index) => /* @__PURE__ */ jsx(Button, { size: "icon", variant: "ghost", "aria-label": social.label, className: "rounded-full text-text-secondary hover:text-primary hover:bg-surface-hover hover:scale-110 transition-transform duration-fast", children: social.icon }, index)) })
|
|
63
|
+
] })
|
|
64
|
+
] }) }) });
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export { FooterBlock };
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { Shine } from './chunk-DARC2ACH.js';
|
|
2
|
+
import { createAvatarDataUri } from './chunk-QQOWC53X.js';
|
|
3
|
+
import { ShimmeringText } from './chunk-SGI25ZJ6.js';
|
|
4
|
+
import { StaggerChildren } from './chunk-DQPK2XRL.js';
|
|
5
|
+
import { Heading } from './chunk-WI547C47.js';
|
|
6
|
+
import { siteConfig } from './chunk-A7NUWD76.js';
|
|
7
|
+
import { Card, CardContent } from './chunk-AH6YSYYT.js';
|
|
8
|
+
import { Avatar, AvatarImage, AvatarFallback } from './chunk-NAAU5IWU.js';
|
|
9
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
10
|
+
|
|
11
|
+
var defaultLogos = [
|
|
12
|
+
{ name: "Vercel", icon: (props) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", ...props, children: /* @__PURE__ */ jsx("path", { d: "M12 2L22 22H2L12 2Z", fill: "currentColor", stroke: "none" }) }) },
|
|
13
|
+
{ name: "Stripe", icon: (props) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", ...props, children: /* @__PURE__ */ jsx("path", { d: "M22 12h-4l-3 9L9 3l-3 9H2" }) }) },
|
|
14
|
+
{ name: "OpenAI", icon: (props) => /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", ...props, children: [
|
|
15
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
16
|
+
/* @__PURE__ */ jsx("path", { d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20" })
|
|
17
|
+
] }) },
|
|
18
|
+
{ name: siteConfig.name, icon: (props) => /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", ...props, children: [
|
|
19
|
+
/* @__PURE__ */ jsx("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2", ry: "2" }),
|
|
20
|
+
/* @__PURE__ */ jsx("path", { d: "M9 9h6v6H9z" })
|
|
21
|
+
] }) },
|
|
22
|
+
{ name: "Next.js", icon: (props) => /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", ...props, children: [
|
|
23
|
+
/* @__PURE__ */ jsx("path", { d: "M21 8v8a5 5 0 0 1-5 5H8a5 5 0 0 1-5-5V8a5 5 0 0 1 5-5h8a5 5 0 0 1 5 5z" }),
|
|
24
|
+
/* @__PURE__ */ jsx("path", { d: "M10 12h4" })
|
|
25
|
+
] }) }
|
|
26
|
+
];
|
|
27
|
+
function LogoCloudVariant({
|
|
28
|
+
logos = defaultLogos,
|
|
29
|
+
title = "Trusted by innovative teams",
|
|
30
|
+
className
|
|
31
|
+
} = {}) {
|
|
32
|
+
return /* @__PURE__ */ jsx("div", { className: className ?? "w-full py-12 lg:py-16", children: /* @__PURE__ */ jsxs("div", { className: "container mx-auto px-4 text-center", children: [
|
|
33
|
+
/* @__PURE__ */ jsx("p", { className: "mb-8 text-sm font-medium text-text-tertiary uppercase tracking-wider", children: title }),
|
|
34
|
+
/* @__PURE__ */ jsx(StaggerChildren, { staggerMs: 60, distance: 12, className: "flex flex-wrap gap-8 items-center justify-center opacity-70", children: logos.map((logo) => /* @__PURE__ */ jsxs(
|
|
35
|
+
"div",
|
|
36
|
+
{
|
|
37
|
+
className: "group flex items-center justify-center transition-all duration-300 hover:opacity-100 hover:scale-110",
|
|
38
|
+
children: [
|
|
39
|
+
/* @__PURE__ */ jsx(logo.icon, { className: "h-8 w-8 text-text-tertiary transition-colors group-hover:text-primary group-hover:drop-shadow-[0_0_8px_rgb(var(--color-primary)/0.5)]" }),
|
|
40
|
+
/* @__PURE__ */ jsx("span", { className: "ml-2 text-lg font-semibold text-text-tertiary group-hover:text-text-primary hidden md:inline-block", children: logo.name })
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
logo.name
|
|
44
|
+
)) })
|
|
45
|
+
] }) });
|
|
46
|
+
}
|
|
47
|
+
var defaultSocialTestimonials = [
|
|
48
|
+
{
|
|
49
|
+
quote: "Seed has completely transformed how we build AI interfaces. The depth and realism are unmatched.",
|
|
50
|
+
author: "Sarah Chen",
|
|
51
|
+
role: "Product Designer @ NeuralNet",
|
|
52
|
+
avatar: "SC"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
quote: "The glassmorphism effects are incredibly performant. It feels like a native app running in the browser.",
|
|
56
|
+
author: "Marcus Rodriguez",
|
|
57
|
+
role: "Frontend Lead @ FutureScale",
|
|
58
|
+
avatar: "MR"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
quote: "Finally, a design system that understands what 'futuristic' actually means. No more flat, boring SaaS UI.",
|
|
62
|
+
author: "Elena Kowalski",
|
|
63
|
+
role: "CTO @ CyberSystems",
|
|
64
|
+
avatar: "EK"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
quote: "Development velocity increased by 3x. The components are so easy to compose.",
|
|
68
|
+
author: "David Park",
|
|
69
|
+
role: "Indie Hacker",
|
|
70
|
+
avatar: "DP"
|
|
71
|
+
}
|
|
72
|
+
];
|
|
73
|
+
function TestimonialsVariant({
|
|
74
|
+
title = "Loved by Builders",
|
|
75
|
+
testimonials = defaultSocialTestimonials,
|
|
76
|
+
className
|
|
77
|
+
} = {}) {
|
|
78
|
+
return /* @__PURE__ */ jsx("section", { className: className ?? "py-16 md:py-24 relative overflow-hidden", children: /* @__PURE__ */ jsxs("div", { className: "container mx-auto px-6 lg:px-8", children: [
|
|
79
|
+
/* @__PURE__ */ jsx(Heading, { level: 2, size: "section", className: "text-center mb-12", children: /* @__PURE__ */ jsx(
|
|
80
|
+
ShimmeringText,
|
|
81
|
+
{
|
|
82
|
+
text: title,
|
|
83
|
+
color: "var(--color-text-primary)",
|
|
84
|
+
shimmeringColor: "var(--color-accent)",
|
|
85
|
+
duration: 2
|
|
86
|
+
}
|
|
87
|
+
) }),
|
|
88
|
+
/* @__PURE__ */ jsx(StaggerChildren, { staggerMs: 100, direction: "up", distance: 20, className: "flex flex-wrap justify-center gap-6", children: testimonials.map((t, i) => /* @__PURE__ */ jsx(Shine, { enableOnHover: true, loop: true, loopDelay: 200, color: "var(--color-accent)", opacity: 0.15, children: /* @__PURE__ */ jsx(Card, { interactive: true, className: "w-full max-w-md", children: /* @__PURE__ */ jsxs(CardContent, { className: "p-6", children: [
|
|
89
|
+
/* @__PURE__ */ jsxs("p", { className: "mb-4 text-lg text-text-secondary leading-relaxed", children: [
|
|
90
|
+
'"',
|
|
91
|
+
t.quote,
|
|
92
|
+
'"'
|
|
93
|
+
] }),
|
|
94
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-4", children: [
|
|
95
|
+
/* @__PURE__ */ jsxs(Avatar, { className: "h-10 w-10 border border-primary/20", children: [
|
|
96
|
+
/* @__PURE__ */ jsx(AvatarImage, { src: createAvatarDataUri(t.author, t.avatar) }),
|
|
97
|
+
/* @__PURE__ */ jsx(AvatarFallback, { children: t.avatar })
|
|
98
|
+
] }),
|
|
99
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
100
|
+
/* @__PURE__ */ jsx("div", { className: "text-sm font-semibold text-text-primary", children: t.author }),
|
|
101
|
+
/* @__PURE__ */ jsx("div", { className: "text-xs text-text-tertiary", children: t.role })
|
|
102
|
+
] })
|
|
103
|
+
] })
|
|
104
|
+
] }) }) }, i)) })
|
|
105
|
+
] }) });
|
|
106
|
+
}
|
|
107
|
+
function SocialProofBlock({ variant = "logo-cloud", ...props }) {
|
|
108
|
+
if (variant === "testimonials") {
|
|
109
|
+
return /* @__PURE__ */ jsx(TestimonialsVariant, { ...props });
|
|
110
|
+
}
|
|
111
|
+
return /* @__PURE__ */ jsx(LogoCloudVariant, { ...props });
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export { SocialProofBlock };
|
|
@@ -5,10 +5,14 @@ import { createPortal } from 'react-dom';
|
|
|
5
5
|
import { useReducedMotion, useMotionValue, useMotionTemplate } from 'motion/react';
|
|
6
6
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
7
7
|
|
|
8
|
+
function getAccentColor() {
|
|
9
|
+
if (typeof window === "undefined") return "10 158 111";
|
|
10
|
+
return getComputedStyle(document.documentElement).getPropertyValue("--color-accent").trim() || "10 158 111";
|
|
11
|
+
}
|
|
8
12
|
function MouseGlow({
|
|
9
13
|
className,
|
|
10
14
|
dotColor = "rgba(255, 255, 255, 0.5)",
|
|
11
|
-
overlayColor
|
|
15
|
+
overlayColor,
|
|
12
16
|
gap = 24,
|
|
13
17
|
maskRadius = 300,
|
|
14
18
|
overlayRadius = 260
|
|
@@ -16,6 +20,7 @@ function MouseGlow({
|
|
|
16
20
|
const containerRef = React.useRef(null);
|
|
17
21
|
const overlayRef = React.useRef(null);
|
|
18
22
|
const [mounted, setMounted] = React.useState(false);
|
|
23
|
+
const resolvedOverlayColor = overlayColor ?? `rgba(${getAccentColor().replace(/ /g, ", ")}, 0.95)`;
|
|
19
24
|
React.useEffect(() => {
|
|
20
25
|
setMounted(true);
|
|
21
26
|
const handleMouseMove = (e) => {
|
|
@@ -79,7 +84,7 @@ function MouseGlow({
|
|
|
79
84
|
style: {
|
|
80
85
|
position: "absolute",
|
|
81
86
|
inset: 0,
|
|
82
|
-
backgroundImage: `radial-gradient(${
|
|
87
|
+
backgroundImage: `radial-gradient(${resolvedOverlayColor} 1px, transparent 0)`,
|
|
83
88
|
backgroundSize: `${gapPx} ${gapPx}`,
|
|
84
89
|
backgroundRepeat: "repeat",
|
|
85
90
|
maskImage: `radial-gradient(circle ${overlayRadius}px at var(--mx, -9999px) var(--my, -9999px), black 0%, transparent 100%)`,
|
|
@@ -98,6 +98,7 @@ var seedMessagesEn = {
|
|
|
98
98
|
},
|
|
99
99
|
"thinkingIndicator": {
|
|
100
100
|
"thinking": "Thinking",
|
|
101
|
+
"complete": "Complete",
|
|
101
102
|
"showReasoning": "Show reasoning",
|
|
102
103
|
"hideReasoning": "Hide reasoning"
|
|
103
104
|
},
|
|
@@ -150,8 +151,19 @@ var seedMessagesEn = {
|
|
|
150
151
|
"agentTeamPanel": {
|
|
151
152
|
"agentTeam": "Agent team"
|
|
152
153
|
},
|
|
154
|
+
"agentConversationBlock": {
|
|
155
|
+
"noMessages": "No messages"
|
|
156
|
+
},
|
|
157
|
+
"agentStatus": {
|
|
158
|
+
"idle": "Idle",
|
|
159
|
+
"thinking": "Thinking...",
|
|
160
|
+
"streaming": "Streaming",
|
|
161
|
+
"error": "Error",
|
|
162
|
+
"complete": "Complete"
|
|
163
|
+
},
|
|
153
164
|
"agentTimeline": {
|
|
154
|
-
"timeline": "Timeline"
|
|
165
|
+
"timeline": "Timeline",
|
|
166
|
+
"noEvents": "No events"
|
|
155
167
|
},
|
|
156
168
|
"morphingText": {
|
|
157
169
|
"morphingText": "Morphing text"
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CopyIcon } from './chunk-TV4RSQH4.js';
|
|
1
2
|
import { cn } from './chunk-QYZT24TS.js';
|
|
2
3
|
import * as React from 'react';
|
|
3
4
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
@@ -12,21 +13,26 @@ var lineTypePrefix = {
|
|
|
12
13
|
stdout: "",
|
|
13
14
|
stderr: ""
|
|
14
15
|
};
|
|
15
|
-
function AgentTerminal({ className, lines, title, onCopy, ref, ...props }) {
|
|
16
|
+
function AgentTerminal({ className, lines, title, onCopy, maxHeight = "max-h-80", ref, ...props }) {
|
|
16
17
|
const scrollRef = React.useRef(null);
|
|
17
18
|
React.useEffect(() => {
|
|
18
19
|
if (scrollRef.current) {
|
|
19
20
|
scrollRef.current.scrollTop = scrollRef.current.scrollHeight;
|
|
20
21
|
}
|
|
21
22
|
}, [lines]);
|
|
23
|
+
const handleCopy = React.useCallback(() => {
|
|
24
|
+
const text = lines.map((l) => {
|
|
25
|
+
const prefix = lineTypePrefix[l.type || "stdout"];
|
|
26
|
+
return `${prefix}${l.text}`;
|
|
27
|
+
}).join("\n");
|
|
28
|
+
navigator.clipboard.writeText(text);
|
|
29
|
+
onCopy?.();
|
|
30
|
+
}, [lines, onCopy]);
|
|
22
31
|
return /* @__PURE__ */ jsxs(
|
|
23
32
|
"div",
|
|
24
33
|
{
|
|
25
34
|
ref,
|
|
26
|
-
className: cn(
|
|
27
|
-
"surface-solid rounded-lg overflow-hidden",
|
|
28
|
-
className
|
|
29
|
-
),
|
|
35
|
+
className: cn("surface-solid rounded-lg overflow-hidden", className),
|
|
30
36
|
...props,
|
|
31
37
|
children: [
|
|
32
38
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between px-4 py-2 border-b border-border/50", children: [
|
|
@@ -38,14 +44,14 @@ function AgentTerminal({ className, lines, title, onCopy, ref, ...props }) {
|
|
|
38
44
|
] }),
|
|
39
45
|
!!title && /* @__PURE__ */ jsx("span", { className: "text-xs text-text-secondary font-mono ml-1.5", children: title })
|
|
40
46
|
] }),
|
|
41
|
-
|
|
47
|
+
/* @__PURE__ */ jsx(
|
|
42
48
|
"button",
|
|
43
49
|
{
|
|
44
50
|
type: "button",
|
|
45
|
-
onClick:
|
|
46
|
-
className: "text-
|
|
51
|
+
onClick: handleCopy,
|
|
52
|
+
className: "text-text-tertiary hover:text-text-primary transition-colors min-h-10 min-w-10 inline-flex items-center justify-center",
|
|
47
53
|
"aria-label": "Copy terminal output",
|
|
48
|
-
children: "
|
|
54
|
+
children: /* @__PURE__ */ jsx(CopyIcon, { size: 14, "aria-hidden": "true" })
|
|
49
55
|
}
|
|
50
56
|
)
|
|
51
57
|
] }),
|
|
@@ -53,7 +59,7 @@ function AgentTerminal({ className, lines, title, onCopy, ref, ...props }) {
|
|
|
53
59
|
"div",
|
|
54
60
|
{
|
|
55
61
|
ref: scrollRef,
|
|
56
|
-
className: "p-4
|
|
62
|
+
className: cn("p-4 overflow-y-auto font-mono text-xs leading-5", maxHeight),
|
|
57
63
|
role: "log",
|
|
58
64
|
"aria-label": title || "Terminal output",
|
|
59
65
|
children: lines.map((line, idx) => {
|