mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 08:23:34 +00:00
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bc98f0e181 | ||
|
|
27dec36a3f |
No files matched your search
@@ -1,6 +1,6 @@
|
|||||||
import { useState, useEffect, useCallback } from 'react';
|
import { useState, useEffect, useCallback } from 'react';
|
||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
import { Rocket, ExternalLink, AlertCircle } from 'lucide-react';
|
import { Rocket, ExternalLink, AlertCircle, Settings, Cloud } from 'lucide-react';
|
||||||
import { ExternalFavicon } from '@/components/ExternalFavicon';
|
import { ExternalFavicon } from '@/components/ExternalFavicon';
|
||||||
import {
|
import {
|
||||||
Dialog,
|
Dialog,
|
||||||
@@ -562,19 +562,42 @@ export function DeployDialog({ projectId, projectName, open, onOpenChange }: Dep
|
|||||||
) : (
|
) : (
|
||||||
<div className="space-y-4">
|
<div className="space-y-4">
|
||||||
{settings.providers.length === 0 ? (
|
{settings.providers.length === 0 ? (
|
||||||
<Alert>
|
<div className="py-8 px-4">
|
||||||
<AlertCircle className="h-4 w-4" />
|
<div className="max-w-md mx-auto space-y-6 text-center">
|
||||||
<AlertDescription>
|
{/* Icon */}
|
||||||
No deployment providers configured.{' '}
|
<div className="flex justify-center">
|
||||||
<Link
|
<div className="relative">
|
||||||
to="/settings/deploy"
|
<div className="absolute inset-0 bg-primary/10 rounded-full blur-xl"></div>
|
||||||
className="underline hover:no-underline"
|
<div className="relative bg-gradient-to-br from-primary/20 to-primary/5 p-6 rounded-2xl border border-primary/20">
|
||||||
|
<Cloud className="h-12 w-12 text-primary" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Heading */}
|
||||||
|
<div className="space-y-2">
|
||||||
|
<h3 className="text-xl font-semibold">Choose Your Deployment Platform</h3>
|
||||||
|
<p className="text-sm text-muted-foreground leading-relaxed">
|
||||||
|
Deploy your Shakespeare projects to any hosting provider. Configure your preferred platform to get started.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* CTA */}
|
||||||
|
<div className="pt-2">
|
||||||
|
<Button
|
||||||
|
asChild
|
||||||
|
size="lg"
|
||||||
|
className="w-full"
|
||||||
onClick={handleClose}
|
onClick={handleClose}
|
||||||
>
|
>
|
||||||
Configure deployment settings
|
<Link to="/settings/deploy">
|
||||||
|
<Settings className="h-4 w-4 mr-2" />
|
||||||
|
Configure Deployment Provider
|
||||||
</Link>
|
</Link>
|
||||||
</AlertDescription>
|
</Button>
|
||||||
</Alert>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<>
|
<>
|
||||||
<div className="space-y-2">
|
<div className="space-y-2">
|
||||||
|
|||||||
@@ -113,6 +113,10 @@
|
|||||||
border-color: hsl(var(--border));
|
border-color: hsl(var(--border));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html {
|
||||||
|
overscroll-behavior: none;
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: hsl(var(--background));
|
background-color: hsl(var(--background));
|
||||||
color: hsl(var(--foreground));
|
color: hsl(var(--foreground));
|
||||||
|
|||||||
Reference in new issue
Block a user