diff --git a/preview/pages/deployment-failed.astro b/preview/pages/deployment-failed.astro index 893373d20..b58e048b7 100644 --- a/preview/pages/deployment-failed.astro +++ b/preview/pages/deployment-failed.astro @@ -13,7 +13,7 @@ const navItems = [ { label: 'Deployments', href: './deployment-failed.html', active: true }, { label: 'Analytics' }, { label: 'Logs' }, - { label: 'Settings' }, + { label: 'Settings', href: './project-settings.html' }, ]; const buildSteps = [ diff --git a/preview/pages/project-settings.astro b/preview/pages/project-settings.astro new file mode 100644 index 000000000..6c488ee4b --- /dev/null +++ b/preview/pages/project-settings.astro @@ -0,0 +1,274 @@ +--- +import DefaultLayout from '@shared/layouts/DefaultLayout.astro'; +import Breadcrumb from '@shared/components/ui/Breadcrumb.astro'; +import Avatar from '@shared/components/ui/Avatar.astro'; +import Badge from '@shared/components/ui/Badge.astro'; +import Button from '@shared/components/Button.astro'; +import NavSegmented from '@shared/components/ui/NavSegmented.astro'; + +const navItems = [ + { label: 'Overview' }, + { label: 'Deployments', href: './deployment-failed.html' }, + { label: 'Analytics' }, + { label: 'Logs' }, + { label: 'Settings', href: './project-settings.html', active: true }, +]; + +const settingsNav = [ + { label: 'General', href: '#general', active: true }, + { label: 'Domains', href: '#domains' }, + { label: 'Environment', href: '#env' }, + { label: 'Git', href: '#git' }, + { label: 'Danger zone', href: '#danger', danger: true }, +]; + +const envVars = [ + { key: 'DATABASE_URL', value: '••••••••••••••••••••', action: 'Reveal', masked: true }, + { key: 'REDIS_URL', value: '••••••••••••••••', action: 'Reveal', masked: true }, + { key: 'WEBHOOK_SECRET', value: '••••••••••••', action: 'Reveal', masked: true }, + { key: 'NEXT_PUBLIC_APP_URL', value: 'https://api.pulsehq.dev', action: 'Copy' }, +]; +--- + + + + +
+
+ +

pulse-api

+ +
+
+
+
+ +
+ +
+ +
+
+
+
+ +
+
+
+ +
+
+
+

General

+ Project identity and runtime +
+
+
+
+
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+
+ + Scale functions with shared concurrency +
+ +
+
+
+
+
+ +
+
+

Domains

+
+ +
+
+
+

api.pulsehq.dev

+ Production · Valid configuration +
+ + +
+
+ +
+
+
+

pulse-api.relay.app

+ Production · Auto-assigned +
+ + +
+
+ +
+
+
+

staging-api.pulsehq.dev

+ Preview · DNS pending +
+ + +
+
+
+ +
+
+

Environment variables

+ 18 variables · updated Jul 20 +
+ +
+
+ +
+
+ +
+ { + envVars.map((item) => ( +
+
+ {item.key} + + {item.value} + +
+
+ )) + } +
+
+ +
+
+

Git

+ Connected repository +
+
+
+
+ + pulsehq/pulse-api +
+ +
+ + +
+ +
+
+ + Create a deployment for every commit +
+ +
+ +
+
+ + Deploy pull request branches automatically +
+ +
+
+
+
+ +
+
+

Danger zone

+ Irreversible actions +
+
+
+
+
Transfer project
+
Move pulse-api to another team or personal account
+
+
+
+
+
+
+
Delete project
+
Permanently remove deployments, domains, and environment variables
+
+
+
+
+
+
+
\ No newline at end of file