openship 0.1.1 → 0.1.7
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/dist/index.d.ts +1 -0
- package/dist/index.js +5786 -0
- package/dist/server/index.js +324319 -0
- package/dist/server/migrations/0000_init.sql +666 -0
- package/dist/server/migrations/0001_brief_tomorrow_man.sql +47 -0
- package/dist/server/migrations/0002_funny_dazzler.sql +2 -0
- package/dist/server/migrations/0003_third_killer_shrike.sql +1 -0
- package/dist/server/migrations/0004_session_active_org_not_null.sql +10 -0
- package/dist/server/migrations/0005_warm_amazoness.sql +3 -0
- package/dist/server/migrations/0006_lumpy_joystick.sql +1 -0
- package/dist/server/migrations/0007_outgoing_maginty.sql +2 -0
- package/dist/server/migrations/0008_frozen_cutover.sql +3 -0
- package/dist/server/migrations/0009_credits_billing.sql +142 -0
- package/dist/server/migrations/0010_credit_grant_dedupe.sql +14 -0
- package/dist/server/migrations/0011_remove_credit_ledger.sql +23 -0
- package/dist/server/migrations/0012_smart_deploys_and_git_rollback.sql +81 -0
- package/dist/server/migrations/0013_fix_check_run_rollup_unique.sql +38 -0
- package/dist/server/migrations/0014_default_rollback_git.sql +9 -0
- package/dist/server/migrations/0015_billing_idempotency_grants.sql +41 -0
- package/dist/server/migrations/0016_github_auth_high_findings.sql +30 -0
- package/dist/server/migrations/0017_spooky_rumiko_fujikawa.sql +6 -0
- package/dist/server/migrations/0018_calm_shatterstar.sql +1 -0
- package/dist/server/migrations/0019_rename_workspace_install_to_prepare.sql +1 -0
- package/dist/server/migrations/0020_uneven_the_renegades.sql +13 -0
- package/dist/server/migrations/0021_shiny_firestar.sql +2 -0
- package/dist/server/migrations/0022_version_on_success_backfill.sql +6 -0
- package/dist/server/migrations/0023_productive_gorilla_man.sql +17 -0
- package/dist/server/migrations/0024_sleepy_peter_quill.sql +2 -0
- package/dist/server/migrations/0025_smooth_blue_shield.sql +1 -0
- package/dist/server/migrations/0026_mail_backup_source.sql +11 -0
- package/dist/server/migrations/0027_opposite_anthem.sql +6 -0
- package/dist/server/migrations/0028_stale_rogue.sql +18 -0
- package/dist/server/migrations/0029_bouncy_loners.sql +16 -0
- package/dist/server/migrations/0030_bright_darkstar.sql +6 -0
- package/dist/server/migrations/0031_conscious_catseye.sql +13 -0
- package/dist/server/migrations/0032_wet_mimic.sql +51 -0
- package/dist/server/migrations/0033_eminent_molly_hayes.sql +2 -0
- package/dist/server/migrations/meta/0000_snapshot.json +5110 -0
- package/dist/server/migrations/meta/0001_snapshot.json +5257 -0
- package/dist/server/migrations/meta/0002_snapshot.json +5279 -0
- package/dist/server/migrations/meta/0003_snapshot.json +5286 -0
- package/dist/server/migrations/meta/0004_snapshot.json +5286 -0
- package/dist/server/migrations/meta/0005_snapshot.json +5305 -0
- package/dist/server/migrations/meta/0006_snapshot.json +5311 -0
- package/dist/server/migrations/meta/0007_snapshot.json +5323 -0
- package/dist/server/migrations/meta/0016_snapshot.json +6345 -0
- package/dist/server/migrations/meta/0017_snapshot.json +6383 -0
- package/dist/server/migrations/meta/0018_snapshot.json +6390 -0
- package/dist/server/migrations/meta/0019_snapshot.json +6390 -0
- package/dist/server/migrations/meta/0020_snapshot.json +6497 -0
- package/dist/server/migrations/meta/0021_snapshot.json +6509 -0
- package/dist/server/migrations/meta/0022_snapshot.json +6509 -0
- package/dist/server/migrations/meta/0023_snapshot.json +6629 -0
- package/dist/server/migrations/meta/0024_snapshot.json +6641 -0
- package/dist/server/migrations/meta/0025_snapshot.json +6648 -0
- package/dist/server/migrations/meta/0026_snapshot.json +6750 -0
- package/dist/server/migrations/meta/0027_snapshot.json +6757 -0
- package/dist/server/migrations/meta/0028_snapshot.json +6895 -0
- package/dist/server/migrations/meta/0029_snapshot.json +7028 -0
- package/dist/server/migrations/meta/0030_snapshot.json +7066 -0
- package/dist/server/migrations/meta/0031_snapshot.json +7181 -0
- package/dist/server/migrations/meta/0032_snapshot.json +7570 -0
- package/dist/server/migrations/meta/0033_snapshot.json +7597 -0
- package/dist/server/migrations/meta/_journal.json +244 -0
- package/dist/server/pglite/pglite.data +0 -0
- package/dist/server/pglite/pglite.wasm +0 -0
- package/package.json +31 -33
- package/.env.example +0 -38
- package/.nvmrc +0 -1
- package/.prettierrc +0 -7
- package/CONTRIBUTING.md +0 -90
- package/LICENSE +0 -661
- package/README.md +0 -360
- package/apps/api/.env.example +0 -30
- package/apps/api/Dockerfile +0 -22
- package/apps/api/package.json +0 -41
- package/apps/api/src/app.ts +0 -69
- package/apps/api/src/config/env.ts +0 -113
- package/apps/api/src/config/index.ts +0 -1
- package/apps/api/src/index.ts +0 -8
- package/apps/api/src/lib/auth-mode.ts +0 -42
- package/apps/api/src/lib/auth.ts +0 -105
- package/apps/api/src/lib/cache.ts +0 -128
- package/apps/api/src/lib/cloud-auth-proxy.ts +0 -310
- package/apps/api/src/lib/cloud-client.ts +0 -103
- package/apps/api/src/lib/compose-parser.ts +0 -138
- package/apps/api/src/lib/controller-helpers.ts +0 -90
- package/apps/api/src/lib/email-templates.ts +0 -94
- package/apps/api/src/lib/encryption.ts +0 -102
- package/apps/api/src/lib/local-user.ts +0 -65
- package/apps/api/src/lib/mail.ts +0 -48
- package/apps/api/src/lib/notifications.ts +0 -195
- package/apps/api/src/lib/openship-cloud.ts +0 -101
- package/apps/api/src/lib/resources.ts +0 -96
- package/apps/api/src/lib/screenshots.ts +0 -189
- package/apps/api/src/lib/ssh-manager.ts +0 -369
- package/apps/api/src/lib/ssl-scheduler.ts +0 -109
- package/apps/api/src/lib/stack-detector.ts +0 -708
- package/apps/api/src/lib/system-debug.ts +0 -10
- package/apps/api/src/middleware/auth.ts +0 -60
- package/apps/api/src/middleware/error-handler.ts +0 -41
- package/apps/api/src/middleware/index.ts +0 -5
- package/apps/api/src/middleware/internal-auth.ts +0 -40
- package/apps/api/src/middleware/local-only.ts +0 -20
- package/apps/api/src/middleware/rate-limiter.ts +0 -35
- package/apps/api/src/modules/analytics/analytics.controller.ts +0 -111
- package/apps/api/src/modules/analytics/analytics.routes.ts +0 -29
- package/apps/api/src/modules/analytics/analytics.schema.ts +0 -37
- package/apps/api/src/modules/analytics/analytics.service.ts +0 -264
- package/apps/api/src/modules/auth/auth.routes.ts +0 -237
- package/apps/api/src/modules/billing/billing.controller.ts +0 -60
- package/apps/api/src/modules/billing/billing.routes.ts +0 -34
- package/apps/api/src/modules/billing/billing.schema.ts +0 -9
- package/apps/api/src/modules/billing/billing.service.ts +0 -33
- package/apps/api/src/modules/cloud/cloud.controller.ts +0 -225
- package/apps/api/src/modules/cloud/cloud.routes.ts +0 -40
- package/apps/api/src/modules/deployments/build.service.ts +0 -791
- package/apps/api/src/modules/deployments/deployment-lifecycle.ts +0 -138
- package/apps/api/src/modules/deployments/deployment.controller.ts +0 -343
- package/apps/api/src/modules/deployments/deployment.routes.ts +0 -37
- package/apps/api/src/modules/deployments/deployment.schema.ts +0 -39
- package/apps/api/src/modules/deployments/deployment.service.ts +0 -190
- package/apps/api/src/modules/deployments/preflight.ts +0 -280
- package/apps/api/src/modules/deployments/prepare.service.ts +0 -252
- package/apps/api/src/modules/deployments/session-manager.ts +0 -283
- package/apps/api/src/modules/deployments/ssl.service.ts +0 -73
- package/apps/api/src/modules/domains/domain.controller.ts +0 -73
- package/apps/api/src/modules/domains/domain.routes.ts +0 -24
- package/apps/api/src/modules/domains/domain.schema.ts +0 -35
- package/apps/api/src/modules/domains/domain.service.ts +0 -385
- package/apps/api/src/modules/github/github.auth.ts +0 -397
- package/apps/api/src/modules/github/github.controller.ts +0 -387
- package/apps/api/src/modules/github/github.local-auth.ts +0 -251
- package/apps/api/src/modules/github/github.routes.ts +0 -50
- package/apps/api/src/modules/github/github.schema.ts +0 -52
- package/apps/api/src/modules/github/github.service.ts +0 -592
- package/apps/api/src/modules/github/github.types.ts +0 -158
- package/apps/api/src/modules/github/github.webhook.ts +0 -186
- package/apps/api/src/modules/github/index.ts +0 -16
- package/apps/api/src/modules/health/health.routes.ts +0 -45
- package/apps/api/src/modules/projects/project.controller.ts +0 -498
- package/apps/api/src/modules/projects/project.routes.ts +0 -67
- package/apps/api/src/modules/projects/project.schema.ts +0 -107
- package/apps/api/src/modules/projects/project.service.ts +0 -514
- package/apps/api/src/modules/settings/settings.controller.ts +0 -55
- package/apps/api/src/modules/settings/settings.routes.ts +0 -25
- package/apps/api/src/modules/settings/settings.service.ts +0 -49
- package/apps/api/src/modules/system/filesystem.controller.ts +0 -66
- package/apps/api/src/modules/system/index.ts +0 -1
- package/apps/api/src/modules/system/server-check.controller.ts +0 -475
- package/apps/api/src/modules/system/setup-session.ts +0 -255
- package/apps/api/src/modules/system/setup.controller.ts +0 -128
- package/apps/api/src/modules/system/system.routes.ts +0 -42
- package/apps/api/src/modules/webhooks/webhook.controller.ts +0 -64
- package/apps/api/src/modules/webhooks/webhook.routes.ts +0 -15
- package/apps/api/src/modules/webhooks/webhook.service.ts +0 -52
- package/apps/api/src/modules/webhooks/webhook.types.ts +0 -35
- package/apps/api/tsconfig.json +0 -14
- package/apps/cli/package.json +0 -26
- package/apps/cli/src/commands/deploy.ts +0 -11
- package/apps/cli/src/commands/init.ts +0 -8
- package/apps/cli/src/commands/login.ts +0 -8
- package/apps/cli/src/commands/logs.ts +0 -9
- package/apps/cli/src/index.ts +0 -21
- package/apps/cli/src/lib/api-client.ts +0 -35
- package/apps/cli/tsconfig.json +0 -13
- package/apps/dashboard/Dockerfile +0 -22
- package/apps/dashboard/components.json +0 -20
- package/apps/dashboard/next-env.d.ts +0 -6
- package/apps/dashboard/next.config.mjs +0 -16
- package/apps/dashboard/package.json +0 -40
- package/apps/dashboard/postcss.config.mjs +0 -5
- 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 +0 -19
- package/apps/dashboard/src/app/(auth)/forgot-password/page.tsx +0 -114
- package/apps/dashboard/src/app/(auth)/layout.tsx +0 -21
- package/apps/dashboard/src/app/(auth)/login/page.tsx +0 -220
- package/apps/dashboard/src/app/(auth)/providers.tsx +0 -34
- package/apps/dashboard/src/app/(auth)/register/page.tsx +0 -176
- package/apps/dashboard/src/app/(auth)/reset-password/page.tsx +0 -172
- package/apps/dashboard/src/app/(auth)/verify-email/page.tsx +0 -190
- package/apps/dashboard/src/app/(dashboard)/(deployment)/build/[id]/page.tsx +0 -162
- package/apps/dashboard/src/app/(dashboard)/(deployment)/deploy/[slug]/components/BuildSummary.tsx +0 -166
- package/apps/dashboard/src/app/(dashboard)/(deployment)/deploy/[slug]/components/DnsConfiguration.tsx +0 -119
- package/apps/dashboard/src/app/(dashboard)/(deployment)/deploy/[slug]/components/DomainSettings.tsx +0 -291
- package/apps/dashboard/src/app/(dashboard)/(deployment)/deploy/[slug]/components/Header.tsx +0 -71
- package/apps/dashboard/src/app/(dashboard)/(deployment)/deploy/[slug]/components/Sidebar.tsx +0 -270
- package/apps/dashboard/src/app/(dashboard)/(deployment)/deploy/[slug]/components/SkeletonLoader.tsx +0 -87
- package/apps/dashboard/src/app/(dashboard)/(deployment)/deploy/[slug]/page.tsx +0 -169
- package/apps/dashboard/src/app/(dashboard)/(deployment)/layout.tsx +0 -7
- package/apps/dashboard/src/app/(dashboard)/billing/page.tsx +0 -3
- package/apps/dashboard/src/app/(dashboard)/deployments/components/CommitDetailsModal.tsx +0 -240
- package/apps/dashboard/src/app/(dashboard)/deployments/components/DeploymentCard.tsx +0 -121
- package/apps/dashboard/src/app/(dashboard)/deployments/components/DeploymentHeader.tsx +0 -89
- package/apps/dashboard/src/app/(dashboard)/deployments/components/DeploymentMenu.tsx +0 -182
- package/apps/dashboard/src/app/(dashboard)/deployments/components/DeploymentsContent.tsx +0 -324
- package/apps/dashboard/src/app/(dashboard)/deployments/components/DeploymentsFilters.tsx +0 -99
- package/apps/dashboard/src/app/(dashboard)/deployments/components/DeploymentsList.tsx +0 -31
- package/apps/dashboard/src/app/(dashboard)/deployments/components/EmptyState.tsx +0 -101
- package/apps/dashboard/src/app/(dashboard)/deployments/components/LoadingSkeleton.tsx +0 -57
- package/apps/dashboard/src/app/(dashboard)/deployments/components/ProjectFilter.tsx +0 -109
- package/apps/dashboard/src/app/(dashboard)/deployments/components/index.ts +0 -9
- package/apps/dashboard/src/app/(dashboard)/deployments/page.tsx +0 -14
- package/apps/dashboard/src/app/(dashboard)/deployments/types.ts +0 -44
- package/apps/dashboard/src/app/(dashboard)/deployments/utils.ts +0 -176
- package/apps/dashboard/src/app/(dashboard)/domains/page.tsx +0 -3
- package/apps/dashboard/src/app/(dashboard)/integrations/page.tsx +0 -321
- package/apps/dashboard/src/app/(dashboard)/layout.tsx +0 -27
- package/apps/dashboard/src/app/(dashboard)/library/components/ConnectPrompt.tsx +0 -187
- package/apps/dashboard/src/app/(dashboard)/library/components/LibrarySidebar.tsx +0 -147
- package/apps/dashboard/src/app/(dashboard)/library/components/LoadingSkeleton.tsx +0 -39
- package/apps/dashboard/src/app/(dashboard)/library/components/LocalProjects.tsx +0 -548
- package/apps/dashboard/src/app/(dashboard)/library/components/RepositoryList.tsx +0 -292
- package/apps/dashboard/src/app/(dashboard)/library/components/TemplateGrid.tsx +0 -36
- package/apps/dashboard/src/app/(dashboard)/library/components/UrlImport.tsx +0 -74
- package/apps/dashboard/src/app/(dashboard)/library/page.tsx +0 -121
- package/apps/dashboard/src/app/(dashboard)/library/types.ts +0 -26
- package/apps/dashboard/src/app/(dashboard)/monitoring/page.tsx +0 -3
- package/apps/dashboard/src/app/(dashboard)/page.tsx +0 -485
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/[[...slug]]/layout.tsx +0 -22
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/[[...slug]]/page.tsx +0 -286
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/AdvancedSettings.tsx +0 -235
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/BuildSettings.tsx +0 -174
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/DeleteConfirmationDialog.tsx +0 -45
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/DeletionModal.tsx +0 -95
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/Deployments.tsx +0 -11
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/DomainSettings.tsx +0 -523
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/EnvironmentSettings.tsx +0 -246
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/GeneralSettings.tsx +0 -93
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/GitInfo.tsx +0 -261
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/GitSettings.tsx +0 -391
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/LogsSettings.tsx +0 -133
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/ProjectNotFound.tsx +0 -95
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/ProjectsBottomNavigation.tsx +0 -62
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/ResourceSettings.tsx +0 -333
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/SettingSection.tsx +0 -66
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/SettingsNavigation.tsx +0 -27
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/SleepModeSettings.tsx +0 -134
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/general/ProductionUrl.tsx +0 -25
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/general/ProjectIdentity.tsx +0 -159
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/general/ProjectInfo.tsx +0 -58
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/general/SkeletonLoader.tsx +0 -170
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/general/StatsCards.tsx +0 -33
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/general/TopPaths.tsx +0 -56
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/general/TrafficChart.tsx +0 -157
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/general/index.ts +0 -14
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/logs/LogsActions.tsx +0 -52
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/logs/ServerLogs.tsx +0 -249
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/logs/TerminalLogs.tsx +0 -682
- package/apps/dashboard/src/app/(dashboard)/projects/[id]/components/logs/logs.css +0 -127
- package/apps/dashboard/src/app/(dashboard)/projects/components/DeploymentCard.tsx +0 -73
- package/apps/dashboard/src/app/(dashboard)/projects/components/ProjectCard.tsx +0 -330
- package/apps/dashboard/src/app/(dashboard)/projects/page.tsx +0 -330
- package/apps/dashboard/src/app/(dashboard)/providers.tsx +0 -23
- package/apps/dashboard/src/app/(dashboard)/servers/[serverId]/_components/components-tab.tsx +0 -329
- package/apps/dashboard/src/app/(dashboard)/servers/[serverId]/_components/overview-tab.tsx +0 -229
- package/apps/dashboard/src/app/(dashboard)/servers/[serverId]/_components/terminal-tab.tsx +0 -38
- package/apps/dashboard/src/app/(dashboard)/servers/[serverId]/page.tsx +0 -437
- package/apps/dashboard/src/app/(dashboard)/servers/new/_components/checking-state.tsx +0 -15
- package/apps/dashboard/src/app/(dashboard)/servers/new/_components/choose-mode.tsx +0 -54
- package/apps/dashboard/src/app/(dashboard)/servers/new/_components/component-row.tsx +0 -65
- package/apps/dashboard/src/app/(dashboard)/servers/new/_components/error-banner.tsx +0 -13
- package/apps/dashboard/src/app/(dashboard)/servers/new/_components/installing-panel.tsx +0 -227
- package/apps/dashboard/src/app/(dashboard)/servers/new/_components/results-panel.tsx +0 -90
- package/apps/dashboard/src/app/(dashboard)/servers/new/_components/setup-header.tsx +0 -56
- package/apps/dashboard/src/app/(dashboard)/servers/new/_components/types.ts +0 -13
- package/apps/dashboard/src/app/(dashboard)/servers/new/page.tsx +0 -666
- package/apps/dashboard/src/app/(dashboard)/servers/page.tsx +0 -283
- package/apps/dashboard/src/app/(dashboard)/settings/_components/BuildPreferences.tsx +0 -110
- package/apps/dashboard/src/app/(dashboard)/settings/_components/CloudConnection.tsx +0 -147
- package/apps/dashboard/src/app/(dashboard)/settings/_components/InstanceInfo.tsx +0 -54
- package/apps/dashboard/src/app/(dashboard)/settings/_components/ServerConnection.tsx +0 -407
- package/apps/dashboard/src/app/(dashboard)/settings/_components/SettingsSection.tsx +0 -32
- package/apps/dashboard/src/app/(dashboard)/settings/page.tsx +0 -67
- package/apps/dashboard/src/app/auth/callback/close/page.tsx +0 -23
- package/apps/dashboard/src/app/auth/callback/install/page.tsx +0 -40
- package/apps/dashboard/src/app/authorize/page.tsx +0 -137
- package/apps/dashboard/src/app/globals.css +0 -57
- package/apps/dashboard/src/app/layout.tsx +0 -55
- package/apps/dashboard/src/components/auth-shell.tsx +0 -66
- package/apps/dashboard/src/components/deployments/types.ts +0 -44
- package/apps/dashboard/src/components/global-deployments/index.ts +0 -17
- package/apps/dashboard/src/components/i18n-provider.tsx +0 -100
- package/apps/dashboard/src/components/import-project/BuildSettings.tsx +0 -376
- package/apps/dashboard/src/components/import-project/BuildSkeleton.tsx +0 -161
- package/apps/dashboard/src/components/import-project/BuildTerminal.tsx +0 -358
- package/apps/dashboard/src/components/import-project/ComposeServices.tsx +0 -455
- package/apps/dashboard/src/components/import-project/DeploymentProcessing.tsx +0 -510
- package/apps/dashboard/src/components/import-project/DockerSettings.tsx +0 -64
- package/apps/dashboard/src/components/import-project/EnvironmentVariables.tsx +0 -481
- package/apps/dashboard/src/components/import-project/Frameworks.tsx +0 -90
- package/apps/dashboard/src/components/import-project/ProjectSettings.tsx +0 -160
- package/apps/dashboard/src/components/import-project/types.ts +0 -82
- package/apps/dashboard/src/components/integrations/GithubPermissionModal.tsx +0 -173
- package/apps/dashboard/src/components/language-switcher.tsx +0 -36
- package/apps/dashboard/src/components/logo.tsx +0 -13
- package/apps/dashboard/src/components/network-error-handler.tsx +0 -27
- package/apps/dashboard/src/components/oauth-buttons.tsx +0 -81
- package/apps/dashboard/src/components/overview/ActivityChart.tsx +0 -247
- package/apps/dashboard/src/components/overview/ApiRequestsCard.tsx +0 -111
- package/apps/dashboard/src/components/overview/CreditsCard.tsx +0 -137
- package/apps/dashboard/src/components/overview/DeploymentsChart.tsx +0 -195
- package/apps/dashboard/src/components/overview/EmptyState.tsx +0 -126
- package/apps/dashboard/src/components/overview/LoadingSkeleton.tsx +0 -92
- package/apps/dashboard/src/components/overview/OverviewHeader.tsx +0 -74
- package/apps/dashboard/src/components/overview/OverviewHeroChart.tsx +0 -344
- package/apps/dashboard/src/components/overview/ProjectsCard.tsx +0 -134
- package/apps/dashboard/src/components/overview/QuickLinks.tsx +0 -119
- package/apps/dashboard/src/components/overview/SandboxesCard.tsx +0 -150
- package/apps/dashboard/src/components/overview/StatsGrid.tsx +0 -166
- package/apps/dashboard/src/components/overview/TokenUsageChart.tsx +0 -206
- package/apps/dashboard/src/components/overview/UsageStats.tsx +0 -79
- package/apps/dashboard/src/components/overview/index.ts +0 -30
- package/apps/dashboard/src/components/overview/types.ts +0 -116
- package/apps/dashboard/src/components/page-header.tsx +0 -25
- package/apps/dashboard/src/components/project-settings/ServerSideSwitch.jsx +0 -60
- package/apps/dashboard/src/components/shared/AlertBox.tsx +0 -39
- package/apps/dashboard/src/components/shared/CTASection.tsx +0 -45
- package/apps/dashboard/src/components/shared/ErrorState.tsx +0 -176
- package/apps/dashboard/src/components/shared/FeatureCard.tsx +0 -20
- package/apps/dashboard/src/components/shared/MDXComponents.tsx +0 -24
- package/apps/dashboard/src/components/shared/MachineSettingsModal.tsx +0 -286
- package/apps/dashboard/src/components/shared/Modal.tsx +0 -39
- package/apps/dashboard/src/components/shared/OTPInput.tsx +0 -122
- package/apps/dashboard/src/components/shared/PageHero.tsx +0 -21
- package/apps/dashboard/src/components/shared/PlatformFeatureCard.tsx +0 -27
- package/apps/dashboard/src/components/shared/StatCard.tsx +0 -14
- package/apps/dashboard/src/components/shared/ValueCard.tsx +0 -20
- package/apps/dashboard/src/components/shared/index.ts +0 -8
- package/apps/dashboard/src/components/sidebar.tsx +0 -282
- package/apps/dashboard/src/components/theme-provider.tsx +0 -96
- package/apps/dashboard/src/components/toast.tsx +0 -106
- package/apps/dashboard/src/components/ui/CustomCursor.tsx +0 -107
- package/apps/dashboard/src/components/ui/CustomSelect.tsx +0 -126
- package/apps/dashboard/src/components/ui/DropdownMenu.tsx +0 -174
- package/apps/dashboard/src/components/ui/FileIcon.jsx +0 -59
- package/apps/dashboard/src/components/ui/IconPickerModal.tsx +0 -273
- package/apps/dashboard/src/components/ui/InfoBanner.jsx +0 -39
- package/apps/dashboard/src/components/ui/Logo.tsx +0 -14
- package/apps/dashboard/src/components/ui/Modal.tsx +0 -117
- package/apps/dashboard/src/components/ui/PageContainer.tsx +0 -12
- package/apps/dashboard/src/components/ui/SectionContainer.jsx +0 -7
- package/apps/dashboard/src/components/ui/SlidingToggle.tsx +0 -128
- package/apps/dashboard/src/components/ui/Toast.tsx +0 -29
- package/apps/dashboard/src/components/ui/button.tsx +0 -58
- package/apps/dashboard/src/components/ui/card.tsx +0 -60
- package/apps/dashboard/src/components/ui/input.tsx +0 -20
- package/apps/dashboard/src/components/ui/label.tsx +0 -19
- package/apps/dashboard/src/components/ui/select.tsx +0 -10
- package/apps/dashboard/src/components/ui/textarea.tsx +0 -9
- package/apps/dashboard/src/constants/lang-colors.ts +0 -25
- package/apps/dashboard/src/constants/mock.ts +0 -38
- package/apps/dashboard/src/context/AuthContext.tsx +0 -91
- package/apps/dashboard/src/context/CloudContext.tsx +0 -275
- package/apps/dashboard/src/context/DeploymentContext.tsx +0 -71
- package/apps/dashboard/src/context/GitHubContext.tsx +0 -288
- package/apps/dashboard/src/context/ModalContext.tsx +0 -300
- package/apps/dashboard/src/context/NetworkContext.tsx +0 -32
- package/apps/dashboard/src/context/ProjectSettingsContext.tsx +0 -727
- package/apps/dashboard/src/context/ToastContext.tsx +0 -129
- package/apps/dashboard/src/context/deployment/index.ts +0 -3
- package/apps/dashboard/src/context/deployment/types.ts +0 -183
- package/apps/dashboard/src/context/deployment/useDeploymentBuild.ts +0 -547
- package/apps/dashboard/src/context/deployment/useDeploymentConfig.ts +0 -176
- package/apps/dashboard/src/hooks/useBuildConnection.ts +0 -334
- package/apps/dashboard/src/hooks/useMonitorStream.ts +0 -146
- package/apps/dashboard/src/hooks/useProjectData.ts +0 -110
- package/apps/dashboard/src/hooks/useSSEConnection.ts +0 -465
- package/apps/dashboard/src/hooks/useSSEStream.ts +0 -309
- package/apps/dashboard/src/hooks/useSessions.ts +0 -104
- package/apps/dashboard/src/hooks/useSetupStream.ts +0 -223
- package/apps/dashboard/src/i18n/dictionaries/ar.json +0 -218
- package/apps/dashboard/src/i18n/dictionaries/en.json +0 -218
- package/apps/dashboard/src/i18n/index.ts +0 -16
- package/apps/dashboard/src/lib/api/ai.ts +0 -22
- package/apps/dashboard/src/lib/api/auth.ts +0 -13
- package/apps/dashboard/src/lib/api/client.ts +0 -199
- package/apps/dashboard/src/lib/api/cloud.ts +0 -15
- package/apps/dashboard/src/lib/api/deploy.ts +0 -58
- package/apps/dashboard/src/lib/api/domains.ts +0 -13
- package/apps/dashboard/src/lib/api/endpoints.ts +0 -129
- package/apps/dashboard/src/lib/api/github.ts +0 -31
- package/apps/dashboard/src/lib/api/icons.ts +0 -12
- package/apps/dashboard/src/lib/api/index.ts +0 -41
- package/apps/dashboard/src/lib/api/projects.ts +0 -153
- package/apps/dashboard/src/lib/api/sandbox.ts +0 -14
- package/apps/dashboard/src/lib/api/settings.ts +0 -21
- package/apps/dashboard/src/lib/api/system.ts +0 -159
- package/apps/dashboard/src/lib/auth-client.ts +0 -54
- package/apps/dashboard/src/lib/country.ts +0 -25
- package/apps/dashboard/src/lib/server/api.ts +0 -140
- package/apps/dashboard/src/lib/server/session.ts +0 -103
- package/apps/dashboard/src/lib/sseClient.ts +0 -241
- package/apps/dashboard/src/lib/sseMessageProcessors.ts +0 -323
- package/apps/dashboard/src/lib/utils.ts +0 -6
- package/apps/dashboard/src/proxy.ts +0 -46
- package/apps/dashboard/src/styles/Toast.module.css +0 -92
- package/apps/dashboard/src/styles/fonts.css +0 -93
- package/apps/dashboard/src/styles/theme.css +0 -336
- package/apps/dashboard/src/types/research.ts +0 -42
- package/apps/dashboard/src/utils/SSEParser.js +0 -150
- package/apps/dashboard/src/utils/authWindow.ts +0 -143
- package/apps/dashboard/src/utils/codeTheme.ts +0 -127
- package/apps/dashboard/src/utils/colors.json +0 -2810
- package/apps/dashboard/src/utils/date.ts +0 -121
- package/apps/dashboard/src/utils/deployment.ts +0 -128
- package/apps/dashboard/src/utils/deploymentPhaseDetector.ts +0 -232
- package/apps/dashboard/src/utils/extToLang.js +0 -103
- package/apps/dashboard/src/utils/github.ts +0 -62
- package/apps/dashboard/src/utils/icons.js +0 -46
- package/apps/dashboard/src/utils/repoSlug.ts +0 -110
- package/apps/dashboard/src/utils/research-api.ts +0 -163
- package/apps/dashboard/src/utils/suggestions.ts +0 -84
- package/apps/dashboard/src/utils/theme.js +0 -1
- package/apps/dashboard/src/utils/ui-helpers.tsx +0 -30
- package/apps/dashboard/src/utils/upload.js +0 -12
- package/apps/dashboard/tsconfig.json +0 -33
- package/apps/desktop/forge.config.json +0 -36
- package/apps/desktop/package.json +0 -26
- package/apps/desktop/scripts/dev.mjs +0 -58
- package/apps/desktop/src/main/index.ts +0 -675
- package/apps/desktop/src/main/types/desktop.d.ts +0 -33
- package/apps/desktop/src/preload/index.ts +0 -88
- package/apps/desktop/src/renderer/index.html +0 -462
- package/apps/desktop/src/renderer/onboarding.js +0 -511
- package/apps/desktop/src/renderer/styles.css +0 -1139
- package/apps/desktop/tsconfig.json +0 -17
- package/apps/web/.source/browser.ts +0 -13
- package/apps/web/.source/dynamic.ts +0 -8
- package/apps/web/.source/server.ts +0 -22
- package/apps/web/.source/source.config.mjs +0 -20
- package/apps/web/Dockerfile +0 -22
- package/apps/web/content/blog/how-ai-builds-work.mdx +0 -55
- package/apps/web/content/blog/introducing-openship.mdx +0 -46
- package/apps/web/content/blog/self-hosting-cost-breakdown.mdx +0 -59
- package/apps/web/content/docs/_meta.json +0 -14
- package/apps/web/content/docs/api.mdx +0 -98
- package/apps/web/content/docs/cli.mdx +0 -80
- package/apps/web/content/docs/first-deployment.mdx +0 -56
- package/apps/web/content/docs/index.mdx +0 -27
- package/apps/web/content/docs/installation.mdx +0 -65
- package/apps/web/content/docs/quickstart.mdx +0 -45
- package/apps/web/next-env.d.ts +0 -6
- package/apps/web/next.config.mjs +0 -20
- package/apps/web/package.json +0 -33
- package/apps/web/postcss.config.mjs +0 -5
- 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 +0 -1
- package/apps/web/source.config.ts +0 -17
- package/apps/web/src/app/(marketing)/layout.tsx +0 -9
- package/apps/web/src/app/(marketing)/page.tsx +0 -2
- package/apps/web/src/app/(marketing)/pricing/page.tsx +0 -10
- package/apps/web/src/app/blog/[...slug]/page.tsx +0 -247
- package/apps/web/src/app/blog/blog.css +0 -575
- package/apps/web/src/app/blog/layout.tsx +0 -50
- package/apps/web/src/app/blog/page.tsx +0 -235
- package/apps/web/src/app/docs/[[...slug]]/page.tsx +0 -67
- package/apps/web/src/app/docs/layout.tsx +0 -62
- package/apps/web/src/app/docs/toc-theme.css +0 -71
- package/apps/web/src/app/download/page.tsx +0 -396
- package/apps/web/src/app/globals.css +0 -20
- package/apps/web/src/app/layout.tsx +0 -70
- package/apps/web/src/app/page.tsx +0 -51
- package/apps/web/src/app/robots.ts +0 -15
- package/apps/web/src/app/sitemap.ts +0 -35
- package/apps/web/src/components/blog/share-sidebar.tsx +0 -81
- package/apps/web/src/components/blog/writer-sidebar.tsx +0 -81
- package/apps/web/src/components/landing/ai-native.tsx +0 -169
- package/apps/web/src/components/landing/backups.tsx +0 -139
- package/apps/web/src/components/landing/cdn.tsx +0 -109
- package/apps/web/src/components/landing/coming-soon.tsx +0 -180
- package/apps/web/src/components/landing/dark-section.tsx +0 -166
- package/apps/web/src/components/landing/dashboard.tsx +0 -407
- package/apps/web/src/components/landing/developer-experience.tsx +0 -224
- package/apps/web/src/components/landing/dns-domains.tsx +0 -146
- package/apps/web/src/components/landing/download-button.tsx +0 -151
- package/apps/web/src/components/landing/features/ai-visual.tsx +0 -48
- package/apps/web/src/components/landing/features/cloud-visual.tsx +0 -44
- package/apps/web/src/components/landing/features/git-visual.tsx +0 -61
- package/apps/web/src/components/landing/features/index.tsx +0 -642
- package/apps/web/src/components/landing/features/infra-visual.tsx +0 -69
- package/apps/web/src/components/landing/features/rollback-visual.tsx +0 -42
- package/apps/web/src/components/landing/features/ssl-visual.tsx +0 -41
- package/apps/web/src/components/landing/features/stacks-visual.tsx +0 -54
- package/apps/web/src/components/landing/final-cta.tsx +0 -116
- package/apps/web/src/components/landing/footer.tsx +0 -145
- package/apps/web/src/components/landing/hero.tsx +0 -110
- package/apps/web/src/components/landing/how-it-works.tsx +0 -210
- package/apps/web/src/components/landing/index.ts +0 -21
- package/apps/web/src/components/landing/mail-server.tsx +0 -122
- package/apps/web/src/components/landing/navbar.tsx +0 -199
- package/apps/web/src/components/landing/no-lockin.tsx +0 -185
- package/apps/web/src/components/landing/open-source-cta.tsx +0 -151
- package/apps/web/src/components/landing/portability.tsx +0 -190
- package/apps/web/src/components/landing/pricing.tsx +0 -263
- package/apps/web/src/components/landing/scaling.tsx +0 -209
- package/apps/web/src/components/landing/why-openship.tsx +0 -291
- package/apps/web/src/hooks/use-gsap-scroll.ts +0 -158
- package/apps/web/src/hooks/use-platform.ts +0 -86
- package/apps/web/src/lib/source.ts +0 -12
- package/apps/web/src/styles/fonts.css +0 -84
- package/apps/web/src/styles/landing.css +0 -951
- package/apps/web/src/styles/theme.css +0 -227
- package/apps/web/tsconfig.json +0 -16
- package/bun.lock +0 -3260
- package/docker-compose.yml +0 -90
- package/docs/screenshots/.gitkeep +0 -0
- package/docs/screenshots/screen.png +0 -0
- package/openship.code-workspace +0 -7
- package/packages/adapters/docs/ARCHITECTURE.md +0 -160
- package/packages/adapters/docs/BUILD-PIPELINE.md +0 -171
- package/packages/adapters/docs/CLOUD.md +0 -239
- package/packages/adapters/docs/EXECUTOR.md +0 -174
- package/packages/adapters/docs/LOG-STREAMING.md +0 -175
- package/packages/adapters/docs/SYSTEM.md +0 -191
- package/packages/adapters/package.json +0 -32
- package/packages/adapters/src/index.ts +0 -144
- package/packages/adapters/src/infra/cloud.ts +0 -42
- package/packages/adapters/src/infra/index.ts +0 -9
- package/packages/adapters/src/infra/noop.ts +0 -27
- package/packages/adapters/src/infra/traefik.ts +0 -297
- package/packages/adapters/src/infra/types.ts +0 -36
- package/packages/adapters/src/platform.ts +0 -255
- package/packages/adapters/src/runtime/bare.ts +0 -567
- package/packages/adapters/src/runtime/build-pipeline.ts +0 -237
- package/packages/adapters/src/runtime/cloud.ts +0 -791
- package/packages/adapters/src/runtime/deploy-pipeline.ts +0 -146
- package/packages/adapters/src/runtime/docker.ts +0 -443
- package/packages/adapters/src/runtime/index.ts +0 -69
- package/packages/adapters/src/runtime/local-build.ts +0 -112
- package/packages/adapters/src/runtime/transfer.ts +0 -82
- package/packages/adapters/src/runtime/types.ts +0 -138
- package/packages/adapters/src/system/catalog.ts +0 -188
- package/packages/adapters/src/system/checks.ts +0 -228
- package/packages/adapters/src/system/components.ts +0 -45
- package/packages/adapters/src/system/debug.ts +0 -18
- package/packages/adapters/src/system/environment.ts +0 -168
- package/packages/adapters/src/system/errors.ts +0 -34
- package/packages/adapters/src/system/executor.ts +0 -600
- package/packages/adapters/src/system/index.ts +0 -58
- package/packages/adapters/src/system/installer.ts +0 -310
- package/packages/adapters/src/system/setup.ts +0 -442
- package/packages/adapters/src/system/state.ts +0 -96
- package/packages/adapters/src/system/types.ts +0 -116
- package/packages/adapters/src/toolchain/catalog.ts +0 -439
- package/packages/adapters/src/toolchain/checks.ts +0 -181
- package/packages/adapters/src/toolchain/index.ts +0 -38
- package/packages/adapters/src/toolchain/installer.ts +0 -189
- package/packages/adapters/src/toolchain/types.ts +0 -84
- package/packages/adapters/src/types.ts +0 -277
- package/packages/adapters/tsconfig.json +0 -11
- package/packages/core/package.json +0 -27
- package/packages/core/src/constants.ts +0 -71
- package/packages/core/src/errors.ts +0 -49
- package/packages/core/src/index.ts +0 -6
- package/packages/core/src/stacks.ts +0 -778
- package/packages/core/src/system.ts +0 -111
- package/packages/core/src/types.ts +0 -68
- package/packages/core/src/utils.ts +0 -43
- package/packages/core/tsconfig.json +0 -11
- package/packages/db/drizzle/0000_init.sql +0 -231
- package/packages/db/drizzle/0001_add_server_name.sql +0 -1
- package/packages/db/drizzle/meta/_journal.json +0 -20
- package/packages/db/drizzle.config.ts +0 -10
- package/packages/db/package.json +0 -44
- package/packages/db/src/client.ts +0 -119
- package/packages/db/src/index.ts +0 -60
- package/packages/db/src/repos/account.repo.ts +0 -92
- package/packages/db/src/repos/deployment.repo.ts +0 -168
- package/packages/db/src/repos/domain.repo.ts +0 -102
- package/packages/db/src/repos/git-installation.repo.ts +0 -95
- package/packages/db/src/repos/index.ts +0 -43
- package/packages/db/src/repos/instance-settings.repo.ts +0 -43
- package/packages/db/src/repos/project.repo.ts +0 -159
- package/packages/db/src/repos/session.repo.ts +0 -82
- package/packages/db/src/repos/settings.repo.ts +0 -51
- package/packages/db/src/repos/user.repo.ts +0 -94
- package/packages/db/src/schema/auth.ts +0 -56
- package/packages/db/src/schema/deployment.ts +0 -87
- package/packages/db/src/schema/domain.ts +0 -46
- package/packages/db/src/schema/github.ts +0 -24
- package/packages/db/src/schema/index.ts +0 -6
- package/packages/db/src/schema/project.ts +0 -117
- package/packages/db/src/schema/settings.ts +0 -103
- package/packages/db/tsconfig.json +0 -11
- package/packages/ui/package.json +0 -38
- package/packages/ui/src/components/badge.tsx +0 -29
- package/packages/ui/src/components/button.tsx +0 -44
- package/packages/ui/src/components/card.tsx +0 -26
- package/packages/ui/src/components/status-dot.tsx +0 -25
- package/packages/ui/src/globals.css +0 -18
- package/packages/ui/src/index.tsx +0 -8
- package/packages/ui/src/lib/cn.ts +0 -7
- package/packages/ui/tsconfig.json +0 -14
- package/pnpm-workspace.yaml +0 -3
- package/tsconfig.base.json +0 -18
- package/turbo.json +0 -36
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
const STEPS = [
|
|
2
|
-
{
|
|
3
|
-
step: "1",
|
|
4
|
-
title: "Add your domain",
|
|
5
|
-
desc: "Type it in — apex, subdomain, or full wildcard. app.example.com, *.example.com, you name it.",
|
|
6
|
-
icon: (
|
|
7
|
-
<svg className="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor" strokeWidth={1.5}>
|
|
8
|
-
<path strokeLinecap="round" strokeLinejoin="round" d="M12 21a9.004 9.004 0 008.716-6.747M12 21a9.004 9.004 0 01-8.716-6.747M12 21c2.485 0 4.5-4.03 4.5-9S14.485 3 12 3m0 18c-2.485 0-4.5-4.03-4.5-9S9.515 3 12 3m0 0a8.997 8.997 0 017.843 4.582M12 3a8.997 8.997 0 00-7.843 4.582m15.686 0A11.953 11.953 0 0112 10.5c-2.998 0-5.74-1.1-7.843-2.918m15.686 0A8.959 8.959 0 0121 12c0 .778-.099 1.533-.284 2.253m0 0A17.919 17.919 0 0112 16.5c-3.162 0-6.133-.815-8.716-2.247m0 0A9.015 9.015 0 013 12c0-1.605.42-3.113 1.157-4.418" />
|
|
9
|
-
</svg>
|
|
10
|
-
),
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
step: "2",
|
|
14
|
-
title: "Copy DNS records",
|
|
15
|
-
desc: "One A record, one wildcard CNAME. We show you exactly what to paste — works with every DNS provider.",
|
|
16
|
-
icon: (
|
|
17
|
-
<svg className="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor" strokeWidth={1.5}>
|
|
18
|
-
<path strokeLinecap="round" strokeLinejoin="round" d="M15.666 3.888A2.25 2.25 0 0013.5 2.25h-3c-1.03 0-1.9.693-2.166 1.638m7.332 0c.055.194.084.4.084.612v0a.75.75 0 01-.75.75H9.75a.75.75 0 01-.75-.75v0c0-.212.03-.418.084-.612m7.332 0c.646.049 1.288.11 1.927.184 1.1.128 1.907 1.077 1.907 2.185V19.5a2.25 2.25 0 01-2.25 2.25H6.75A2.25 2.25 0 014.5 19.5V6.257c0-1.108.806-2.057 1.907-2.185a48.208 48.208 0 011.927-.184" />
|
|
19
|
-
</svg>
|
|
20
|
-
),
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
step: "3",
|
|
24
|
-
title: "Wildcard SSL — done",
|
|
25
|
-
desc: "Wildcard certificates are issued and renewed automatically. Every subdomain is covered — *.yoursite.com, all HTTPS, zero config.",
|
|
26
|
-
icon: (
|
|
27
|
-
<svg className="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor" strokeWidth={1.5}>
|
|
28
|
-
<path strokeLinecap="round" strokeLinejoin="round" d="M9 12.75L11.25 15 15 9.75m-3-7.036A11.959 11.959 0 013.598 6 11.99 11.99 0 003 9.749c0 5.592 3.824 10.29 9 11.623 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.571-.598-3.751h-.152c-3.196 0-6.1-1.248-8.25-3.285z" />
|
|
29
|
-
</svg>
|
|
30
|
-
),
|
|
31
|
-
},
|
|
32
|
-
];
|
|
33
|
-
|
|
34
|
-
const HIGHLIGHTS = [
|
|
35
|
-
"Wildcard subdomains",
|
|
36
|
-
"Apex domains",
|
|
37
|
-
"Auto-renew SSL",
|
|
38
|
-
"Unlimited domains",
|
|
39
|
-
"No Certbot",
|
|
40
|
-
"No NGINX config",
|
|
41
|
-
];
|
|
42
|
-
|
|
43
|
-
export function DnsDomains() {
|
|
44
|
-
return (
|
|
45
|
-
<section className="relative py-28 sm:py-36">
|
|
46
|
-
<div className="section-divider mx-auto mb-28 max-w-4xl sm:mb-36" />
|
|
47
|
-
|
|
48
|
-
<div className="mx-auto max-w-7xl px-6">
|
|
49
|
-
{/* Header */}
|
|
50
|
-
<div className="mx-auto max-w-3xl text-center">
|
|
51
|
-
<div className="mb-7 inline-flex items-center gap-2 rounded-full border border-[var(--th-on-06)] bg-white/60 px-4 py-1.5 shadow-[0_1px_3px_rgba(0,0,0,.04)] backdrop-blur-sm">
|
|
52
|
-
<span className="text-[12px] font-medium tracking-[0.02em] th-text-secondary">
|
|
53
|
-
DNS & domains
|
|
54
|
-
</span>
|
|
55
|
-
</div>
|
|
56
|
-
<h2>
|
|
57
|
-
<span className="block text-[clamp(2.75rem,6vw,4.75rem)] font-semibold leading-[1.06] tracking-[-0.035em] th-text-heading">
|
|
58
|
-
Domains & wildcards.
|
|
59
|
-
</span>
|
|
60
|
-
<span
|
|
61
|
-
className="block text-[clamp(2.75rem,6vw,4.75rem)] font-semibold leading-[1.06] tracking-[-0.035em]"
|
|
62
|
-
style={{ color: "var(--th-on-40)" }}
|
|
63
|
-
>
|
|
64
|
-
SSL included for all.
|
|
65
|
-
</span>
|
|
66
|
-
</h2>
|
|
67
|
-
<p className="mx-auto mt-6 max-w-xl text-[17px] leading-[1.65] th-text-body">
|
|
68
|
-
Connect any domain — including full <strong className="th-text-heading">wildcard subdomains</strong> like{" "}
|
|
69
|
-
<code className="rounded-md border border-[var(--th-card-bd)] bg-[var(--th-sf-02)] px-1.5 py-0.5 font-mono text-[14px] th-text-heading">*.yoursite.com</code>.
|
|
70
|
-
Certificates auto-provision and auto-renew. Three steps, zero config.
|
|
71
|
-
</p>
|
|
72
|
-
|
|
73
|
-
{/* Highlight pills */}
|
|
74
|
-
<div className="mx-auto mt-5 flex flex-wrap justify-center gap-2">
|
|
75
|
-
{HIGHLIGHTS.map((h) => (
|
|
76
|
-
<span
|
|
77
|
-
key={h}
|
|
78
|
-
className="inline-flex items-center gap-1.5 rounded-full border border-[var(--th-on-06)] bg-white/60 px-3 py-1 text-[12px] font-medium backdrop-blur-sm th-text-secondary"
|
|
79
|
-
>
|
|
80
|
-
<svg className="h-3 w-3" style={{ color: "var(--th-clr-sea)" }} fill="none" viewBox="0 0 24 24" stroke="currentColor" strokeWidth={2.5}>
|
|
81
|
-
<path strokeLinecap="round" strokeLinejoin="round" d="M4.5 12.75l6 6 9-13.5" />
|
|
82
|
-
</svg>
|
|
83
|
-
{h}
|
|
84
|
-
</span>
|
|
85
|
-
))}
|
|
86
|
-
</div>
|
|
87
|
-
</div>
|
|
88
|
-
|
|
89
|
-
{/* Steps — horizontal on desktop */}
|
|
90
|
-
<div className="mx-auto mt-16 grid max-w-4xl gap-6 md:grid-cols-3">
|
|
91
|
-
{STEPS.map((s) => (
|
|
92
|
-
<div
|
|
93
|
-
key={s.step}
|
|
94
|
-
className="group relative rounded-2xl border border-[var(--th-card-bd)] bg-[var(--th-card-bg)] p-6 shadow-[var(--th-card-shadow)] transition-colors hover:border-[var(--th-card-bd-hover)]"
|
|
95
|
-
>
|
|
96
|
-
{/* Step number */}
|
|
97
|
-
<div className="mb-4 flex h-10 w-10 items-center justify-center rounded-xl" style={{ background: "var(--th-clr-sea-bg)", color: "var(--th-clr-sea)" }}>
|
|
98
|
-
{s.icon}
|
|
99
|
-
</div>
|
|
100
|
-
<p className="mb-1 text-[11px] font-semibold uppercase tracking-[0.1em] th-text-muted">
|
|
101
|
-
Step {s.step}
|
|
102
|
-
</p>
|
|
103
|
-
<h3 className="text-[16px] font-semibold th-text-heading">
|
|
104
|
-
{s.title}
|
|
105
|
-
</h3>
|
|
106
|
-
<p className="mt-1.5 text-[13px] leading-[1.6] th-text-body">
|
|
107
|
-
{s.desc}
|
|
108
|
-
</p>
|
|
109
|
-
</div>
|
|
110
|
-
))}
|
|
111
|
-
</div>
|
|
112
|
-
|
|
113
|
-
{/* Visual example DNS */}
|
|
114
|
-
<div className="mx-auto mt-10 max-w-4xl overflow-hidden rounded-xl border border-[var(--th-card-bd)] bg-[var(--th-card-bg)] font-mono text-[13px] shadow-[var(--th-card-shadow)]">
|
|
115
|
-
<div className="flex items-center justify-between border-b border-[var(--th-card-bd)] px-5 py-2.5">
|
|
116
|
-
<span className="text-[11px] font-semibold uppercase tracking-[0.1em] th-text-muted">Your DNS provider</span>
|
|
117
|
-
<span className="flex items-center gap-1.5 rounded-full px-2.5 py-0.5 text-[10px] font-bold uppercase" style={{ background: "var(--th-clr-sea-wash)", color: "var(--th-clr-sea)" }}>Wildcard ready</span>
|
|
118
|
-
</div>
|
|
119
|
-
<div className="divide-y divide-[var(--th-card-bd)]">
|
|
120
|
-
<div className="grid grid-cols-[56px_1fr_1fr] items-center gap-4 px-5 py-3">
|
|
121
|
-
<span className="font-semibold" style={{ color: "var(--th-clr-sea)" }}>A</span>
|
|
122
|
-
<span className="th-text-heading">@</span>
|
|
123
|
-
<span className="th-text-muted">→ 95.216.xx.xx</span>
|
|
124
|
-
</div>
|
|
125
|
-
<div className="grid grid-cols-[56px_1fr_1fr] items-center gap-4 px-5 py-3" style={{ background: "var(--th-sf-01)" }}>
|
|
126
|
-
<span className="font-semibold" style={{ color: "var(--th-clr-sea)" }}>CNAME</span>
|
|
127
|
-
<span className="th-text-heading">*</span>
|
|
128
|
-
<span className="th-text-muted">→ proxy.openship.app</span>
|
|
129
|
-
</div>
|
|
130
|
-
<div className="grid grid-cols-[56px_1fr_1fr] items-center gap-4 px-5 py-3">
|
|
131
|
-
<span className="font-semibold" style={{ color: "var(--th-clr-plum)" }}>TXT</span>
|
|
132
|
-
<span className="th-text-heading">_acme-challenge</span>
|
|
133
|
-
<span className="th-text-muted">→ auto-managed by Openship</span>
|
|
134
|
-
</div>
|
|
135
|
-
</div>
|
|
136
|
-
<div className="border-t border-[var(--th-card-bd)] bg-[var(--th-sf-01)] px-5 py-2.5 text-[12px] th-text-muted">
|
|
137
|
-
<svg className="mr-1.5 inline h-3.5 w-3.5" style={{ color: "var(--th-clr-sea)" }} fill="none" viewBox="0 0 24 24" stroke="currentColor" strokeWidth={2}>
|
|
138
|
-
<path strokeLinecap="round" strokeLinejoin="round" d="M16.5 10.5V6.75a4.5 4.5 0 10-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 002.25-2.25v-6.75a2.25 2.25 0 00-2.25-2.25H6.75a2.25 2.25 0 00-2.25 2.25v6.75a2.25 2.25 0 002.25 2.25z" />
|
|
139
|
-
</svg>
|
|
140
|
-
Wildcard cert covers <strong className="th-text-heading">*.yoursite.com</strong> — every subdomain is HTTPS automatically
|
|
141
|
-
</div>
|
|
142
|
-
</div>
|
|
143
|
-
</div>
|
|
144
|
-
</section>
|
|
145
|
-
);
|
|
146
|
-
}
|
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
|
-
import { useEffect, useRef, useState } from "react";
|
|
4
|
-
import { usePlatform, type Platform } from "@/hooks/use-platform";
|
|
5
|
-
|
|
6
|
-
/* ── Platform icons ── */
|
|
7
|
-
function AppleIcon({ className }: { className?: string }) {
|
|
8
|
-
return (
|
|
9
|
-
<svg className={className} fill="currentColor" viewBox="0 0 24 24">
|
|
10
|
-
<path d="M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.8-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11z" />
|
|
11
|
-
</svg>
|
|
12
|
-
);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
function WindowsIcon({ className }: { className?: string }) {
|
|
16
|
-
return (
|
|
17
|
-
<svg className={className} fill="currentColor" viewBox="0 0 24 24">
|
|
18
|
-
<path d="M0 3.449L9.75 2.1v9.451H0m10.949-9.602L24 0v11.4H10.949M0 12.6h9.75v9.451L0 20.699M10.949 12.6H24V24l-12.9-1.801" />
|
|
19
|
-
</svg>
|
|
20
|
-
);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
function LinuxIcon({ className }: { className?: string }) {
|
|
24
|
-
return (
|
|
25
|
-
<svg className={className} fill="currentColor" viewBox="0 0 24 24">
|
|
26
|
-
<path d="M12.504 0c-.155 0-.315.008-.48.021-4.226.333-3.105 4.807-3.17 6.298-.076 1.092-.3 1.953-1.05 3.02-.885 1.051-2.127 2.75-2.716 4.521-.278.832-.41 1.684-.287 2.489a.424.424 0 00-.11.135c-.26.268-.45.6-.663.839-.199.199-.485.267-.797.4-.313.136-.658.269-.864.68-.09.189-.136.394-.132.602 0 .199.027.4.055.536.058.399.116.728.04.97-.249.68-.28 1.145-.106 1.484.174.334.535.47.94.601.81.2 1.91.135 2.774.6.926.466 1.866.67 2.616.47.526-.116.97-.464 1.208-.946.587-.003 1.23-.269 2.26-.334.699-.058 1.574.267 2.577.2.025.134.063.198.114.333l.003.003c.391.778 1.113 1.368 1.884 1.43.868.07 1.678-.467 1.975-1.484.1-.334.204-.669.305-1.004.2-.668.398-1.335.554-2 .156-.668.297-1.338.378-2.004a2.08 2.08 0 00-.193-1.2c.4-.748.757-1.336.914-2.007.199-.869.099-1.87-.399-3.003-.564-1.332-1.272-2.8-1.743-4.287-.216-.668-.39-1.314-.428-2.008-.05-.87.154-1.868.473-2.865.32-.998.721-2.093.66-3.202C18.108.784 16.985 0 15.595 0h-.003c-.578.002-1.129.2-1.597.468a4.534 4.534 0 00-1.482 1.196c-.012.016-.018.019-.03.019z" />
|
|
27
|
-
</svg>
|
|
28
|
-
);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
function DownloadIcon({ className }: { className?: string }) {
|
|
32
|
-
return (
|
|
33
|
-
<svg className={className} fill="none" viewBox="0 0 24 24" stroke="currentColor" strokeWidth={2}>
|
|
34
|
-
<path strokeLinecap="round" strokeLinejoin="round" d="M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4" />
|
|
35
|
-
</svg>
|
|
36
|
-
);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
function ChevronIcon({ className }: { className?: string }) {
|
|
40
|
-
return (
|
|
41
|
-
<svg className={className} fill="none" viewBox="0 0 24 24" stroke="currentColor" strokeWidth={2.5}>
|
|
42
|
-
<path strokeLinecap="round" strokeLinejoin="round" d="M19.5 8.25l-7.5 7.5-7.5-7.5" />
|
|
43
|
-
</svg>
|
|
44
|
-
);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
const ICON_MAP: Record<string, React.ComponentType<{ className?: string }>> = {
|
|
48
|
-
apple: AppleIcon,
|
|
49
|
-
windows: WindowsIcon,
|
|
50
|
-
linux: LinuxIcon,
|
|
51
|
-
download: DownloadIcon,
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
/* ── Dropdown items ── */
|
|
55
|
-
const DROPDOWN_PLATFORMS: { platform: Platform; label: string; icon: string }[] = [
|
|
56
|
-
{ platform: "mac-arm", label: "Mac (Apple Silicon)", icon: "apple" },
|
|
57
|
-
{ platform: "mac-intel", label: "Mac (Intel)", icon: "apple" },
|
|
58
|
-
{ platform: "windows", label: "Windows", icon: "windows" },
|
|
59
|
-
{ platform: "linux", label: "Linux", icon: "linux" },
|
|
60
|
-
];
|
|
61
|
-
|
|
62
|
-
/* ── Props ── */
|
|
63
|
-
interface DownloadButtonProps {
|
|
64
|
-
/** Visual variant */
|
|
65
|
-
variant?: "primary" | "ghost";
|
|
66
|
-
/** Additional classes */
|
|
67
|
-
className?: string;
|
|
68
|
-
/** Size */
|
|
69
|
-
size?: "default" | "large";
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export function DownloadButton({
|
|
73
|
-
variant = "primary",
|
|
74
|
-
className = "",
|
|
75
|
-
size = "default",
|
|
76
|
-
}: DownloadButtonProps) {
|
|
77
|
-
const { downloadUrl, icon, platform, getDownloadUrl } = usePlatform();
|
|
78
|
-
const Icon = ICON_MAP[icon];
|
|
79
|
-
const [open, setOpen] = useState(false);
|
|
80
|
-
const ref = useRef<HTMLDivElement>(null);
|
|
81
|
-
|
|
82
|
-
// Close on outside click
|
|
83
|
-
useEffect(() => {
|
|
84
|
-
if (!open) return;
|
|
85
|
-
const handle = (e: MouseEvent) => {
|
|
86
|
-
if (ref.current && !ref.current.contains(e.target as Node)) setOpen(false);
|
|
87
|
-
};
|
|
88
|
-
document.addEventListener("mousedown", handle);
|
|
89
|
-
return () => document.removeEventListener("mousedown", handle);
|
|
90
|
-
}, [open]);
|
|
91
|
-
|
|
92
|
-
const sizeClasses =
|
|
93
|
-
size === "large" ? "py-3 text-[15px]" : "py-2.5 text-[14px]";
|
|
94
|
-
|
|
95
|
-
const btnBase =
|
|
96
|
-
variant === "primary"
|
|
97
|
-
? `th-btn rounded-full font-medium ${sizeClasses}`
|
|
98
|
-
: `th-btn-ghost rounded-full font-medium ${sizeClasses}`;
|
|
99
|
-
|
|
100
|
-
return (
|
|
101
|
-
<div ref={ref} className={`relative inline-flex ${className}`}>
|
|
102
|
-
{/* Main download link */}
|
|
103
|
-
<a
|
|
104
|
-
href={downloadUrl}
|
|
105
|
-
className={`${btnBase} pl-5 pr-3 flex items-center gap-2 rounded-r-none border-r-0`}
|
|
106
|
-
>
|
|
107
|
-
<Icon className="h-[20px] w-[20px]" />
|
|
108
|
-
<span>Download</span>
|
|
109
|
-
</a>
|
|
110
|
-
|
|
111
|
-
{/* Dropdown toggle */}
|
|
112
|
-
<button
|
|
113
|
-
type="button"
|
|
114
|
-
onClick={() => setOpen((v) => !v)}
|
|
115
|
-
className={`${btnBase} px-2 rounded-l-none border-l border-l-white/20 flex items-center`}
|
|
116
|
-
aria-label="Other platforms"
|
|
117
|
-
>
|
|
118
|
-
<ChevronIcon className={`h-3.5 w-3.5 transition-transform mr-2 ${open ? "rotate-180" : ""}`} />
|
|
119
|
-
</button>
|
|
120
|
-
|
|
121
|
-
{/* Dropdown menu */}
|
|
122
|
-
{open && (
|
|
123
|
-
<div className="absolute left-0 right-0 top-[calc(100%+6px)] z-[9999] min-w-[200px] overflow-hidden rounded-xl border border-[var(--th-card-bd)] bg-[var(--th-card-bg)] shadow-[0_12px_40px_rgba(0,0,0,.12)]">
|
|
124
|
-
<p className="px-3.5 pt-3 pb-1.5 text-[11px] font-semibold uppercase tracking-[0.08em] th-text-muted">
|
|
125
|
-
All platforms
|
|
126
|
-
</p>
|
|
127
|
-
{DROPDOWN_PLATFORMS.map((p) => {
|
|
128
|
-
const PIcon = ICON_MAP[p.icon];
|
|
129
|
-
const isCurrent = p.platform === platform;
|
|
130
|
-
return (
|
|
131
|
-
<a
|
|
132
|
-
key={p.platform}
|
|
133
|
-
href={getDownloadUrl(p.platform)}
|
|
134
|
-
className="flex items-center gap-2.5 px-3.5 py-2.5 text-[13px] font-medium transition-colors hover:bg-[var(--th-sf-02)] th-text-heading"
|
|
135
|
-
onClick={() => setOpen(false)}
|
|
136
|
-
>
|
|
137
|
-
<PIcon className="h-4 w-4 th-text-secondary" />
|
|
138
|
-
{p.label}
|
|
139
|
-
{isCurrent && (
|
|
140
|
-
<span className="ml-auto rounded-full bg-[var(--th-accent-violet)] px-2 py-0.5 text-[10px] font-bold text-white">
|
|
141
|
-
Detected
|
|
142
|
-
</span>
|
|
143
|
-
)}
|
|
144
|
-
</a>
|
|
145
|
-
);
|
|
146
|
-
})}
|
|
147
|
-
</div>
|
|
148
|
-
)}
|
|
149
|
-
</div>
|
|
150
|
-
);
|
|
151
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
export function AiVisual() {
|
|
2
|
-
return (
|
|
3
|
-
<svg viewBox="0 0 520 260" fill="none" className="w-full h-auto">
|
|
4
|
-
{/* Terminal window */}
|
|
5
|
-
<rect x="20" y="32" width="210" height="148" rx="12"
|
|
6
|
-
fill="currentColor" fillOpacity={0.05} stroke="currentColor" strokeWidth="1.2" strokeOpacity={0.2} />
|
|
7
|
-
{/* Title bar */}
|
|
8
|
-
<circle cx="38" cy="50" r="3.5" fill="currentColor" fillOpacity={0.2} />
|
|
9
|
-
<circle cx="50" cy="50" r="3.5" fill="currentColor" fillOpacity={0.2} />
|
|
10
|
-
<circle cx="62" cy="50" r="3.5" fill="currentColor" fillOpacity={0.2} />
|
|
11
|
-
<line x1="20" y1="62" x2="230" y2="62" stroke="currentColor" strokeWidth=".5" strokeOpacity={0.12} />
|
|
12
|
-
{/* Terminal lines */}
|
|
13
|
-
<text x="34" y="82" fontSize="11.5" fontFamily="monospace" fill="currentColor" fillOpacity={0.35}>$</text>
|
|
14
|
-
<text x="46" y="82" fontSize="11.5" fontFamily="monospace" fill="currentColor" fillOpacity={0.65}>openship deploy</text>
|
|
15
|
-
<text x="34" y="102" fontSize="11.5" fontFamily="monospace" fill="currentColor" fillOpacity={0.75}>✕ Build failed</text>
|
|
16
|
-
<text x="34" y="120" fontSize="10" fontFamily="monospace" fill="currentColor" fillOpacity={0.35}>Module not found</text>
|
|
17
|
-
<text x="34" y="136" fontSize="10" fontFamily="monospace" fill="currentColor" fillOpacity={0.3}>src/index.ts:14</text>
|
|
18
|
-
<text x="34" y="152" fontSize="10" fontFamily="monospace" fill="currentColor" fillOpacity={0.25}>ERR_MODULE_NOT_FOUND</text>
|
|
19
|
-
|
|
20
|
-
{/* Arrow: terminal → AI */}
|
|
21
|
-
<line x1="236" y1="106" x2="280" y2="106" stroke="currentColor" strokeWidth="1.5" strokeOpacity={0.25} strokeDasharray="4 4" />
|
|
22
|
-
<path d="M277 101 L286 106 L277 111" fill="none" stroke="currentColor" strokeWidth="1.5" strokeOpacity={0.35} />
|
|
23
|
-
|
|
24
|
-
{/* AI Agent block */}
|
|
25
|
-
<rect x="292" y="32" width="195" height="148" rx="12"
|
|
26
|
-
fill="currentColor" fillOpacity={0.04} stroke="currentColor" strokeWidth="1.2" strokeOpacity={0.25} />
|
|
27
|
-
{/* Sparkles */}
|
|
28
|
-
<path d="M390 60 L393 70 L403 73 L393 76 L390 86 L387 76 L377 73 L387 70 Z" fill="currentColor" fillOpacity={0.45} />
|
|
29
|
-
<path d="M340 50 L342 56 L348 58 L342 60 L340 66 L338 60 L332 58 L338 56 Z" fill="currentColor" fillOpacity={0.3} />
|
|
30
|
-
<path d="M440 48 L441.5 52 L446 54 L441.5 56 L440 60 L438.5 56 L434 54 L438.5 52 Z" fill="currentColor" fillOpacity={0.2} />
|
|
31
|
-
<text x="390" y="110" textAnchor="middle" fontSize="15" fontWeight="600" fill="currentColor" fillOpacity={0.85}>AI Agent</text>
|
|
32
|
-
<text x="390" y="128" textAnchor="middle" fontSize="11" fill="currentColor" fillOpacity={0.4}>Analyzing error…</text>
|
|
33
|
-
{/* Fix result */}
|
|
34
|
-
<line x1="310" y1="146" x2="470" y2="146" stroke="currentColor" strokeWidth=".5" strokeOpacity={0.12} />
|
|
35
|
-
<circle cx="320" cy="160" r="3" fill="currentColor" fillOpacity={0.4} />
|
|
36
|
-
<text x="330" y="164" fontSize="10" fontFamily="monospace" fill="currentColor" fillOpacity={0.45}>fix applied ✓</text>
|
|
37
|
-
|
|
38
|
-
{/* Bottom flow: Error → Diagnose → Fixed */}
|
|
39
|
-
<text x="125" y="224" textAnchor="middle" fontSize="12" fontWeight="500" fill="currentColor" fillOpacity={0.5}>Error</text>
|
|
40
|
-
<line x1="162" y1="220" x2="218" y2="220" stroke="currentColor" strokeWidth="1" strokeOpacity={0.2} />
|
|
41
|
-
<path d="M215 216 L223 220 L215 224" fill="none" stroke="currentColor" strokeWidth="1" strokeOpacity={0.3} />
|
|
42
|
-
<text x="260" y="224" textAnchor="middle" fontSize="12" fontWeight="500" fill="currentColor" fillOpacity={0.5}>Diagnose</text>
|
|
43
|
-
<line x1="300" y1="220" x2="356" y2="220" stroke="currentColor" strokeWidth="1" strokeOpacity={0.2} />
|
|
44
|
-
<path d="M353 216 L361 220 L353 224" fill="none" stroke="currentColor" strokeWidth="1" strokeOpacity={0.3} />
|
|
45
|
-
<text x="395" y="224" textAnchor="middle" fontSize="12" fontWeight="600" fill="currentColor" fillOpacity={0.7}>Fixed ✓</text>
|
|
46
|
-
</svg>
|
|
47
|
-
);
|
|
48
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
export function CloudVisual() {
|
|
2
|
-
return (
|
|
3
|
-
<svg viewBox="0 0 540 260" fill="none" className="w-full h-auto">
|
|
4
|
-
{/* ── Left: Cloud shape ── */}
|
|
5
|
-
<path
|
|
6
|
-
d="M48 158 C46 158 30 100 92 82 C112 34 182 26 204 68 C236 44 280 66 276 112 C310 108 324 140 304 166 L48 166 Z"
|
|
7
|
-
fill="currentColor" fillOpacity=".05" stroke="currentColor" strokeWidth="1.8" strokeOpacity=".4" strokeLinejoin="round"
|
|
8
|
-
/>
|
|
9
|
-
<circle cx="118" cy="108" r="5" fill="currentColor" fillOpacity=".08" stroke="currentColor" strokeWidth="1.2" strokeOpacity=".3" />
|
|
10
|
-
<circle cx="118" cy="108" r="2" fill="currentColor" fillOpacity=".65" />
|
|
11
|
-
<circle cx="176" cy="94" r="5" fill="currentColor" fillOpacity=".08" stroke="currentColor" strokeWidth="1.2" strokeOpacity=".3" />
|
|
12
|
-
<circle cx="176" cy="94" r="2" fill="currentColor" fillOpacity=".65" />
|
|
13
|
-
<circle cx="232" cy="106" r="5" fill="currentColor" fillOpacity=".08" stroke="currentColor" strokeWidth="1.2" strokeOpacity=".3" />
|
|
14
|
-
<circle cx="232" cy="106" r="2" fill="currentColor" fillOpacity=".65" />
|
|
15
|
-
<line x1="123" y1="107" x2="171" y2="96" stroke="currentColor" strokeWidth=".8" strokeOpacity=".2" />
|
|
16
|
-
<line x1="181" y1="96" x2="227" y2="105" stroke="currentColor" strokeWidth=".8" strokeOpacity=".2" />
|
|
17
|
-
<text x="175" y="196" textAnchor="middle" fontSize="14" fontWeight="600" fill="currentColor" fillOpacity=".75">Managed</text>
|
|
18
|
-
<text x="175" y="214" textAnchor="middle" fontSize="11" fill="currentColor" fillOpacity=".4">Auto-scaling · Zero ops</text>
|
|
19
|
-
|
|
20
|
-
{/* ── Center divider ── */}
|
|
21
|
-
<line x1="278" y1="50" x2="278" y2="175" stroke="currentColor" strokeWidth="1" strokeOpacity=".15" strokeDasharray="4 4" />
|
|
22
|
-
<text x="278" y="196" textAnchor="middle" fontSize="11" fontWeight="700" fill="currentColor" fillOpacity=".3" letterSpacing=".12em">OR</text>
|
|
23
|
-
|
|
24
|
-
{/* ── Right: Server rack ── */}
|
|
25
|
-
<rect x="336" y="60" width="154" height="30" rx="6" fill="currentColor" fillOpacity=".04" stroke="currentColor" strokeWidth="1.2" strokeOpacity=".25" />
|
|
26
|
-
<rect x="336" y="96" width="154" height="30" rx="6" fill="currentColor" fillOpacity=".04" stroke="currentColor" strokeWidth="1.2" strokeOpacity=".25" />
|
|
27
|
-
<rect x="336" y="132" width="154" height="30" rx="6" fill="currentColor" fillOpacity=".04" stroke="currentColor" strokeWidth="1.2" strokeOpacity=".25" />
|
|
28
|
-
<circle cx="352" cy="75" r="2.5" fill="currentColor" fillOpacity=".45" />
|
|
29
|
-
<circle cx="362" cy="75" r="2.5" fill="currentColor" fillOpacity=".25" />
|
|
30
|
-
<circle cx="352" cy="111" r="2.5" fill="currentColor" fillOpacity=".45" />
|
|
31
|
-
<circle cx="362" cy="111" r="2.5" fill="currentColor" fillOpacity=".25" />
|
|
32
|
-
<circle cx="352" cy="147" r="2.5" fill="currentColor" fillOpacity=".45" />
|
|
33
|
-
<circle cx="362" cy="147" r="2.5" fill="currentColor" fillOpacity=".25" />
|
|
34
|
-
<line x1="378" y1="68" x2="478" y2="68" stroke="currentColor" strokeWidth=".6" strokeOpacity=".1" />
|
|
35
|
-
<line x1="378" y1="82" x2="478" y2="82" stroke="currentColor" strokeWidth=".6" strokeOpacity=".1" />
|
|
36
|
-
<line x1="378" y1="104" x2="478" y2="104" stroke="currentColor" strokeWidth=".6" strokeOpacity=".1" />
|
|
37
|
-
<line x1="378" y1="118" x2="478" y2="118" stroke="currentColor" strokeWidth=".6" strokeOpacity=".1" />
|
|
38
|
-
<line x1="378" y1="140" x2="478" y2="140" stroke="currentColor" strokeWidth=".6" strokeOpacity=".1" />
|
|
39
|
-
<line x1="378" y1="154" x2="478" y2="154" stroke="currentColor" strokeWidth=".6" strokeOpacity=".1" />
|
|
40
|
-
<text x="413" y="196" textAnchor="middle" fontSize="14" fontWeight="600" fill="currentColor" fillOpacity=".75">Self-Hosted</text>
|
|
41
|
-
<text x="413" y="214" textAnchor="middle" fontSize="11" fill="currentColor" fillOpacity=".4">Your servers · Full control</text>
|
|
42
|
-
</svg>
|
|
43
|
-
);
|
|
44
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
export function GitVisual() {
|
|
2
|
-
return (
|
|
3
|
-
<svg viewBox="0 0 520 260" fill="none" className="w-full h-auto">
|
|
4
|
-
{/* Main branch line */}
|
|
5
|
-
<line x1="50" y1="100" x2="470" y2="100" stroke="currentColor" strokeWidth="2" strokeOpacity={0.35} strokeLinecap="round" />
|
|
6
|
-
|
|
7
|
-
{/* Feature branch arc */}
|
|
8
|
-
<path d="M140 100 C155 100 162 62 182 56" stroke="currentColor" strokeWidth="1.5" strokeOpacity={0.25} fill="none" />
|
|
9
|
-
<line x1="182" y1="56" x2="308" y2="56" stroke="currentColor" strokeWidth="1.5" strokeOpacity={0.25} strokeLinecap="round" />
|
|
10
|
-
<path d="M308 56 C328 62 335 100 350 100" stroke="currentColor" strokeWidth="1.5" strokeOpacity={0.25} fill="none" />
|
|
11
|
-
|
|
12
|
-
{/* Commits on main */}
|
|
13
|
-
<circle cx="50" cy="100" r="6" fill="currentColor" fillOpacity={0.06} stroke="currentColor" strokeWidth="1.8" strokeOpacity={0.4} />
|
|
14
|
-
<circle cx="50" cy="100" r="2" fill="currentColor" fillOpacity={0.6} />
|
|
15
|
-
<circle cx="140" cy="100" r="6" fill="currentColor" fillOpacity={0.06} stroke="currentColor" strokeWidth="1.8" strokeOpacity={0.4} />
|
|
16
|
-
<circle cx="140" cy="100" r="2" fill="currentColor" fillOpacity={0.6} />
|
|
17
|
-
{/* Merge commit — emphasized */}
|
|
18
|
-
<circle cx="350" cy="100" r="8" fill="currentColor" fillOpacity={0.1} stroke="currentColor" strokeWidth="2" strokeOpacity={0.6} />
|
|
19
|
-
<circle cx="350" cy="100" r="3" fill="currentColor" fillOpacity={0.7} />
|
|
20
|
-
<circle cx="440" cy="100" r="6" fill="currentColor" fillOpacity={0.06} stroke="currentColor" strokeWidth="1.8" strokeOpacity={0.4} />
|
|
21
|
-
<circle cx="440" cy="100" r="2" fill="currentColor" fillOpacity={0.6} />
|
|
22
|
-
|
|
23
|
-
{/* Feature branch commits */}
|
|
24
|
-
<circle cx="222" cy="56" r="5" fill="currentColor" fillOpacity={0.06} stroke="currentColor" strokeWidth="1.5" strokeOpacity={0.3} />
|
|
25
|
-
<circle cx="222" cy="56" r="1.5" fill="currentColor" fillOpacity={0.5} />
|
|
26
|
-
<circle cx="280" cy="56" r="5" fill="currentColor" fillOpacity={0.06} stroke="currentColor" strokeWidth="1.5" strokeOpacity={0.3} />
|
|
27
|
-
<circle cx="280" cy="56" r="1.5" fill="currentColor" fillOpacity={0.5} />
|
|
28
|
-
|
|
29
|
-
{/* Labels — main commits */}
|
|
30
|
-
<text x="50" y="124" textAnchor="middle" fontSize="10" fontFamily="monospace" fill="currentColor" fillOpacity={0.4}>a3f2c</text>
|
|
31
|
-
<text x="140" y="124" textAnchor="middle" fontSize="10" fontFamily="monospace" fill="currentColor" fillOpacity={0.4}>b7e4a</text>
|
|
32
|
-
<text x="350" y="126" textAnchor="middle" fontSize="11" fontFamily="monospace" fontWeight="600" fill="currentColor" fillOpacity={0.7}>merge</text>
|
|
33
|
-
<text x="440" y="124" textAnchor="middle" fontSize="10" fontFamily="monospace" fill="currentColor" fillOpacity={0.4}>deploy</text>
|
|
34
|
-
|
|
35
|
-
{/* Branch labels */}
|
|
36
|
-
<text x="251" y="42" textAnchor="middle" fontSize="11" fontWeight="600" fill="currentColor" fillOpacity={0.55}>feat/dashboard</text>
|
|
37
|
-
<text x="30" y="146" fontSize="11" fontWeight="600" fill="currentColor" fillOpacity={0.55}>main</text>
|
|
38
|
-
|
|
39
|
-
{/* Deploy arrow */}
|
|
40
|
-
<line x1="440" y1="112" x2="440" y2="162" stroke="currentColor" strokeWidth="1.2" strokeOpacity={0.2} strokeDasharray="3 3" />
|
|
41
|
-
<path d="M436 159 L440 168 L444 159" fill="currentColor" fillOpacity={0.25} />
|
|
42
|
-
|
|
43
|
-
{/* Pipeline bar */}
|
|
44
|
-
<rect x="80" y="180" width="360" height="44" rx="10" fill="currentColor" fillOpacity={0.04} stroke="currentColor" strokeWidth="1.2" strokeOpacity={0.2} />
|
|
45
|
-
{/* Build */}
|
|
46
|
-
<circle cx="160" cy="202" r="4" fill="currentColor" fillOpacity={0.08} stroke="currentColor" strokeWidth="1" strokeOpacity={0.35} />
|
|
47
|
-
<path d="M157.5 202 L159.5 204 L163 200" stroke="currentColor" strokeWidth="1" strokeOpacity={0.5} strokeLinecap="round" fill="none" />
|
|
48
|
-
<text x="174" y="206" fontSize="11" fontWeight="500" fill="currentColor" fillOpacity={0.5}>Build</text>
|
|
49
|
-
<line x1="220" y1="190" x2="220" y2="214" stroke="currentColor" strokeOpacity={0.1} strokeWidth=".6" />
|
|
50
|
-
{/* Test */}
|
|
51
|
-
<circle cx="260" cy="202" r="4" fill="currentColor" fillOpacity={0.08} stroke="currentColor" strokeWidth="1" strokeOpacity={0.35} />
|
|
52
|
-
<path d="M257.5 202 L259.5 204 L263 200" stroke="currentColor" strokeWidth="1" strokeOpacity={0.5} strokeLinecap="round" fill="none" />
|
|
53
|
-
<text x="274" y="206" fontSize="11" fontWeight="500" fill="currentColor" fillOpacity={0.5}>Test</text>
|
|
54
|
-
<line x1="320" y1="190" x2="320" y2="214" stroke="currentColor" strokeOpacity={0.1} strokeWidth=".6" />
|
|
55
|
-
{/* Live */}
|
|
56
|
-
<circle cx="360" cy="202" r="4" fill="currentColor" fillOpacity={0.15} stroke="currentColor" strokeWidth="1" strokeOpacity={0.5} />
|
|
57
|
-
<path d="M357.5 202 L359.5 204 L363 200" stroke="currentColor" strokeWidth="1" strokeOpacity={0.6} strokeLinecap="round" fill="none" />
|
|
58
|
-
<text x="374" y="206" fontSize="11" fontWeight="600" fill="currentColor" fillOpacity={0.65}>Live</text>
|
|
59
|
-
</svg>
|
|
60
|
-
);
|
|
61
|
-
}
|