openship 0.1.0 → 0.1.1
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/.env.example +19 -3
- package/CONTRIBUTING.md +69 -19
- package/LICENSE +661 -0
- package/README.md +304 -108
- package/apps/api/Dockerfile +6 -8
- package/apps/api/package.json +25 -21
- package/apps/api/src/app.ts +46 -3
- package/apps/api/src/config/env.ts +81 -7
- package/apps/api/src/lib/auth-mode.ts +42 -0
- package/apps/api/src/lib/auth.ts +105 -0
- package/apps/api/src/lib/cache.ts +128 -0
- package/apps/api/src/lib/cloud-auth-proxy.ts +310 -0
- package/apps/api/src/lib/cloud-client.ts +103 -0
- package/apps/api/src/lib/compose-parser.ts +138 -0
- package/apps/api/src/lib/controller-helpers.ts +90 -0
- package/apps/api/src/lib/email-templates.ts +94 -0
- package/apps/api/src/lib/encryption.ts +102 -0
- package/apps/api/src/lib/local-user.ts +65 -0
- package/apps/api/src/lib/mail.ts +48 -0
- package/apps/api/src/lib/notifications.ts +195 -0
- package/apps/api/src/lib/openship-cloud.ts +101 -0
- package/apps/api/src/lib/resources.ts +96 -0
- package/apps/api/src/lib/screenshots.ts +189 -0
- package/apps/api/src/lib/ssh-manager.ts +369 -0
- package/apps/api/src/lib/ssl-scheduler.ts +109 -0
- package/apps/api/src/lib/stack-detector.ts +708 -0
- package/apps/api/src/lib/system-debug.ts +10 -0
- package/apps/api/src/middleware/auth.ts +49 -13
- package/apps/api/src/middleware/error-handler.ts +23 -3
- package/apps/api/src/middleware/index.ts +2 -0
- package/apps/api/src/middleware/internal-auth.ts +40 -0
- package/apps/api/src/middleware/local-only.ts +20 -0
- package/apps/api/src/middleware/rate-limiter.ts +9 -0
- package/apps/api/src/modules/analytics/analytics.controller.ts +111 -0
- package/apps/api/src/modules/analytics/analytics.routes.ts +29 -0
- package/apps/api/src/modules/analytics/analytics.schema.ts +37 -0
- package/apps/api/src/modules/analytics/analytics.service.ts +264 -0
- package/apps/api/src/modules/auth/auth.routes.ts +233 -6
- package/apps/api/src/modules/billing/billing.routes.ts +8 -0
- package/apps/api/src/modules/cloud/cloud.controller.ts +225 -0
- package/apps/api/src/modules/cloud/cloud.routes.ts +40 -0
- package/apps/api/src/modules/deployments/build.service.ts +791 -0
- package/apps/api/src/modules/deployments/deployment-lifecycle.ts +138 -0
- package/apps/api/src/modules/deployments/deployment.controller.ts +324 -16
- package/apps/api/src/modules/deployments/deployment.routes.ts +33 -7
- package/apps/api/src/modules/deployments/deployment.schema.ts +37 -5
- package/apps/api/src/modules/deployments/deployment.service.ts +178 -11
- package/apps/api/src/modules/deployments/preflight.ts +280 -0
- package/apps/api/src/modules/deployments/prepare.service.ts +252 -0
- package/apps/api/src/modules/deployments/session-manager.ts +283 -0
- package/apps/api/src/modules/deployments/ssl.service.ts +73 -0
- package/apps/api/src/modules/domains/domain.controller.ts +59 -7
- package/apps/api/src/modules/domains/domain.routes.ts +20 -5
- package/apps/api/src/modules/domains/domain.schema.ts +35 -0
- package/apps/api/src/modules/domains/domain.service.ts +375 -9
- package/apps/api/src/modules/github/github.auth.ts +397 -0
- package/apps/api/src/modules/github/github.controller.ts +387 -0
- package/apps/api/src/modules/github/github.local-auth.ts +251 -0
- package/apps/api/src/modules/github/github.routes.ts +50 -0
- package/apps/api/src/modules/github/github.schema.ts +52 -0
- package/apps/api/src/modules/github/github.service.ts +592 -0
- package/apps/api/src/modules/github/github.types.ts +158 -0
- package/apps/api/src/modules/github/github.webhook.ts +186 -0
- package/apps/api/src/modules/github/index.ts +16 -0
- package/apps/api/src/modules/health/health.routes.ts +35 -0
- package/apps/api/src/modules/projects/project.controller.ts +481 -12
- package/apps/api/src/modules/projects/project.routes.ts +63 -6
- package/apps/api/src/modules/projects/project.schema.ts +104 -6
- package/apps/api/src/modules/projects/project.service.ts +502 -11
- package/apps/api/src/modules/settings/settings.controller.ts +55 -0
- package/apps/api/src/modules/settings/settings.routes.ts +25 -0
- package/apps/api/src/modules/settings/settings.service.ts +49 -0
- package/apps/api/src/modules/system/filesystem.controller.ts +66 -0
- package/apps/api/src/modules/system/index.ts +1 -0
- package/apps/api/src/modules/system/server-check.controller.ts +475 -0
- package/apps/api/src/modules/system/setup-session.ts +255 -0
- package/apps/api/src/modules/system/setup.controller.ts +128 -0
- package/apps/api/src/modules/system/system.routes.ts +42 -0
- package/apps/api/src/modules/webhooks/webhook.controller.ts +57 -15
- package/apps/api/src/modules/webhooks/webhook.routes.ts +11 -8
- package/apps/api/src/modules/webhooks/webhook.service.ts +46 -5
- package/apps/api/src/modules/webhooks/webhook.types.ts +35 -0
- package/apps/api/tsconfig.json +3 -1
- package/apps/cli/package.json +8 -10
- package/apps/cli/tsconfig.json +2 -1
- package/apps/dashboard/Dockerfile +4 -6
- package/apps/dashboard/components.json +20 -0
- package/apps/dashboard/next-env.d.ts +6 -0
- package/apps/dashboard/next.config.mjs +11 -1
- package/apps/dashboard/package.json +25 -13
- package/apps/dashboard/postcss.config.mjs +5 -0
- package/apps/dashboard/public/android-chrome-192x192.png +0 -0
- package/apps/dashboard/public/android-chrome-512x512.png +0 -0
- package/apps/dashboard/public/apple-touch-icon.png +0 -0
- package/apps/dashboard/public/favicon-16x16.png +0 -0
- package/apps/dashboard/public/favicon-32x32.png +0 -0
- package/apps/dashboard/public/favicon.ico +0 -0
- package/apps/dashboard/public/site.webmanifest +19 -0
- package/apps/dashboard/src/app/(auth)/forgot-password/page.tsx +114 -0
- package/apps/dashboard/src/app/(auth)/layout.tsx +18 -3
- package/apps/dashboard/src/app/(auth)/login/page.tsx +215 -6
- package/apps/dashboard/src/app/(auth)/providers.tsx +34 -0
- package/apps/dashboard/src/app/(auth)/register/page.tsx +171 -5
- package/apps/dashboard/src/app/(auth)/reset-password/page.tsx +172 -0
- package/apps/dashboard/src/app/(auth)/verify-email/page.tsx +190 -0
- package/apps/dashboard/src/app/(dashboard)/(deployment)/build/[id]/page.tsx +162 -0
- package/apps/dashboard/src/app/(dashboard)/(deployment)/deploy/[slug]/components/BuildSummary.tsx +166 -0
- package/apps/dashboard/src/app/(dashboard)/(deployment)/deploy/[slug]/components/DnsConfiguration.tsx +119 -0
- package/apps/dashboard/src/app/(dashboard)/(deployment)/deploy/[slug]/components/DomainSettings.tsx +291 -0
- package/apps/dashboard/src/app/(dashboard)/(deployment)/deploy/[slug]/components/Header.tsx +71 -0
- package/apps/dashboard/src/app/(dashboard)/(deployment)/deploy/[slug]/components/Sidebar.tsx +270 -0
- package/apps/dashboard/src/app/(dashboard)/(deployment)/deploy/[slug]/components/SkeletonLoader.tsx +87 -0
- package/apps/dashboard/src/app/(dashboard)/(deployment)/deploy/[slug]/page.tsx +169 -0
- package/apps/dashboard/src/app/(dashboard)/(deployment)/layout.tsx +7 -0
- package/apps/dashboard/src/app/(dashboard)/billing/page.tsx +1 -8
- package/apps/dashboard/src/app/(dashboard)/deployments/components/CommitDetailsModal.tsx +240 -0
- package/apps/dashboard/src/app/(dashboard)/deployments/components/DeploymentCard.tsx +121 -0
- package/apps/dashboard/src/app/(dashboard)/deployments/components/DeploymentHeader.tsx +89 -0
- package/apps/dashboard/src/app/(dashboard)/deployments/components/DeploymentMenu.tsx +182 -0
- package/apps/dashboard/src/app/(dashboard)/deployments/components/DeploymentsContent.tsx +324 -0
- package/apps/dashboard/src/app/(dashboard)/deployments/components/DeploymentsFilters.tsx +99 -0
- package/apps/dashboard/src/app/(dashboard)/deployments/components/DeploymentsList.tsx +31 -0
- package/apps/dashboard/src/app/(dashboard)/deployments/components/EmptyState.tsx +101 -0
- package/apps/dashboard/src/app/(dashboard)/deployments/components/LoadingSkeleton.tsx +57 -0
- package/apps/dashboard/src/app/(dashboard)/deployments/components/ProjectFilter.tsx +109 -0
- package/apps/dashboard/src/app/(dashboard)/deployments/components/index.ts +9 -0
- package/apps/dashboard/src/app/(dashboard)/deployments/page.tsx +9 -3
- package/apps/dashboard/src/app/(dashboard)/deployments/types.ts +44 -0
- package/apps/dashboard/src/app/(dashboard)/deployments/utils.ts +176 -0
- package/apps/dashboard/src/app/(dashboard)/domains/page.tsx +1 -6
- package/apps/dashboard/src/app/(dashboard)/integrations/page.tsx +321 -0
- package/apps/dashboard/src/app/(dashboard)/layout.tsx +22 -32
- package/apps/dashboard/src/app/(dashboard)/library/components/ConnectPrompt.tsx +187 -0
- package/apps/dashboard/src/app/(dashboard)/library/components/LibrarySidebar.tsx +147 -0
- package/apps/dashboard/src/app/(dashboard)/library/components/LoadingSkeleton.tsx +39 -0
- package/apps/dashboard/src/app/(dashboard)/library/components/LocalProjects.tsx +548 -0
- package/apps/dashboard/src/app/(dashboard)/library/components/RepositoryList.tsx +292 -0
- package/apps/dashboard/src/app/(dashboard)/library/components/TemplateGrid.tsx +36 -0
- package/apps/dashboard/src/app/(dashboard)/library/components/UrlImport.tsx +74 -0
- package/apps/dashboard/src/app/(dashboard)/library/page.tsx +121 -0
- package/apps/dashboard/src/app/(dashboard)/library/types.ts +26 -0
- package/apps/dashboard/src/app/(dashboard)/monitoring/page.tsx +1 -6
- package/apps/dashboard/src/app/(dashboard)/page.tsx +485 -0
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/[[...slug]]/layout.tsx +22 -0
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/[[...slug]]/page.tsx +286 -0
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/AdvancedSettings.tsx +235 -0
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/BuildSettings.tsx +174 -0
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/DeleteConfirmationDialog.tsx +45 -0
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/DeletionModal.tsx +95 -0
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/Deployments.tsx +11 -0
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/DomainSettings.tsx +523 -0
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/EnvironmentSettings.tsx +246 -0
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/GeneralSettings.tsx +93 -0
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/GitInfo.tsx +261 -0
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/GitSettings.tsx +391 -0
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/LogsSettings.tsx +133 -0
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/ProjectNotFound.tsx +95 -0
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/ProjectsBottomNavigation.tsx +62 -0
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/ResourceSettings.tsx +333 -0
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/SettingSection.tsx +66 -0
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/SettingsNavigation.tsx +27 -0
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/SleepModeSettings.tsx +134 -0
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/general/ProductionUrl.tsx +25 -0
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/general/ProjectIdentity.tsx +159 -0
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/general/ProjectInfo.tsx +58 -0
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/general/SkeletonLoader.tsx +170 -0
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/general/StatsCards.tsx +33 -0
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/general/TopPaths.tsx +56 -0
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/general/TrafficChart.tsx +157 -0
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/general/index.ts +14 -0
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/logs/LogsActions.tsx +52 -0
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/logs/ServerLogs.tsx +249 -0
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/logs/TerminalLogs.tsx +682 -0
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/logs/logs.css +127 -0
- package/apps/dashboard/src/app/(dashboard)/projects/components/DeploymentCard.tsx +73 -0
- package/apps/dashboard/src/app/(dashboard)/projects/components/ProjectCard.tsx +330 -0
- package/apps/dashboard/src/app/(dashboard)/projects/page.tsx +326 -4
- package/apps/dashboard/src/app/(dashboard)/providers.tsx +23 -0
- package/apps/dashboard/src/app/(dashboard)/servers/[serverId]/_components/components-tab.tsx +329 -0
- package/apps/dashboard/src/app/(dashboard)/servers/[serverId]/_components/overview-tab.tsx +229 -0
- package/apps/dashboard/src/app/(dashboard)/servers/[serverId]/_components/terminal-tab.tsx +38 -0
- package/apps/dashboard/src/app/(dashboard)/servers/[serverId]/page.tsx +437 -0
- package/apps/dashboard/src/app/(dashboard)/servers/new/_components/checking-state.tsx +15 -0
- package/apps/dashboard/src/app/(dashboard)/servers/new/_components/choose-mode.tsx +54 -0
- package/apps/dashboard/src/app/(dashboard)/servers/new/_components/component-row.tsx +65 -0
- package/apps/dashboard/src/app/(dashboard)/servers/new/_components/error-banner.tsx +13 -0
- package/apps/dashboard/src/app/(dashboard)/servers/new/_components/installing-panel.tsx +227 -0
- package/apps/dashboard/src/app/(dashboard)/servers/new/_components/results-panel.tsx +90 -0
- package/apps/dashboard/src/app/(dashboard)/servers/new/_components/setup-header.tsx +56 -0
- package/apps/dashboard/src/app/(dashboard)/servers/new/_components/types.ts +13 -0
- package/apps/dashboard/src/app/(dashboard)/servers/new/page.tsx +666 -0
- package/apps/dashboard/src/app/(dashboard)/servers/page.tsx +283 -0
- package/apps/dashboard/src/app/(dashboard)/settings/_components/BuildPreferences.tsx +110 -0
- package/apps/dashboard/src/app/(dashboard)/settings/_components/CloudConnection.tsx +147 -0
- package/apps/dashboard/src/app/(dashboard)/settings/_components/InstanceInfo.tsx +54 -0
- package/apps/dashboard/src/app/(dashboard)/settings/_components/ServerConnection.tsx +407 -0
- package/apps/dashboard/src/app/(dashboard)/settings/_components/SettingsSection.tsx +32 -0
- package/apps/dashboard/src/app/(dashboard)/settings/page.tsx +62 -3
- package/apps/dashboard/src/app/auth/callback/close/page.tsx +23 -0
- package/apps/dashboard/src/app/auth/callback/install/page.tsx +40 -0
- package/apps/dashboard/src/app/authorize/page.tsx +137 -0
- package/apps/dashboard/src/app/globals.css +57 -3
- package/apps/dashboard/src/app/layout.tsx +43 -3
- package/apps/dashboard/src/components/auth-shell.tsx +66 -0
- package/apps/dashboard/src/components/deployments/types.ts +44 -0
- package/apps/dashboard/src/components/global-deployments/index.ts +17 -0
- package/apps/dashboard/src/components/i18n-provider.tsx +100 -0
- package/apps/dashboard/src/components/import-project/BuildSettings.tsx +376 -0
- package/apps/dashboard/src/components/import-project/BuildSkeleton.tsx +161 -0
- package/apps/dashboard/src/components/import-project/BuildTerminal.tsx +358 -0
- package/apps/dashboard/src/components/import-project/ComposeServices.tsx +455 -0
- package/apps/dashboard/src/components/import-project/DeploymentProcessing.tsx +510 -0
- package/apps/dashboard/src/components/import-project/DockerSettings.tsx +64 -0
- package/apps/dashboard/src/components/import-project/EnvironmentVariables.tsx +481 -0
- package/apps/dashboard/src/components/import-project/Frameworks.tsx +90 -0
- package/apps/dashboard/src/components/import-project/ProjectSettings.tsx +160 -0
- package/apps/dashboard/src/components/import-project/types.ts +82 -0
- package/apps/dashboard/src/components/integrations/GithubPermissionModal.tsx +173 -0
- package/apps/dashboard/src/components/language-switcher.tsx +36 -0
- package/apps/dashboard/src/components/logo.tsx +13 -0
- package/apps/dashboard/src/components/network-error-handler.tsx +27 -0
- package/apps/dashboard/src/components/oauth-buttons.tsx +81 -0
- package/apps/dashboard/src/components/overview/ActivityChart.tsx +247 -0
- package/apps/dashboard/src/components/overview/ApiRequestsCard.tsx +111 -0
- package/apps/dashboard/src/components/overview/CreditsCard.tsx +137 -0
- package/apps/dashboard/src/components/overview/DeploymentsChart.tsx +195 -0
- package/apps/dashboard/src/components/overview/EmptyState.tsx +126 -0
- package/apps/dashboard/src/components/overview/LoadingSkeleton.tsx +92 -0
- package/apps/dashboard/src/components/overview/OverviewHeader.tsx +74 -0
- package/apps/dashboard/src/components/overview/OverviewHeroChart.tsx +344 -0
- package/apps/dashboard/src/components/overview/ProjectsCard.tsx +134 -0
- package/apps/dashboard/src/components/overview/QuickLinks.tsx +119 -0
- package/apps/dashboard/src/components/overview/SandboxesCard.tsx +150 -0
- package/apps/dashboard/src/components/overview/StatsGrid.tsx +166 -0
- package/apps/dashboard/src/components/overview/TokenUsageChart.tsx +206 -0
- package/apps/dashboard/src/components/overview/UsageStats.tsx +79 -0
- package/apps/dashboard/src/components/overview/index.ts +30 -0
- package/apps/dashboard/src/components/overview/types.ts +116 -0
- package/apps/dashboard/src/components/page-header.tsx +25 -0
- package/apps/dashboard/src/components/project-settings/ServerSideSwitch.jsx +60 -0
- package/apps/dashboard/src/components/shared/AlertBox.tsx +39 -0
- package/apps/dashboard/src/components/shared/CTASection.tsx +45 -0
- package/apps/dashboard/src/components/shared/ErrorState.tsx +176 -0
- package/apps/dashboard/src/components/shared/FeatureCard.tsx +20 -0
- package/apps/dashboard/src/components/shared/MDXComponents.tsx +24 -0
- package/apps/dashboard/src/components/shared/MachineSettingsModal.tsx +286 -0
- package/apps/dashboard/src/components/shared/Modal.tsx +39 -0
- package/apps/dashboard/src/components/shared/OTPInput.tsx +122 -0
- package/apps/dashboard/src/components/shared/PageHero.tsx +21 -0
- package/apps/dashboard/src/components/shared/PlatformFeatureCard.tsx +27 -0
- package/apps/dashboard/src/components/shared/StatCard.tsx +14 -0
- package/apps/dashboard/src/components/shared/ValueCard.tsx +20 -0
- package/apps/dashboard/src/components/shared/index.ts +8 -0
- package/apps/dashboard/src/components/sidebar.tsx +282 -0
- package/apps/dashboard/src/components/theme-provider.tsx +96 -0
- package/apps/dashboard/src/components/toast.tsx +106 -0
- package/apps/dashboard/src/components/ui/CustomCursor.tsx +107 -0
- package/apps/dashboard/src/components/ui/CustomSelect.tsx +126 -0
- package/apps/dashboard/src/components/ui/DropdownMenu.tsx +174 -0
- package/apps/dashboard/src/components/ui/FileIcon.jsx +59 -0
- package/apps/dashboard/src/components/ui/IconPickerModal.tsx +273 -0
- package/apps/dashboard/src/components/ui/InfoBanner.jsx +39 -0
- package/apps/dashboard/src/components/ui/Logo.tsx +14 -0
- package/apps/dashboard/src/components/ui/Modal.tsx +117 -0
- package/apps/dashboard/src/components/ui/PageContainer.tsx +12 -0
- package/apps/dashboard/src/components/ui/SectionContainer.jsx +7 -0
- package/apps/dashboard/src/components/ui/SlidingToggle.tsx +128 -0
- package/apps/dashboard/src/components/ui/Toast.tsx +29 -0
- package/apps/dashboard/src/components/ui/button.tsx +58 -0
- package/apps/dashboard/src/components/ui/card.tsx +60 -0
- package/apps/dashboard/src/components/ui/input.tsx +20 -0
- package/apps/dashboard/src/components/ui/label.tsx +19 -0
- package/apps/dashboard/src/components/ui/select.tsx +10 -0
- package/apps/dashboard/src/components/ui/textarea.tsx +9 -0
- package/apps/dashboard/src/constants/lang-colors.ts +25 -0
- package/apps/dashboard/src/constants/mock.ts +38 -0
- package/apps/dashboard/src/context/AuthContext.tsx +91 -0
- package/apps/dashboard/src/context/CloudContext.tsx +275 -0
- package/apps/dashboard/src/context/DeploymentContext.tsx +71 -0
- package/apps/dashboard/src/context/GitHubContext.tsx +288 -0
- package/apps/dashboard/src/context/ModalContext.tsx +300 -0
- package/apps/dashboard/src/context/NetworkContext.tsx +32 -0
- package/apps/dashboard/src/context/ProjectSettingsContext.tsx +727 -0
- package/apps/dashboard/src/context/ToastContext.tsx +129 -0
- package/apps/dashboard/src/context/deployment/index.ts +3 -0
- package/apps/dashboard/src/context/deployment/types.ts +183 -0
- package/apps/dashboard/src/context/deployment/useDeploymentBuild.ts +547 -0
- package/apps/dashboard/src/context/deployment/useDeploymentConfig.ts +176 -0
- package/apps/dashboard/src/hooks/useBuildConnection.ts +334 -0
- package/apps/dashboard/src/hooks/useMonitorStream.ts +146 -0
- package/apps/dashboard/src/hooks/useProjectData.ts +110 -0
- package/apps/dashboard/src/hooks/useSSEConnection.ts +465 -0
- package/apps/dashboard/src/hooks/useSSEStream.ts +309 -0
- package/apps/dashboard/src/hooks/useSessions.ts +104 -0
- package/apps/dashboard/src/hooks/useSetupStream.ts +223 -0
- package/apps/dashboard/src/i18n/dictionaries/ar.json +218 -0
- package/apps/dashboard/src/i18n/dictionaries/en.json +218 -0
- package/apps/dashboard/src/i18n/index.ts +16 -0
- package/apps/dashboard/src/lib/api/ai.ts +22 -0
- package/apps/dashboard/src/lib/api/auth.ts +13 -0
- package/apps/dashboard/src/lib/api/client.ts +199 -0
- package/apps/dashboard/src/lib/api/cloud.ts +15 -0
- package/apps/dashboard/src/lib/api/deploy.ts +58 -0
- package/apps/dashboard/src/lib/api/domains.ts +13 -0
- package/apps/dashboard/src/lib/api/endpoints.ts +129 -0
- package/apps/dashboard/src/lib/api/github.ts +31 -0
- package/apps/dashboard/src/lib/api/icons.ts +12 -0
- package/apps/dashboard/src/lib/api/index.ts +41 -0
- package/apps/dashboard/src/lib/api/projects.ts +153 -0
- package/apps/dashboard/src/lib/api/sandbox.ts +14 -0
- package/apps/dashboard/src/lib/api/settings.ts +21 -0
- package/apps/dashboard/src/lib/api/system.ts +159 -0
- package/apps/dashboard/src/lib/auth-client.ts +54 -0
- package/apps/dashboard/src/lib/country.ts +25 -0
- package/apps/dashboard/src/lib/server/api.ts +140 -0
- package/apps/dashboard/src/lib/server/session.ts +103 -0
- package/apps/dashboard/src/lib/sseClient.ts +241 -0
- package/apps/dashboard/src/lib/sseMessageProcessors.ts +323 -0
- package/apps/dashboard/src/lib/utils.ts +6 -0
- package/apps/dashboard/src/proxy.ts +46 -0
- package/apps/dashboard/src/styles/Toast.module.css +92 -0
- package/apps/dashboard/src/styles/fonts.css +93 -0
- package/apps/dashboard/src/styles/theme.css +336 -0
- package/apps/dashboard/src/types/research.ts +42 -0
- package/apps/dashboard/src/utils/SSEParser.js +150 -0
- package/apps/dashboard/src/utils/authWindow.ts +143 -0
- package/apps/dashboard/src/utils/codeTheme.ts +127 -0
- package/apps/dashboard/src/utils/colors.json +2810 -0
- package/apps/dashboard/src/utils/date.ts +121 -0
- package/apps/dashboard/src/utils/deployment.ts +128 -0
- package/apps/dashboard/src/utils/deploymentPhaseDetector.ts +232 -0
- package/apps/dashboard/src/utils/extToLang.js +103 -0
- package/apps/dashboard/src/utils/github.ts +62 -0
- package/apps/dashboard/src/utils/icons.js +46 -0
- package/apps/dashboard/src/utils/repoSlug.ts +110 -0
- package/apps/dashboard/src/utils/research-api.ts +163 -0
- package/apps/dashboard/src/utils/suggestions.ts +84 -0
- package/apps/dashboard/src/utils/theme.js +1 -0
- package/apps/dashboard/src/utils/ui-helpers.tsx +30 -0
- package/apps/dashboard/src/utils/upload.js +12 -0
- package/apps/dashboard/tsconfig.json +27 -5
- package/apps/desktop/forge.config.json +36 -0
- package/apps/desktop/package.json +26 -0
- package/apps/desktop/scripts/dev.mjs +58 -0
- package/apps/desktop/src/main/index.ts +675 -0
- package/apps/desktop/src/main/types/desktop.d.ts +33 -0
- package/apps/desktop/src/preload/index.ts +88 -0
- package/apps/desktop/src/renderer/index.html +462 -0
- package/apps/desktop/src/renderer/onboarding.js +511 -0
- package/apps/desktop/src/renderer/styles.css +1139 -0
- package/apps/desktop/tsconfig.json +17 -0
- package/apps/web/.source/browser.ts +13 -0
- package/apps/web/.source/dynamic.ts +8 -0
- package/apps/web/.source/server.ts +22 -0
- package/apps/web/.source/source.config.mjs +20 -0
- package/apps/web/Dockerfile +4 -6
- package/apps/web/content/blog/how-ai-builds-work.mdx +55 -0
- package/apps/web/content/blog/introducing-openship.mdx +46 -0
- package/apps/web/content/blog/self-hosting-cost-breakdown.mdx +59 -0
- package/apps/web/content/docs/_meta.json +14 -0
- package/apps/web/content/docs/api.mdx +98 -0
- package/apps/web/content/docs/cli.mdx +80 -0
- package/apps/web/content/docs/first-deployment.mdx +56 -0
- package/apps/web/content/docs/index.mdx +27 -0
- package/apps/web/content/docs/installation.mdx +65 -0
- package/apps/web/content/docs/quickstart.mdx +45 -0
- package/apps/web/next-env.d.ts +6 -0
- package/apps/web/next.config.mjs +16 -2
- package/apps/web/package.json +19 -12
- package/apps/web/postcss.config.mjs +5 -0
- package/apps/web/public/android-chrome-192x192.png +0 -0
- package/apps/web/public/android-chrome-512x512.png +0 -0
- package/apps/web/public/apple-touch-icon.png +0 -0
- package/apps/web/public/favicon-16x16.png +0 -0
- package/apps/web/public/favicon-32x32.png +0 -0
- package/apps/web/public/favicon.ico +0 -0
- package/apps/web/public/site.webmanifest +1 -0
- package/apps/web/source.config.ts +17 -0
- package/apps/web/src/app/(marketing)/layout.tsx +7 -22
- package/apps/web/src/app/blog/[...slug]/page.tsx +247 -0
- package/apps/web/src/app/blog/blog.css +575 -0
- package/apps/web/src/app/blog/layout.tsx +50 -0
- package/apps/web/src/app/blog/page.tsx +235 -0
- package/apps/web/src/app/docs/[[...slug]]/page.tsx +67 -0
- package/apps/web/src/app/docs/layout.tsx +62 -0
- package/apps/web/src/app/docs/toc-theme.css +71 -0
- package/apps/web/src/app/download/page.tsx +396 -0
- package/apps/web/src/app/globals.css +20 -3
- package/apps/web/src/app/layout.tsx +57 -3
- package/apps/web/src/app/page.tsx +47 -6
- package/apps/web/src/app/robots.ts +15 -0
- package/apps/web/src/app/sitemap.ts +35 -0
- package/apps/web/src/components/blog/share-sidebar.tsx +81 -0
- package/apps/web/src/components/blog/writer-sidebar.tsx +81 -0
- package/apps/web/src/components/landing/ai-native.tsx +169 -0
- package/apps/web/src/components/landing/backups.tsx +139 -0
- package/apps/web/src/components/landing/cdn.tsx +109 -0
- package/apps/web/src/components/landing/coming-soon.tsx +180 -0
- package/apps/web/src/components/landing/dark-section.tsx +166 -0
- package/apps/web/src/components/landing/dashboard.tsx +407 -0
- package/apps/web/src/components/landing/developer-experience.tsx +224 -0
- package/apps/web/src/components/landing/dns-domains.tsx +146 -0
- package/apps/web/src/components/landing/download-button.tsx +151 -0
- package/apps/web/src/components/landing/features/ai-visual.tsx +48 -0
- package/apps/web/src/components/landing/features/cloud-visual.tsx +44 -0
- package/apps/web/src/components/landing/features/git-visual.tsx +61 -0
- package/apps/web/src/components/landing/features/index.tsx +642 -0
- package/apps/web/src/components/landing/features/infra-visual.tsx +69 -0
- package/apps/web/src/components/landing/features/rollback-visual.tsx +42 -0
- package/apps/web/src/components/landing/features/ssl-visual.tsx +41 -0
- package/apps/web/src/components/landing/features/stacks-visual.tsx +54 -0
- package/apps/web/src/components/landing/final-cta.tsx +116 -0
- package/apps/web/src/components/landing/footer.tsx +145 -0
- package/apps/web/src/components/landing/hero.tsx +110 -0
- package/apps/web/src/components/landing/how-it-works.tsx +210 -0
- package/apps/web/src/components/landing/index.ts +21 -0
- package/apps/web/src/components/landing/mail-server.tsx +122 -0
- package/apps/web/src/components/landing/navbar.tsx +199 -0
- package/apps/web/src/components/landing/no-lockin.tsx +185 -0
- package/apps/web/src/components/landing/open-source-cta.tsx +151 -0
- package/apps/web/src/components/landing/portability.tsx +190 -0
- package/apps/web/src/components/landing/pricing.tsx +263 -0
- package/apps/web/src/components/landing/scaling.tsx +209 -0
- package/apps/web/src/components/landing/why-openship.tsx +291 -0
- package/apps/web/src/hooks/use-gsap-scroll.ts +158 -0
- package/apps/web/src/hooks/use-platform.ts +86 -0
- package/apps/web/src/lib/source.ts +12 -0
- package/apps/web/src/styles/fonts.css +84 -0
- package/apps/web/src/styles/landing.css +951 -0
- package/apps/web/src/styles/theme.css +227 -0
- package/apps/web/tsconfig.json +8 -3
- package/bun.lock +3260 -0
- package/docker-compose.yml +3 -0
- package/docs/screenshots/.gitkeep +0 -0
- package/docs/screenshots/screen.png +0 -0
- package/openship.code-workspace +7 -0
- package/package.json +23 -9
- package/packages/adapters/docs/ARCHITECTURE.md +160 -0
- package/packages/adapters/docs/BUILD-PIPELINE.md +171 -0
- package/packages/adapters/docs/CLOUD.md +239 -0
- package/packages/adapters/docs/EXECUTOR.md +174 -0
- package/packages/adapters/docs/LOG-STREAMING.md +175 -0
- package/packages/adapters/docs/SYSTEM.md +191 -0
- package/packages/adapters/package.json +14 -9
- package/packages/adapters/src/index.ts +144 -4
- package/packages/adapters/src/infra/cloud.ts +42 -0
- package/packages/adapters/src/infra/index.ts +9 -0
- package/packages/adapters/src/infra/noop.ts +27 -0
- package/packages/adapters/src/infra/traefik.ts +297 -0
- package/packages/adapters/src/infra/types.ts +36 -0
- package/packages/adapters/src/platform.ts +255 -0
- package/packages/adapters/src/runtime/bare.ts +567 -0
- package/packages/adapters/src/runtime/build-pipeline.ts +237 -0
- package/packages/adapters/src/runtime/cloud.ts +791 -0
- package/packages/adapters/src/runtime/deploy-pipeline.ts +146 -0
- package/packages/adapters/src/runtime/docker.ts +443 -0
- package/packages/adapters/src/runtime/index.ts +69 -0
- package/packages/adapters/src/runtime/local-build.ts +112 -0
- package/packages/adapters/src/runtime/transfer.ts +82 -0
- package/packages/adapters/src/runtime/types.ts +138 -0
- package/packages/adapters/src/system/catalog.ts +188 -0
- package/packages/adapters/src/system/checks.ts +228 -0
- package/packages/adapters/src/system/components.ts +45 -0
- package/packages/adapters/src/system/debug.ts +18 -0
- package/packages/adapters/src/system/environment.ts +168 -0
- package/packages/adapters/src/system/errors.ts +34 -0
- package/packages/adapters/src/system/executor.ts +600 -0
- package/packages/adapters/src/system/index.ts +58 -0
- package/packages/adapters/src/system/installer.ts +310 -0
- package/packages/adapters/src/system/setup.ts +442 -0
- package/packages/adapters/src/system/state.ts +96 -0
- package/packages/adapters/src/system/types.ts +116 -0
- package/packages/adapters/src/toolchain/catalog.ts +439 -0
- package/packages/adapters/src/toolchain/checks.ts +181 -0
- package/packages/adapters/src/toolchain/index.ts +38 -0
- package/packages/adapters/src/toolchain/installer.ts +189 -0
- package/packages/adapters/src/toolchain/types.ts +84 -0
- package/packages/adapters/src/types.ts +277 -0
- package/packages/adapters/tsconfig.json +3 -1
- package/packages/core/package.json +9 -9
- package/packages/core/src/constants.ts +44 -1
- package/packages/core/src/index.ts +2 -0
- package/packages/core/src/stacks.ts +778 -0
- package/packages/core/src/system.ts +111 -0
- package/packages/core/src/types.ts +22 -1
- package/packages/core/src/utils.ts +8 -0
- package/packages/core/tsconfig.json +3 -1
- package/packages/db/drizzle/0000_init.sql +231 -0
- package/packages/db/drizzle/0001_add_server_name.sql +1 -0
- package/packages/db/drizzle/meta/_journal.json +20 -0
- package/packages/db/drizzle.config.ts +10 -0
- package/packages/db/package.json +26 -14
- package/packages/db/src/client.ts +119 -0
- package/packages/db/src/index.ts +57 -8
- package/packages/db/src/repos/account.repo.ts +92 -0
- package/packages/db/src/repos/deployment.repo.ts +168 -0
- package/packages/db/src/repos/domain.repo.ts +102 -0
- package/packages/db/src/repos/git-installation.repo.ts +95 -0
- package/packages/db/src/repos/index.ts +43 -0
- package/packages/db/src/repos/instance-settings.repo.ts +43 -0
- package/packages/db/src/repos/project.repo.ts +159 -0
- package/packages/db/src/repos/session.repo.ts +82 -0
- package/packages/db/src/repos/settings.repo.ts +51 -0
- package/packages/db/src/repos/user.repo.ts +94 -0
- package/packages/db/src/schema/auth.ts +56 -0
- package/packages/db/src/schema/deployment.ts +87 -0
- package/packages/db/src/schema/domain.ts +46 -0
- package/packages/db/src/schema/github.ts +24 -0
- package/packages/db/src/schema/index.ts +6 -0
- package/packages/db/src/schema/project.ts +117 -0
- package/packages/db/src/schema/settings.ts +103 -0
- package/packages/db/tsconfig.json +3 -1
- package/packages/ui/package.json +17 -17
- package/packages/ui/src/components/status-dot.tsx +1 -1
- package/packages/ui/tsconfig.json +7 -2
- package/pnpm-workspace.yaml +0 -1
- package/{tooling/tsconfig/base.json → tsconfig.base.json} +0 -1
- package/turbo.json +4 -0
- package/apps/api/src/modules/auth/auth.controller.ts +0 -26
- package/apps/api/src/modules/auth/auth.schema.ts +0 -12
- package/apps/api/src/modules/auth/auth.service.ts +0 -23
- package/apps/dashboard/src/app/page.tsx +0 -6
- package/apps/web/src/app/(marketing)/docs/page.tsx +0 -10
- package/packages/adapters/src/base-adapter.ts +0 -49
- package/packages/adapters/src/docker-adapter.ts +0 -43
- package/packages/adapters/src/oblien-adapter.ts +0 -46
- package/packages/adapters/src/registry.ts +0 -22
- package/packages/db/prisma/schema.prisma +0 -160
- package/tooling/tsconfig/nextjs.json +0 -10
- package/tooling/tsconfig/node.json +0 -10
- package/tooling/tsconfig/package.json +0 -7
|
@@ -0,0 +1,951 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* ─────────────────────────────────────────────────────────────────
|
|
3
|
+
* OPENSHIP LANDING — ANIMATIONS & VISUAL FX
|
|
4
|
+
* Premium mesh-gradient blobs, grid, terminal, navbar pill.
|
|
5
|
+
* ─────────────────────────────────────────────────────────────────
|
|
6
|
+
*
|
|
7
|
+
* DESIGN LANGUAGE — LARGE ROUNDED
|
|
8
|
+
* ──────────────────────────────────────────────────────
|
|
9
|
+
* This project uses a consistently large border-radius style.
|
|
10
|
+
* Every surface — cards, tiles, icons, badges, sections —
|
|
11
|
+
* should feel soft and generously rounded.
|
|
12
|
+
*
|
|
13
|
+
* Reference radii (keep these in sync when adding new elements):
|
|
14
|
+
* • Full-width sections (DarkSection) → clamp(32px, 5vw, 56px)
|
|
15
|
+
* • Cards / visual containers → 24px
|
|
16
|
+
* • Tiles / inner panels → 16px
|
|
17
|
+
* • Icon badges / small elements → 12px
|
|
18
|
+
* • Pills / status badges → 999px (full pill)
|
|
19
|
+
* • Circles (dots, avatars) → 50%
|
|
20
|
+
*
|
|
21
|
+
* When in doubt, round MORE, not less.
|
|
22
|
+
* ─────────────────────────────────────────────────────────────────
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
/* ══════════════════════════════════════════════════════════════
|
|
27
|
+
NAVBAR — floating pill
|
|
28
|
+
══════════════════════════════════════════════════════════════ */
|
|
29
|
+
|
|
30
|
+
.nav-pill {
|
|
31
|
+
backdrop-filter: blur(16px) saturate(180%);
|
|
32
|
+
-webkit-backdrop-filter: blur(16px) saturate(180%);
|
|
33
|
+
background: rgba(255,255,255,.72);
|
|
34
|
+
box-shadow:
|
|
35
|
+
0 0 0 1px rgba(0,0,0,.03),
|
|
36
|
+
0 2px 8px rgba(0,0,0,.04);
|
|
37
|
+
transition: box-shadow .25s, background .25s;
|
|
38
|
+
}
|
|
39
|
+
.nav-pill:hover {
|
|
40
|
+
box-shadow:
|
|
41
|
+
0 0 0 1px rgba(0,0,0,.04),
|
|
42
|
+
0 4px 16px rgba(0,0,0,.06);
|
|
43
|
+
}
|
|
44
|
+
.nav-pill-item {
|
|
45
|
+
letter-spacing: 0.005em;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
/* ══════════════════════════════════════════════════════════════
|
|
50
|
+
HERO — clean bottom aurora glow
|
|
51
|
+
══════════════════════════════════════════════════════════════ */
|
|
52
|
+
|
|
53
|
+
.hero-section {
|
|
54
|
+
background-color: var(--th-bg-page);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/* ── Grain ───────────────────────────────────────────────────── */
|
|
58
|
+
.hero-grain {
|
|
59
|
+
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
|
|
60
|
+
background-size: 180px;
|
|
61
|
+
opacity: 0.018;
|
|
62
|
+
mix-blend-mode: multiply;
|
|
63
|
+
pointer-events: none;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/* ── Grid ────────────────────────────────────────────────────── */
|
|
67
|
+
.hero-grid {
|
|
68
|
+
background-image:
|
|
69
|
+
linear-gradient(var(--th-on-05) 1px, transparent 1px),
|
|
70
|
+
linear-gradient(90deg, var(--th-on-05) 1px, transparent 1px);
|
|
71
|
+
background-size: 72px 72px;
|
|
72
|
+
mask-image: radial-gradient(ellipse 70% 45% at 50% 65%, rgba(0,0,0,.2) 0%, transparent 70%);
|
|
73
|
+
-webkit-mask-image: radial-gradient(ellipse 70% 45% at 50% 65%, rgba(0,0,0,.2) 0%, transparent 70%);
|
|
74
|
+
pointer-events: none;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/* ── Aurora container — sits at the bottom, bleeds beyond viewport ── */
|
|
78
|
+
.hero-aurora {
|
|
79
|
+
position: absolute;
|
|
80
|
+
bottom: -6%;
|
|
81
|
+
left: -5%;
|
|
82
|
+
right: -5%;
|
|
83
|
+
height: 60%;
|
|
84
|
+
pointer-events: none;
|
|
85
|
+
overflow: visible;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/* ── Core glow — rich violet, vivid, centered ───────────────── */
|
|
89
|
+
.hero-aurora-core {
|
|
90
|
+
position: absolute;
|
|
91
|
+
bottom: 0;
|
|
92
|
+
left: 50%;
|
|
93
|
+
width: 85%;
|
|
94
|
+
height: 100%;
|
|
95
|
+
transform: translateX(-50%);
|
|
96
|
+
background: radial-gradient(
|
|
97
|
+
ellipse 55% 75% at 50% 90%,
|
|
98
|
+
rgba(139, 92, 246, .55) 0%,
|
|
99
|
+
rgba(124, 58, 237, .35) 20%,
|
|
100
|
+
rgba(109, 40, 217, .15) 45%,
|
|
101
|
+
transparent 70%
|
|
102
|
+
);
|
|
103
|
+
filter: blur(45px);
|
|
104
|
+
animation: aurora-breathe 16s ease-in-out infinite;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/* ── Wings — flanking color accents ─────────────────────────── */
|
|
108
|
+
.hero-aurora-wing {
|
|
109
|
+
position: absolute;
|
|
110
|
+
bottom: 0;
|
|
111
|
+
width: 55%;
|
|
112
|
+
height: 95%;
|
|
113
|
+
filter: blur(55px);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/* Left wing — warm amber / orange glow */
|
|
117
|
+
.hero-aurora-wing--left {
|
|
118
|
+
left: -3%;
|
|
119
|
+
background: radial-gradient(
|
|
120
|
+
ellipse 60% 70% at 65% 85%,
|
|
121
|
+
rgba(245, 158, 11, .34) 0%,
|
|
122
|
+
rgba(251, 191, 36, .18) 30%,
|
|
123
|
+
rgba(234, 88, 12, .08) 55%,
|
|
124
|
+
transparent 72%
|
|
125
|
+
);
|
|
126
|
+
animation: aurora-sway-left 20s ease-in-out infinite;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/* Right wing — soft peach-yellow that bleeds into the violet core */
|
|
130
|
+
.hero-aurora-wing--right {
|
|
131
|
+
right: -3%;
|
|
132
|
+
background: radial-gradient(
|
|
133
|
+
ellipse 60% 70% at 35% 85%,
|
|
134
|
+
rgba(251, 191, 36, .30) 0%,
|
|
135
|
+
rgba(253, 224, 71, .14) 30%,
|
|
136
|
+
rgba(167, 139, 250, .10) 55%,
|
|
137
|
+
transparent 72%
|
|
138
|
+
);
|
|
139
|
+
animation: aurora-sway-right 22s ease-in-out infinite;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
/* ── Aurora keyframes ────────────────────────────────────────── */
|
|
143
|
+
@keyframes aurora-breathe {
|
|
144
|
+
0%, 100% { transform: translateX(-50%) scale(1); opacity: 1; }
|
|
145
|
+
50% { transform: translateX(-50%) scale(1.05); opacity: 0.88; }
|
|
146
|
+
}
|
|
147
|
+
@keyframes aurora-sway-left {
|
|
148
|
+
0%, 100% { transform: translate(0, 0) scale(1); }
|
|
149
|
+
33% { transform: translate(18px, -8px) scale(1.05); }
|
|
150
|
+
66% { transform: translate(-12px, 6px) scale(0.97); }
|
|
151
|
+
}
|
|
152
|
+
@keyframes aurora-sway-right {
|
|
153
|
+
0%, 100% { transform: translate(0, 0) scale(1); }
|
|
154
|
+
33% { transform: translate(-16px, -6px) scale(1.04); }
|
|
155
|
+
66% { transform: translate(14px, 5px) scale(0.97); }
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
/* ── Second headline ─────────────────────────────────────────── */
|
|
159
|
+
.hero-headline-second {
|
|
160
|
+
color: var(--th-on-40);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/* ── Stack ticker ────────────────────────────────────────────── */
|
|
164
|
+
.hero-ticker-mask {
|
|
165
|
+
mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
|
|
166
|
+
-webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
|
|
167
|
+
}
|
|
168
|
+
.hero-ticker {
|
|
169
|
+
animation: hero-ticker-scroll 30s linear infinite;
|
|
170
|
+
}
|
|
171
|
+
@keyframes hero-ticker-scroll {
|
|
172
|
+
0% { transform: translateX(0); }
|
|
173
|
+
100% { transform: translateX(-50%); }
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/* ── Edge fades ──────────────────────────────────────────────── */
|
|
177
|
+
.hero-edge-fade-top {
|
|
178
|
+
background: linear-gradient(to bottom, var(--th-bg-page), transparent);
|
|
179
|
+
pointer-events: none;
|
|
180
|
+
}
|
|
181
|
+
.hero-edge-fade-bottom {
|
|
182
|
+
background: linear-gradient(to top, var(--th-bg-page), transparent);
|
|
183
|
+
pointer-events: none;
|
|
184
|
+
z-index: 5;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
/* ══════════════════════════════════════════════════════════════
|
|
189
|
+
FADE-IN ANIMATIONS
|
|
190
|
+
══════════════════════════════════════════════════════════════ */
|
|
191
|
+
|
|
192
|
+
@keyframes fade-in-up {
|
|
193
|
+
from { opacity: 0; transform: translateY(20px); }
|
|
194
|
+
to { opacity: 1; transform: translateY(0); }
|
|
195
|
+
}
|
|
196
|
+
.animate-fade-in-up {
|
|
197
|
+
animation: fade-in-up 0.65s cubic-bezier(.16,1,.3,1) both;
|
|
198
|
+
}
|
|
199
|
+
.animate-delay-100 { animation-delay: 0.1s; }
|
|
200
|
+
.animate-delay-200 { animation-delay: 0.2s; }
|
|
201
|
+
.animate-delay-300 { animation-delay: 0.3s; }
|
|
202
|
+
.animate-delay-400 { animation-delay: 0.4s; }
|
|
203
|
+
.animate-delay-500 { animation-delay: 0.5s; }
|
|
204
|
+
.animate-delay-600 { animation-delay: 0.6s; }
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
/* ══════════════════════════════════════════════════════════════
|
|
208
|
+
TERMINAL MOCKUP
|
|
209
|
+
══════════════════════════════════════════════════════════════ */
|
|
210
|
+
|
|
211
|
+
/* Large rounded: terminal → 1.25rem (20px) */
|
|
212
|
+
.terminal {
|
|
213
|
+
background-color: var(--th-terminal-bg);
|
|
214
|
+
border-radius: 1.25rem;
|
|
215
|
+
overflow: hidden;
|
|
216
|
+
box-shadow:
|
|
217
|
+
0 20px 60px rgba(0,0,0,.18),
|
|
218
|
+
0 4px 16px rgba(0,0,0,.10);
|
|
219
|
+
}
|
|
220
|
+
.terminal-bar {
|
|
221
|
+
display: flex;
|
|
222
|
+
align-items: center;
|
|
223
|
+
gap: 6px;
|
|
224
|
+
padding: 12px 16px;
|
|
225
|
+
background-color: rgba(255,255,255,.04);
|
|
226
|
+
border-bottom: 1px solid rgba(255,255,255,.06);
|
|
227
|
+
}
|
|
228
|
+
.terminal-dot {
|
|
229
|
+
width: 10px;
|
|
230
|
+
height: 10px;
|
|
231
|
+
border-radius: 50%;
|
|
232
|
+
}
|
|
233
|
+
.terminal-dot-red { background-color: #ff5f57; }
|
|
234
|
+
.terminal-dot-yellow { background-color: #febc2e; }
|
|
235
|
+
.terminal-dot-green { background-color: #28c840; }
|
|
236
|
+
.terminal-body {
|
|
237
|
+
padding: 20px;
|
|
238
|
+
font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
|
|
239
|
+
font-size: 13px;
|
|
240
|
+
line-height: 1.7;
|
|
241
|
+
color: var(--th-terminal-text);
|
|
242
|
+
}
|
|
243
|
+
.terminal-body .t-muted { color: var(--th-terminal-muted); }
|
|
244
|
+
.terminal-body .t-green { color: var(--th-terminal-green); }
|
|
245
|
+
.terminal-body .t-red { color: var(--th-terminal-red); }
|
|
246
|
+
.terminal-body .t-blue { color: var(--th-terminal-blue); }
|
|
247
|
+
.terminal-body .t-yellow { color: var(--th-terminal-yellow); }
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
/* ══════════════════════════════════════════════════════════════
|
|
251
|
+
GRADIENT TEXT
|
|
252
|
+
══════════════════════════════════════════════════════════════ */
|
|
253
|
+
|
|
254
|
+
.gradient-text {
|
|
255
|
+
background: linear-gradient(135deg, var(--th-text-heading) 0%, var(--th-on-60) 100%);
|
|
256
|
+
-webkit-background-clip: text;
|
|
257
|
+
background-clip: text;
|
|
258
|
+
-webkit-text-fill-color: transparent;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.accent-gradient-text {
|
|
262
|
+
background: linear-gradient(135deg, var(--th-accent-indigo), var(--th-accent-purple), var(--th-accent-pink));
|
|
263
|
+
-webkit-background-clip: text;
|
|
264
|
+
background-clip: text;
|
|
265
|
+
-webkit-text-fill-color: transparent;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
/* ══════════════════════════════════════════════════════════════
|
|
270
|
+
SECTION UTILITIES
|
|
271
|
+
══════════════════════════════════════════════════════════════ */
|
|
272
|
+
|
|
273
|
+
.section-divider {
|
|
274
|
+
height: 1px;
|
|
275
|
+
background: linear-gradient(90deg, transparent 0%, var(--th-bd-default) 30%, var(--th-bd-default) 70%, transparent 100%);
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
/* ══════════════════════════════════════════════════════════════
|
|
280
|
+
DARK SECTION — Reusable full-width dark container
|
|
281
|
+
Scroll-linked scale 0.88→1→0.88 with GSAP (desktop only).
|
|
282
|
+
══════════════════════════════════════════════════════════════ */
|
|
283
|
+
|
|
284
|
+
.dark-section {
|
|
285
|
+
position: relative;
|
|
286
|
+
z-index: 20;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
/* Large rounded: DarkSection → clamp(32px, 5vw, 56px) */
|
|
290
|
+
.dark-section__inner {
|
|
291
|
+
position: relative;
|
|
292
|
+
background: #09090b;
|
|
293
|
+
overflow: hidden;
|
|
294
|
+
border-radius: clamp(32px, 5vw, 56px);
|
|
295
|
+
box-shadow: 0 -20px 80px rgba(0,0,0,.18);
|
|
296
|
+
transform-origin: top center;
|
|
297
|
+
}
|
|
298
|
+
@media (max-width: 768px) {
|
|
299
|
+
.dark-section__inner {
|
|
300
|
+
border-radius: 0;
|
|
301
|
+
box-shadow: none;
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
/* Background texture image + black/80 overlay */
|
|
306
|
+
.dark-section__inner::before {
|
|
307
|
+
content: '';
|
|
308
|
+
position: absolute;
|
|
309
|
+
inset: 0;
|
|
310
|
+
border-radius: inherit;
|
|
311
|
+
background:
|
|
312
|
+
linear-gradient(rgba(0,0,0,.85), rgba(0,0,0,.95)),
|
|
313
|
+
url('https://oblien.com/textures/4.jpeg') center / cover no-repeat;
|
|
314
|
+
z-index: 0;
|
|
315
|
+
pointer-events: none;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
/* All direct children sit above the texture */
|
|
319
|
+
.dark-section__inner > * {
|
|
320
|
+
position: relative;
|
|
321
|
+
z-index: 2;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
/* Top edge glow line */
|
|
325
|
+
.dark-section__edge-glow {
|
|
326
|
+
position: absolute;
|
|
327
|
+
top: 0;
|
|
328
|
+
left: 10%;
|
|
329
|
+
right: 10%;
|
|
330
|
+
height: 1px;
|
|
331
|
+
background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
|
|
332
|
+
z-index: 3;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
/* ══════════════════════════════════════════════════════════════
|
|
338
|
+
HOW IT WORKS
|
|
339
|
+
══════════════════════════════════════════════════════════════ */
|
|
340
|
+
|
|
341
|
+
.hiw-card:hover {
|
|
342
|
+
border-color: var(--bdr-h) !important;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
/* ══════════════════════════════════════════════════════════════
|
|
347
|
+
FEATURES — Premium card layout with GSAP scrub
|
|
348
|
+
══════════════════════════════════════════════════════════════ */
|
|
349
|
+
|
|
350
|
+
/* ── Section background — subtle tint band ───────────────────── */
|
|
351
|
+
/* feat-outer provides spacing; DarkSection provides the dark bg */
|
|
352
|
+
.feat-outer {
|
|
353
|
+
position: relative;
|
|
354
|
+
padding: 0 1rem;
|
|
355
|
+
margin-top: clamp(80px, 10vw, 140px);
|
|
356
|
+
}
|
|
357
|
+
@media (max-width: 768px) {
|
|
358
|
+
.feat-outer { padding: 0; margin-top: 64px; }
|
|
359
|
+
}
|
|
360
|
+
.feat-section {
|
|
361
|
+
/* background is now handled by DarkSection__inner */
|
|
362
|
+
position: relative;
|
|
363
|
+
}
|
|
364
|
+
.feat-edge-aurora-container {
|
|
365
|
+
opacity: 0.5;
|
|
366
|
+
position: fixed
|
|
367
|
+
}
|
|
368
|
+
/* ── Scroll-linked edge aurora — multi-shade, hero-style ──────── */
|
|
369
|
+
.feat-edge-aurora {
|
|
370
|
+
position: fixed;
|
|
371
|
+
top: 50%;
|
|
372
|
+
transform: translateY(-50%);
|
|
373
|
+
width: 420px;
|
|
374
|
+
height: 360px;
|
|
375
|
+
pointer-events: none;
|
|
376
|
+
z-index: 0;
|
|
377
|
+
opacity: 0;
|
|
378
|
+
will-change: opacity;
|
|
379
|
+
}
|
|
380
|
+
.feat-edge-aurora--left { left: -180px; }
|
|
381
|
+
.feat-edge-aurora--right { right: -180px; }
|
|
382
|
+
|
|
383
|
+
/* Core glow — primary color, centered */
|
|
384
|
+
.feat-edge-aurora__core {
|
|
385
|
+
position: absolute;
|
|
386
|
+
inset: 0;
|
|
387
|
+
border-radius: 50%;
|
|
388
|
+
filter: blur(90px);
|
|
389
|
+
transition: background 0.6s ease;
|
|
390
|
+
animation: edge-aurora-breathe 16s ease-in-out infinite;
|
|
391
|
+
}
|
|
392
|
+
.feat-edge-aurora--left .feat-edge-aurora__core {
|
|
393
|
+
background: radial-gradient(
|
|
394
|
+
ellipse 60% 70% at 65% 50%,
|
|
395
|
+
var(--lc, transparent) 0%,
|
|
396
|
+
transparent 72%
|
|
397
|
+
);
|
|
398
|
+
}
|
|
399
|
+
.feat-edge-aurora--right .feat-edge-aurora__core {
|
|
400
|
+
background: radial-gradient(
|
|
401
|
+
ellipse 60% 70% at 35% 50%,
|
|
402
|
+
var(--rc, transparent) 0%,
|
|
403
|
+
transparent 72%
|
|
404
|
+
);
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
/* Wings — offset accent blobs */
|
|
408
|
+
.feat-edge-aurora__wing {
|
|
409
|
+
position: absolute;
|
|
410
|
+
border-radius: 50%;
|
|
411
|
+
filter: blur(80px);
|
|
412
|
+
transition: background 0.6s ease;
|
|
413
|
+
}
|
|
414
|
+
.feat-edge-aurora__wing--upper {
|
|
415
|
+
top: -15%;
|
|
416
|
+
left: 10%;
|
|
417
|
+
width: 75%;
|
|
418
|
+
height: 60%;
|
|
419
|
+
}
|
|
420
|
+
.feat-edge-aurora__wing--lower {
|
|
421
|
+
bottom: -10%;
|
|
422
|
+
right: 5%;
|
|
423
|
+
width: 70%;
|
|
424
|
+
height: 55%;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
/* Left side wings */
|
|
428
|
+
.feat-edge-aurora--left .feat-edge-aurora__wing--upper {
|
|
429
|
+
background: radial-gradient(
|
|
430
|
+
ellipse 55% 65% at 60% 55%,
|
|
431
|
+
var(--lu, transparent) 0%,
|
|
432
|
+
transparent 70%
|
|
433
|
+
);
|
|
434
|
+
animation: edge-sway-1 20s ease-in-out infinite;
|
|
435
|
+
}
|
|
436
|
+
.feat-edge-aurora--left .feat-edge-aurora__wing--lower {
|
|
437
|
+
background: radial-gradient(
|
|
438
|
+
ellipse 55% 65% at 50% 45%,
|
|
439
|
+
var(--ll, transparent) 0%,
|
|
440
|
+
transparent 70%
|
|
441
|
+
);
|
|
442
|
+
animation: edge-sway-2 22s ease-in-out infinite;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
/* Right side wings */
|
|
446
|
+
.feat-edge-aurora--right .feat-edge-aurora__wing--upper {
|
|
447
|
+
background: radial-gradient(
|
|
448
|
+
ellipse 55% 65% at 40% 55%,
|
|
449
|
+
var(--ru, transparent) 0%,
|
|
450
|
+
transparent 70%
|
|
451
|
+
);
|
|
452
|
+
animation: edge-sway-2 20s ease-in-out infinite;
|
|
453
|
+
}
|
|
454
|
+
.feat-edge-aurora--right .feat-edge-aurora__wing--lower {
|
|
455
|
+
background: radial-gradient(
|
|
456
|
+
ellipse 55% 65% at 50% 45%,
|
|
457
|
+
var(--rl, transparent) 0%,
|
|
458
|
+
transparent 70%
|
|
459
|
+
);
|
|
460
|
+
animation: edge-sway-1 22s ease-in-out infinite;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
/* Keyframes */
|
|
464
|
+
@keyframes edge-aurora-breathe {
|
|
465
|
+
0%, 100% { transform: scale(1); opacity: 1; }
|
|
466
|
+
50% { transform: scale(1.06); opacity: 0.85; }
|
|
467
|
+
}
|
|
468
|
+
@keyframes edge-sway-1 {
|
|
469
|
+
0%, 100% { transform: translate(0, 0) scale(1); }
|
|
470
|
+
33% { transform: translate(14px, -10px) scale(1.05); }
|
|
471
|
+
66% { transform: translate(-10px, 8px) scale(0.96); }
|
|
472
|
+
}
|
|
473
|
+
@keyframes edge-sway-2 {
|
|
474
|
+
0%, 100% { transform: translate(0, 0) scale(1); }
|
|
475
|
+
33% { transform: translate(-12px, -6px) scale(1.04); }
|
|
476
|
+
66% { transform: translate(10px, 5px) scale(0.97); }
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
@media (max-width: 768px) {
|
|
480
|
+
.feat-edge-aurora { width: 280px; height: 240px; }
|
|
481
|
+
.feat-edge-aurora--left { left: -140px; }
|
|
482
|
+
.feat-edge-aurora--right { right: -140px; }
|
|
483
|
+
.feat-edge-aurora__core { filter: blur(65px); }
|
|
484
|
+
.feat-edge-aurora__wing { filter: blur(55px); }
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
/* ── Scroll-drawn SVG border ─────────────────────────────────── */
|
|
488
|
+
/*
|
|
489
|
+
* Two mirrored SVG paths that draw from center-top outward,
|
|
490
|
+
* down both sides, and close at center-bottom on scroll.
|
|
491
|
+
* JS sets strokeDasharray/strokeDashoffset in real pixels;
|
|
492
|
+
* GSAP scrubs dashoffset to 0.
|
|
493
|
+
*/
|
|
494
|
+
|
|
495
|
+
.feat-container {
|
|
496
|
+
position: relative;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
.feat-draw-border {
|
|
500
|
+
/* sized by JS (90 vw), centered in the section */
|
|
501
|
+
position: absolute;
|
|
502
|
+
top: 0;
|
|
503
|
+
left: 50%;
|
|
504
|
+
transform: translateX(-50%);
|
|
505
|
+
pointer-events: none;
|
|
506
|
+
z-index: 0;
|
|
507
|
+
overflow: visible;
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
.feat-draw-border__path {
|
|
511
|
+
fill: none;
|
|
512
|
+
/* stroke set by JS STROKE_COLOR const in useDrawBorder hook */
|
|
513
|
+
stroke-width: 1;
|
|
514
|
+
vector-effect: non-scaling-stroke;
|
|
515
|
+
stroke-linecap: square;
|
|
516
|
+
stroke-linejoin: miter;
|
|
517
|
+
}
|
|
518
|
+
@media (max-width: 768px) {
|
|
519
|
+
.feat-draw-border {
|
|
520
|
+
display: none;
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
/* ── Card stack ──────────────────────────────────────────────── */
|
|
525
|
+
.feat-cards-grid {
|
|
526
|
+
display: flex;
|
|
527
|
+
flex-direction: column;
|
|
528
|
+
gap: 0;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
/* ── Each feature card — full-width, divider separated ───────── */
|
|
532
|
+
/* Progressive enhancement — hidden ONLY while GSAP manages scroll-reveal.
|
|
533
|
+
Without JS (or if GSAP fails) the class is never added → content stays visible. */
|
|
534
|
+
.feat-animated .feat-header,
|
|
535
|
+
.feat-animated .feat-card,
|
|
536
|
+
.feat-animated .feat-card-text,
|
|
537
|
+
.feat-animated .feat-card-visual,
|
|
538
|
+
.feat-animated .feat-build-item,
|
|
539
|
+
.feat-animated .feat-bullets li {
|
|
540
|
+
opacity: 0;
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
.feat-card {
|
|
544
|
+
position: relative;
|
|
545
|
+
will-change: transform, opacity;
|
|
546
|
+
padding: 56px 0;
|
|
547
|
+
}
|
|
548
|
+
.feat-card:first-child {
|
|
549
|
+
/* no CSS border — SVG dividers handle all separators */
|
|
550
|
+
}
|
|
551
|
+
.feat-card:last-child {
|
|
552
|
+
padding-bottom: 48px;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
/* ── Edge blobs — large ambient glows that bleed past container ─ */
|
|
556
|
+
.feat-card::after {
|
|
557
|
+
content: "";
|
|
558
|
+
position: absolute;
|
|
559
|
+
width: 420px;
|
|
560
|
+
height: 320px;
|
|
561
|
+
border-radius: 50%;
|
|
562
|
+
filter: blur(90px);
|
|
563
|
+
opacity: 0;
|
|
564
|
+
pointer-events: none;
|
|
565
|
+
z-index: 0;
|
|
566
|
+
transition: opacity .6s ease;
|
|
567
|
+
}
|
|
568
|
+
.feat-card:hover::after {
|
|
569
|
+
opacity: 1;
|
|
570
|
+
}
|
|
571
|
+
/* Violet cards — blob on the visual side (right for even, left for odd) */
|
|
572
|
+
.feat-card[data-accent="violet"]::after {
|
|
573
|
+
background: radial-gradient(circle, rgba(139,92,246,.10) 0%, rgba(124,58,237,.04) 50%, transparent 70%);
|
|
574
|
+
top: 10%;
|
|
575
|
+
right: -12%;
|
|
576
|
+
}
|
|
577
|
+
.feat-card[data-accent="violet"]:nth-child(odd)::after {
|
|
578
|
+
right: -12%;
|
|
579
|
+
left: auto;
|
|
580
|
+
}
|
|
581
|
+
.feat-card[data-accent="violet"]:nth-child(even)::after {
|
|
582
|
+
left: -12%;
|
|
583
|
+
right: auto;
|
|
584
|
+
}
|
|
585
|
+
/* Amber cards — opposite side blob */
|
|
586
|
+
.feat-card[data-accent="amber"]::after {
|
|
587
|
+
background: radial-gradient(circle, rgba(245,158,11,.10) 0%, rgba(234,88,12,.04) 50%, transparent 70%);
|
|
588
|
+
top: 10%;
|
|
589
|
+
}
|
|
590
|
+
.feat-card[data-accent="amber"]:nth-child(odd)::after {
|
|
591
|
+
right: -12%;
|
|
592
|
+
left: auto;
|
|
593
|
+
}
|
|
594
|
+
.feat-card[data-accent="amber"]:nth-child(even)::after {
|
|
595
|
+
left: -12%;
|
|
596
|
+
right: auto;
|
|
597
|
+
}
|
|
598
|
+
.feat-card > * {
|
|
599
|
+
position: relative;
|
|
600
|
+
z-index: 1;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
|
|
604
|
+
|
|
605
|
+
/* ── Card inner — two-column grid ────────────────────────────── */
|
|
606
|
+
.feat-card-inner {
|
|
607
|
+
display: grid;
|
|
608
|
+
grid-template-columns: 1fr 1fr;
|
|
609
|
+
gap: 56px;
|
|
610
|
+
align-items: start;
|
|
611
|
+
}
|
|
612
|
+
.feat-card-inner--reverse { direction: rtl; }
|
|
613
|
+
.feat-card-inner--reverse > * { direction: ltr; }
|
|
614
|
+
|
|
615
|
+
@media (max-width: 768px) {
|
|
616
|
+
.feat-card-inner,
|
|
617
|
+
.feat-card-inner--reverse {
|
|
618
|
+
grid-template-columns: 1fr;
|
|
619
|
+
direction: ltr;
|
|
620
|
+
gap: 28px;
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
/* ── Text block ──────────────────────────────────────────────── */
|
|
625
|
+
.feat-card-text { min-width: 0; }
|
|
626
|
+
|
|
627
|
+
/* ══════════════════════════════════════════════════════════════
|
|
628
|
+
VISUAL CARD — locked-width container with inner glow
|
|
629
|
+
══════════════════════════════════════════════════════════════ */
|
|
630
|
+
/* Large rounded: visual container → 24px */
|
|
631
|
+
.feat-card-visual {
|
|
632
|
+
position: relative;
|
|
633
|
+
width: 100%;
|
|
634
|
+
max-width: 500px;
|
|
635
|
+
justify-self: center;
|
|
636
|
+
align-self: center;
|
|
637
|
+
padding: 6px 4px;
|
|
638
|
+
border-radius: 24px;
|
|
639
|
+
background: rgba(255,255,255,.04);
|
|
640
|
+
border: 1px solid rgba(255,255,255,.08);
|
|
641
|
+
overflow: hidden;
|
|
642
|
+
box-shadow: none;
|
|
643
|
+
transition: border-color .4s;
|
|
644
|
+
}
|
|
645
|
+
.feat-card:hover .feat-card-visual {
|
|
646
|
+
border-color: rgba(255,255,255,.16);
|
|
647
|
+
}
|
|
648
|
+
/* Background image layer — rendered behind overlay */
|
|
649
|
+
.feat-card-visual::before {
|
|
650
|
+
content: '';
|
|
651
|
+
position: absolute;
|
|
652
|
+
inset: 0;
|
|
653
|
+
border-radius: 24px;
|
|
654
|
+
background: var(--v-bg-img, none) center / cover no-repeat;
|
|
655
|
+
pointer-events: none;
|
|
656
|
+
z-index: 1;
|
|
657
|
+
}
|
|
658
|
+
/* Overlay tint + backdrop-filter — sits on top of the image */
|
|
659
|
+
.feat-card-visual:after {
|
|
660
|
+
content: '';
|
|
661
|
+
position: absolute;
|
|
662
|
+
inset: 0;
|
|
663
|
+
border-radius: 24px;
|
|
664
|
+
background: var(--v-overlay, transparent);
|
|
665
|
+
backdrop-filter: var(--v-backdrop, none);
|
|
666
|
+
-webkit-backdrop-filter: var(--v-backdrop, none);
|
|
667
|
+
pointer-events: none;
|
|
668
|
+
z-index: 2;
|
|
669
|
+
backdrop-filter: blur(25px) grayscale(50%);
|
|
670
|
+
}
|
|
671
|
+
.feat-card-visual > * {
|
|
672
|
+
position: relative;
|
|
673
|
+
z-index: 3;
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
|
|
677
|
+
/* ── Dark-context overrides for tile system inside features ──── */
|
|
678
|
+
.feat-section .feat-tile {
|
|
679
|
+
background: rgba(255,255,255,.04);
|
|
680
|
+
border-color: rgba(255,255,255,.08);
|
|
681
|
+
}
|
|
682
|
+
.feat-section .feat-tile--highlight {
|
|
683
|
+
box-shadow:
|
|
684
|
+
0 1px 4px rgba(0,0,0,.15),
|
|
685
|
+
0 4px 14px rgba(0,0,0,.2);
|
|
686
|
+
border-color: rgba(255,255,255,.10);
|
|
687
|
+
}
|
|
688
|
+
.feat-section .feat-tile--mono {
|
|
689
|
+
background: rgba(255,255,255,.06);
|
|
690
|
+
border-color: rgba(255,255,255,.08);
|
|
691
|
+
}
|
|
692
|
+
.feat-section .feat-icon-badge {
|
|
693
|
+
background: rgba(255,255,255,.08);
|
|
694
|
+
color: rgba(255,255,255,.50);
|
|
695
|
+
}
|
|
696
|
+
.feat-section .feat-badge {
|
|
697
|
+
color: rgba(255,255,255,.40);
|
|
698
|
+
background: rgba(255,255,255,.06);
|
|
699
|
+
}
|
|
700
|
+
.feat-section .feat-badge--green {
|
|
701
|
+
color: #4ade80;
|
|
702
|
+
background: rgba(34, 197, 94, .10);
|
|
703
|
+
border-color: rgba(34, 197, 94, .20);
|
|
704
|
+
}
|
|
705
|
+
.feat-section .feat-badge--violet {
|
|
706
|
+
color: #a78bfa;
|
|
707
|
+
background: rgba(139, 92, 246, .10);
|
|
708
|
+
border-color: rgba(139, 92, 246, .20);
|
|
709
|
+
}
|
|
710
|
+
.feat-section .feat-badge--amber {
|
|
711
|
+
color: #fbbf24;
|
|
712
|
+
background: rgba(245, 158, 11, .10);
|
|
713
|
+
border-color: rgba(245, 158, 11, .20);
|
|
714
|
+
}
|
|
715
|
+
.feat-section .feat-badge--action {
|
|
716
|
+
color: rgba(255,255,255,.40);
|
|
717
|
+
border-color: rgba(255,255,255,.10);
|
|
718
|
+
}
|
|
719
|
+
.feat-section .feat-badge--action:hover {
|
|
720
|
+
border-color: #a78bfa;
|
|
721
|
+
color: #a78bfa;
|
|
722
|
+
}
|
|
723
|
+
.feat-section .feat-idle-dot {
|
|
724
|
+
background: rgba(255,255,255,.16);
|
|
725
|
+
}
|
|
726
|
+
.feat-section .feat-stat-cell {
|
|
727
|
+
background: rgba(255,255,255,.03);
|
|
728
|
+
border-color: rgba(255,255,255,.06);
|
|
729
|
+
}
|
|
730
|
+
@media (max-width: 768px) {
|
|
731
|
+
.feat-card-visual {
|
|
732
|
+
max-width: 100%;
|
|
733
|
+
justify-self: stretch;
|
|
734
|
+
}
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
|
|
738
|
+
/* ══════════════════════════════════════════════════════════════
|
|
739
|
+
UNIFIED TILE DESIGN SYSTEM
|
|
740
|
+
Every child element inside the visual uses the same tile style.
|
|
741
|
+
══════════════════════════════════════════════════════════════ */
|
|
742
|
+
|
|
743
|
+
/* ── Base tile ───────────────────────────────────────────────── */
|
|
744
|
+
/* Large rounded: tile → 16px */
|
|
745
|
+
.feat-tile {
|
|
746
|
+
padding: 13px 15px;
|
|
747
|
+
border-radius: 16px;
|
|
748
|
+
background: var(--th-bg-page);
|
|
749
|
+
border: 1px solid var(--th-bd-default);
|
|
750
|
+
transition: border-color .25s;
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
/* ── Tile variants ───────────────────────────────────────────── */
|
|
754
|
+
|
|
755
|
+
/* Highlight — subtle elevation for primary items */
|
|
756
|
+
.feat-tile--highlight {
|
|
757
|
+
box-shadow:
|
|
758
|
+
0 1px 4px rgba(0,0,0,.03),
|
|
759
|
+
0 4px 14px rgba(0,0,0,.04);
|
|
760
|
+
border-color: var(--th-bd-default);
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
/* Mono — code/command style */
|
|
764
|
+
.feat-tile--mono {
|
|
765
|
+
background: var(--th-sf-03);
|
|
766
|
+
border-color: var(--th-bd-subtle);
|
|
767
|
+
font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', 'JetBrains Mono', monospace;
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
/* Accent — violet-tinted for AI/special elements */
|
|
771
|
+
.feat-tile--accent {
|
|
772
|
+
background: rgba(139, 92, 246, .04);
|
|
773
|
+
border-color: rgba(139, 92, 246, .14);
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
/* Amber accent — warm tint for amber sections */
|
|
777
|
+
.feat-tile--amber {
|
|
778
|
+
background: rgba(245, 158, 11, .04);
|
|
779
|
+
border-color: rgba(245, 158, 11, .14);
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
/* Danger — red-tinted for errors */
|
|
783
|
+
.feat-tile--danger {
|
|
784
|
+
background: rgba(239, 68, 68, .03);
|
|
785
|
+
border-color: rgba(239, 68, 68, .14);
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
/* Success — green-tinted */
|
|
789
|
+
.feat-tile--success {
|
|
790
|
+
background: rgba(34, 197, 94, .03);
|
|
791
|
+
border-color: rgba(34, 197, 94, .18);
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
/* Compact — tighter padding for grid cells */
|
|
795
|
+
.feat-tile--compact {
|
|
796
|
+
padding: 14px 10px;
|
|
797
|
+
display: flex;
|
|
798
|
+
flex-direction: column;
|
|
799
|
+
align-items: center;
|
|
800
|
+
justify-content: center;
|
|
801
|
+
gap: 6px;
|
|
802
|
+
border-color: var(--th-bd-default);
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
|
|
806
|
+
/* ══════════════════════════════════════════════════════════════
|
|
807
|
+
SHARED ATOMIC COMPONENTS
|
|
808
|
+
══════════════════════════════════════════════════════════════ */
|
|
809
|
+
|
|
810
|
+
/* ── Icon badge — small rounded container for SVG icons ──────── */
|
|
811
|
+
.feat-icon-badge {
|
|
812
|
+
display: flex;
|
|
813
|
+
align-items: center;
|
|
814
|
+
justify-content: center;
|
|
815
|
+
width: 32px;
|
|
816
|
+
height: 32px;
|
|
817
|
+
border-radius: 12px; /* Large rounded: icon badge → 12px */
|
|
818
|
+
background: var(--th-sf-05);
|
|
819
|
+
color: var(--th-text-secondary);
|
|
820
|
+
flex-shrink: 0;
|
|
821
|
+
}
|
|
822
|
+
.feat-icon-badge--violet {
|
|
823
|
+
background: rgba(139, 92, 246, .10);
|
|
824
|
+
color: var(--th-accent-violet);
|
|
825
|
+
}
|
|
826
|
+
.feat-icon-badge--amber {
|
|
827
|
+
background: rgba(245, 158, 11, .10);
|
|
828
|
+
color: var(--th-accent-amber);
|
|
829
|
+
}
|
|
830
|
+
.feat-icon-badge--green {
|
|
831
|
+
background: rgba(34, 197, 94, .08);
|
|
832
|
+
color: #15803d;
|
|
833
|
+
}
|
|
834
|
+
.feat-icon-badge--red {
|
|
835
|
+
background: rgba(239, 68, 68, .08);
|
|
836
|
+
color: #dc2626;
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
/* ── Badge — inline status pill ──────────────────────────────── */
|
|
840
|
+
.feat-badge {
|
|
841
|
+
display: inline-flex;
|
|
842
|
+
align-items: center;
|
|
843
|
+
font-size: 10px;
|
|
844
|
+
font-weight: 600;
|
|
845
|
+
padding: 2.5px 9px;
|
|
846
|
+
border-radius: 999px;
|
|
847
|
+
white-space: nowrap;
|
|
848
|
+
color: var(--th-text-hint);
|
|
849
|
+
background: var(--th-sf-04);
|
|
850
|
+
border: 1px solid transparent;
|
|
851
|
+
}
|
|
852
|
+
.feat-badge--green {
|
|
853
|
+
color: #15803d;
|
|
854
|
+
background: rgba(34, 197, 94, .08);
|
|
855
|
+
border-color: rgba(34, 197, 94, .15);
|
|
856
|
+
}
|
|
857
|
+
.feat-badge--violet {
|
|
858
|
+
color: var(--th-accent-violet);
|
|
859
|
+
background: rgba(139, 92, 246, .07);
|
|
860
|
+
border-color: rgba(139, 92, 246, .15);
|
|
861
|
+
}
|
|
862
|
+
.feat-badge--amber {
|
|
863
|
+
color: var(--th-accent-amber);
|
|
864
|
+
background: rgba(245, 158, 11, .07);
|
|
865
|
+
border-color: rgba(245, 158, 11, .15);
|
|
866
|
+
}
|
|
867
|
+
.feat-badge--action {
|
|
868
|
+
color: var(--th-text-muted);
|
|
869
|
+
background: transparent;
|
|
870
|
+
border: 1px solid var(--th-bd-default);
|
|
871
|
+
cursor: pointer;
|
|
872
|
+
transition: border-color .2s, color .2s;
|
|
873
|
+
}
|
|
874
|
+
.feat-badge--action:hover {
|
|
875
|
+
border-color: var(--th-accent-violet);
|
|
876
|
+
color: var(--th-accent-violet);
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
/* ── Live dot — pulsing circle ───────────────────────────────── */
|
|
880
|
+
.feat-live-dot {
|
|
881
|
+
width: 8px;
|
|
882
|
+
height: 8px;
|
|
883
|
+
border-radius: 50%;
|
|
884
|
+
background: #22c55e;
|
|
885
|
+
box-shadow: 0 0 0 0 rgba(34, 197, 94, .4);
|
|
886
|
+
animation: feat-pulse-green 2s ease-in-out infinite;
|
|
887
|
+
flex-shrink: 0;
|
|
888
|
+
}
|
|
889
|
+
.feat-live-dot--violet {
|
|
890
|
+
background: var(--th-accent-violet);
|
|
891
|
+
box-shadow: 0 0 0 0 rgba(139, 92, 246, .4);
|
|
892
|
+
animation: feat-pulse-violet 2s ease-in-out infinite;
|
|
893
|
+
}
|
|
894
|
+
.feat-live-dot--amber {
|
|
895
|
+
background: var(--th-accent-amber);
|
|
896
|
+
box-shadow: 0 0 0 0 rgba(245, 158, 11, .4);
|
|
897
|
+
animation: feat-pulse-amber 2s ease-in-out infinite;
|
|
898
|
+
}
|
|
899
|
+
@keyframes feat-pulse-green {
|
|
900
|
+
0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .4); }
|
|
901
|
+
50% { box-shadow: 0 0 0 4px rgba(34, 197, 94, 0); }
|
|
902
|
+
}
|
|
903
|
+
@keyframes feat-pulse-violet {
|
|
904
|
+
0%, 100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, .4); }
|
|
905
|
+
50% { box-shadow: 0 0 0 4px rgba(139, 92, 246, 0); }
|
|
906
|
+
}
|
|
907
|
+
@keyframes feat-pulse-amber {
|
|
908
|
+
0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, .4); }
|
|
909
|
+
50% { box-shadow: 0 0 0 4px rgba(245, 158, 11, 0); }
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
/* ── Idle dot — muted circle ─────────────────────────────────── */
|
|
913
|
+
.feat-idle-dot {
|
|
914
|
+
width: 8px;
|
|
915
|
+
height: 8px;
|
|
916
|
+
border-radius: 50%;
|
|
917
|
+
background: var(--th-on-12);
|
|
918
|
+
flex-shrink: 0;
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
/* ── Stat cell (cloud metrics) ───────────────────────────────── */
|
|
922
|
+
.feat-stat-cell {
|
|
923
|
+
display: flex;
|
|
924
|
+
flex-direction: column;
|
|
925
|
+
align-items: center;
|
|
926
|
+
gap: 1px;
|
|
927
|
+
padding: 8px 4px;
|
|
928
|
+
border-radius: 12px; /* Large rounded: stat cell → 12px */
|
|
929
|
+
background: var(--th-sf-02);
|
|
930
|
+
border: 1px solid var(--th-bd-subtle);
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
/* ── Typing cursor ──────────────────────────────────────────── */
|
|
934
|
+
@keyframes cursor-blink {
|
|
935
|
+
0%, 100% { opacity: 1; }
|
|
936
|
+
50% { opacity: 0; }
|
|
937
|
+
}
|
|
938
|
+
.typing-cursor::after {
|
|
939
|
+
content: '▋';
|
|
940
|
+
animation: cursor-blink 1s step-end infinite;
|
|
941
|
+
color: var(--th-terminal-text);
|
|
942
|
+
margin-left: 2px;
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
|
|
946
|
+
/* ══════════════════════════════════════════════════════════════
|
|
947
|
+
GSAP BUILD ITEMS — performance hint
|
|
948
|
+
══════════════════════════════════════════════════════════════ */
|
|
949
|
+
.feat-build-item {
|
|
950
|
+
will-change: transform, opacity;
|
|
951
|
+
}
|