DashCaddy.net all files

This commit is contained in:
Krystie committed 2026-04-15 20:55:30 -07:00
commit c5d7d99852
36 files changed
+9611

No files matched your search

+511
View File
@@ -0,0 +1,511 @@
'use client';
import Link from 'next/link';
import Navbar from '@/components/Navbar';
import Footer from '@/components/Footer';
import FeatureCard from '@/components/FeatureCard';
import AppShowcase from '@/components/AppShowcase';
export default function Home() {
return (
<div className="flex flex-col min-h-screen bg-surface-950 text-surface-50">
{/* Navigation */}
<Navbar />
{/* Hero Section */}
<section id="hero" className="relative w-full overflow-hidden py-20 sm:py-32 lg:py-40">
{/* Background gradient effects */}
<div className="absolute inset-0 -z-10">
{/* Radial gradient glow */}
<div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-96 h-96 bg-brand-500/20 rounded-full blur-3xl opacity-30 animate-pulse-slow" />
<div className="absolute top-1/3 right-0 w-72 h-72 bg-brand-600/10 rounded-full blur-3xl opacity-20" />
<div className="absolute bottom-0 left-1/4 w-80 h-80 bg-brand-400/10 rounded-full blur-3xl opacity-20" />
</div>
<div className="relative mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
<div className="grid grid-cols-1 lg:grid-cols-2 gap-12 items-center">
{/* Left Content */}
<div className="flex flex-col justify-center space-y-8">
<div className="space-y-4">
<h1 className="text-4xl sm:text-5xl lg:text-6xl font-bold tracking-tight">
<span className="text-brand-400">Self-Hosting</span>
<br />
<span>Made Beautiful</span>
</h1>
<p className="text-xl text-surface-300 max-w-lg leading-relaxed">
Deploy Docker apps with one click. Automatic SSL certificates, DNS management, and reverse proxy configuration—everything you need for self-hosted perfection.
</p>
</div>
{/* CTA Buttons */}
<div className="flex flex-col sm:flex-row gap-4">
<Link
href="/pricing"
className="inline-flex items-center justify-center gap-2 rounded-lg bg-brand-500 px-8 py-3 text-base font-semibold text-white hover:bg-brand-600 transition-all duration-200 hover:shadow-lg hover:shadow-brand-500/30 hover:scale-105"
>
<span>Get Started Free</span>
<svg className="w-5 h-5" fill="none" viewBox="0 0 24 24" strokeWidth={2} stroke="currentColor">
<path strokeLinecap="round" strokeLinejoin="round" d="M13.5 6H5.25A2.25 2.25 0 003 8.25v10.5A2.25 2.25 0 005.25 21h10.5A2.25 2.25 0 0018 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25" />
</svg>
</Link>
<a
href="#"
className="inline-flex items-center justify-center gap-2 rounded-lg border border-surface-700 bg-surface-800/50 px-8 py-3 text-base font-semibold text-surface-50 hover:border-brand-400 hover:bg-surface-800 transition-all duration-200 hover:text-brand-400"
>
<svg className="w-5 h-5" fill="currentColor" viewBox="0 0 24 24">
<path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.6.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z" />
</svg>
View on GitHub
</a>
</div>
{/* Trust indicators */}
<div className="flex flex-col sm:flex-row gap-6 pt-4">
<div className="flex items-center gap-3">
<div className="flex -space-x-2">
<div className="w-8 h-8 rounded-full bg-brand-400/20 border border-brand-400 flex items-center justify-center text-xs font-semibold">👤</div>
<div className="w-8 h-8 rounded-full bg-brand-400/20 border border-brand-400 flex items-center justify-center text-xs font-semibold">👤</div>
<div className="w-8 h-8 rounded-full bg-brand-400/20 border border-brand-400 flex items-center justify-center text-xs font-semibold">👤</div>
</div>
<p className="text-sm text-surface-400">Trusted by self-hosting enthusiasts</p>
</div>
</div>
</div>
{/* Right - Dashboard Mockup */}
<div className="relative hidden lg:block">
<div className="relative mx-auto aspect-square max-w-md">
{/* Outer glow */}
<div className="absolute inset-0 rounded-2xl bg-gradient-to-br from-brand-400/20 to-brand-600/20 blur-2xl" />
{/* Dashboard mockup container */}
<div className="relative rounded-2xl border border-surface-700/50 bg-gradient-to-br from-surface-800 to-surface-900 p-6 overflow-hidden">
{/* Terminal-like dashboard header */}
<div className="space-y-4">
{/* Top bar */}
<div className="flex items-center justify-between bg-surface-900/50 rounded-lg p-3 border border-surface-700/30">
<div className="flex items-center gap-2">
<div className="w-3 h-3 rounded-full bg-red-500/60" />
<div className="w-3 h-3 rounded-full bg-yellow-500/60" />
<div className="w-3 h-3 rounded-full bg-green-500/60" />
</div>
<span className="text-xs font-mono text-surface-500">dashcaddy.local</span>
</div>
{/* Content area with animated elements */}
<div className="space-y-3">
{/* Container item 1 */}
<div className="bg-surface-900/70 border border-surface-700/30 rounded p-3 animate-fade-in">
<div className="flex items-center justify-between mb-2">
<span className="text-sm font-mono text-brand-400">🐳 plex</span>
<span className="text-xs bg-green-500/20 text-green-400 px-2 py-1 rounded">running</span>
</div>
<div className="w-full bg-surface-700/30 rounded-full h-1.5 overflow-hidden">
<div className="bg-gradient-to-r from-brand-400 to-brand-500 h-full w-2/3 rounded-full" />
</div>
</div>
{/* Container item 2 */}
<div className="bg-surface-900/70 border border-surface-700/30 rounded p-3 animate-fade-in" style={{ animationDelay: '0.1s' }}>
<div className="flex items-center justify-between mb-2">
<span className="text-sm font-mono text-brand-400">☁️ nextcloud</span>
<span className="text-xs bg-green-500/20 text-green-400 px-2 py-1 rounded">running</span>
</div>
<div className="w-full bg-surface-700/30 rounded-full h-1.5 overflow-hidden">
<div className="bg-gradient-to-r from-brand-400 to-brand-500 h-full w-3/4 rounded-full" />
</div>
</div>
{/* Container item 3 */}
<div className="bg-surface-900/70 border border-surface-700/30 rounded p-3 animate-fade-in" style={{ animationDelay: '0.2s' }}>
<div className="flex items-center justify-between mb-2">
<span className="text-sm font-mono text-brand-400">📊 prometheus</span>
<span className="text-xs bg-green-500/20 text-green-400 px-2 py-1 rounded">running</span>
</div>
<div className="w-full bg-surface-700/30 rounded-full h-1.5 overflow-hidden">
<div className="bg-gradient-to-r from-brand-400 to-brand-500 h-full w-1/2 rounded-full" />
</div>
</div>
</div>
{/* Stats row */}
<div className="grid grid-cols-3 gap-2 pt-2 border-t border-surface-700/30">
<div className="text-center py-2">
<div className="text-lg font-bold text-brand-400">3</div>
<div className="text-xs text-surface-500">Containers</div>
</div>
<div className="text-center py-2 border-l border-r border-surface-700/30">
<div className="text-lg font-bold text-brand-400">100%</div>
<div className="text-xs text-surface-500">Uptime</div>
</div>
<div className="text-center py-2">
<div className="text-lg font-bold text-brand-400">42GB</div>
<div className="text-xs text-surface-500">Storage</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
{/* Key Features Grid */}
<section id="features" className="relative py-16 sm:py-20 lg:py-24 bg-gradient-to-b from-surface-950 to-surface-900">
<div className="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
{/* Section Header */}
<div className="mb-16 text-center">
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-bold mb-4 text-surface-50">
Powerful Features
</h2>
<p className="text-lg text-surface-400 max-w-2xl mx-auto">
Everything you need to manage your self-hosted Docker applications professionally.
</p>
</div>
{/* Feature Grid */}
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
<FeatureCard
icon="🚀"
title="One-Click App Deployment"
description="Choose from 50+ pre-configured Docker app templates. Deploy your favorite applications instantly without manual configuration."
/>
<FeatureCard
icon="🔒"
title="Automatic SSL Certificates"
description="Caddy internal CA automatically generates and renews SSL certificates. Secure your apps with zero configuration overhead."
/>
<FeatureCard
icon="🌐"
title="DNS Integration"
description="Automatic DNS record creation with Technitium DNS. Manage all your app subdomains effortlessly from one dashboard."
/>
<FeatureCard
icon="📊"
title="Real-Time Monitoring"
description="Monitor container health, response times, and resource usage. Get instant insights into your application performance."
/>
<FeatureCard
icon="🐳"
title="Docker Management"
description="View, manage, and scale your containers. Access logs, manage volumes, and handle Docker operations visually."
/>
<FeatureCard
icon="🛡️"
title="Security First"
description="TOTP 2FA, audit logs, encrypted credentials, and role-based access control built in."
/>
</div>
</div>
</section>
{/* How It Works Section */}
<section id="how-it-works" className="relative py-16 sm:py-20 lg:py-24 bg-surface-950">
<div className="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
{/* Section Header */}
<div className="mb-16 text-center">
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-bold mb-4 text-surface-50">
How It Works
</h2>
<p className="text-lg text-surface-400 max-w-2xl mx-auto">
Get up and running in minutes, not hours.
</p>
</div>
{/* Steps */}
<div className="grid grid-cols-1 md:grid-cols-3 gap-8">
{/* Step 1 */}
<div className="relative">
<div className="flex flex-col items-center space-y-4">
{/* Number Circle */}
<div className="relative">
<div className="w-16 h-16 rounded-full bg-gradient-to-br from-brand-400/20 to-brand-600/20 border border-brand-500/30 flex items-center justify-center">
<span className="text-2xl font-bold text-brand-400">1</span>
</div>
{/* Connector line (hidden on mobile, visible on larger screens) */}
<div className="hidden md:block absolute top-8 left-16 w-full h-0.5 bg-gradient-to-r from-brand-500/50 to-transparent" />
</div>
{/* Content */}
<div className="text-center pt-4">
<h3 className="text-xl font-semibold text-surface-50 mb-2">
Install
</h3>
<p className="text-surface-400">
Clone the DashCaddy repository and run the setup script. Takes just a few minutes on your server.
</p>
</div>
</div>
</div>
{/* Step 2 */}
<div className="relative">
<div className="flex flex-col items-center space-y-4">
{/* Number Circle */}
<div className="relative">
<div className="w-16 h-16 rounded-full bg-gradient-to-br from-brand-400/20 to-brand-600/20 border border-brand-500/30 flex items-center justify-center">
<span className="text-2xl font-bold text-brand-400">2</span>
</div>
{/* Connector line */}
<div className="hidden md:block absolute top-8 left-16 w-full h-0.5 bg-gradient-to-r from-brand-500/50 to-transparent" />
</div>
{/* Content */}
<div className="text-center pt-4">
<h3 className="text-xl font-semibold text-surface-50 mb-2">
Deploy
</h3>
<p className="text-surface-400">
Click "Deploy" on any app template. SSL certificates and DNS records are automatically configured.
</p>
</div>
</div>
</div>
{/* Step 3 */}
<div className="relative">
<div className="flex flex-col items-center space-y-4">
{/* Number Circle */}
<div className="w-16 h-16 rounded-full bg-gradient-to-br from-brand-400/20 to-brand-600/20 border border-brand-500/30 flex items-center justify-center">
<span className="text-2xl font-bold text-brand-400">3</span>
</div>
{/* Content */}
<div className="text-center pt-4">
<h3 className="text-xl font-semibold text-surface-50 mb-2">
Done
</h3>
<p className="text-surface-400">
Your app is live with SSL and DNS configured. Monitor health, manage containers, and backup from the dashboard.
</p>
</div>
</div>
</div>
</div>
</div>
</section>
{/* App Showcase */}
<AppShowcase />
{/* Why DashCaddy Section */}
<section id="why-dashcaddy" className="relative py-16 sm:py-20 lg:py-24 bg-gradient-to-b from-surface-950 to-surface-900">
<div className="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
{/* Section Header */}
<div className="mb-16 text-center">
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-bold mb-4 text-surface-50">
Why DashCaddy?
</h2>
<p className="text-lg text-surface-400 max-w-2xl mx-auto">
Compare the pain of manual setup versus the simplicity of DashCaddy.
</p>
</div>
{/* Comparison Table */}
<div className="overflow-hidden rounded-lg border border-surface-700/50 bg-surface-800/50 backdrop-blur-sm">
<div className="overflow-x-auto">
<table className="w-full">
<thead>
<tr className="border-b border-surface-700/50">
<th className="px-6 py-4 text-left text-sm font-semibold text-surface-300 bg-surface-900/50">
Feature
</th>
<th className="px-6 py-4 text-center text-sm font-semibold text-surface-300 bg-surface-900/50">
Manual Docker Setup
</th>
<th className="px-6 py-4 text-center text-sm font-semibold text-brand-400 bg-surface-900/70">
DashCaddy
</th>
</tr>
</thead>
<tbody className="divide-y divide-surface-700/30">
<tr className="hover:bg-surface-800/30 transition-colors">
<td className="px-6 py-4 text-sm text-surface-300">SSL Certificates</td>
<td className="px-6 py-4 text-center text-sm">
<span className="text-surface-500">Manual configuration via Let's Encrypt</span>
</td>
<td className="px-6 py-4 text-center text-sm">
<span className="text-green-400 font-semibold">✓ Automatic</span>
</td>
</tr>
<tr className="hover:bg-surface-800/30 transition-colors">
<td className="px-6 py-4 text-sm text-surface-300">DNS Management</td>
<td className="px-6 py-4 text-center text-sm">
<span className="text-surface-500">Manual DNS records</span>
</td>
<td className="px-6 py-4 text-center text-sm">
<span className="text-green-400 font-semibold">✓ Automatic</span>
</td>
</tr>
<tr className="hover:bg-surface-800/30 transition-colors">
<td className="px-6 py-4 text-sm text-surface-300">Reverse Proxy Setup</td>
<td className="px-6 py-4 text-center text-sm">
<span className="text-surface-500">Complex Nginx/Caddy config</span>
</td>
<td className="px-6 py-4 text-center text-sm">
<span className="text-green-400 font-semibold">✓ One-click</span>
</td>
</tr>
<tr className="hover:bg-surface-800/30 transition-colors">
<td className="px-6 py-4 text-sm text-surface-300">App Templates</td>
<td className="px-6 py-4 text-center text-sm">
<span className="text-surface-500">Write your own compose files</span>
</td>
<td className="px-6 py-4 text-center text-sm">
<span className="text-green-400 font-semibold">✓ 50+ pre-configured</span>
</td>
</tr>
<tr className="hover:bg-surface-800/30 transition-colors">
<td className="px-6 py-4 text-sm text-surface-300">Health Monitoring</td>
<td className="px-6 py-4 text-center text-sm">
<span className="text-surface-500">Third-party tools required</span>
</td>
<td className="px-6 py-4 text-center text-sm">
<span className="text-green-400 font-semibold">✓ Built-in</span>
</td>
</tr>
<tr className="hover:bg-surface-800/30 transition-colors">
<td className="px-6 py-4 text-sm text-surface-300">Backup & Restore</td>
<td className="px-6 py-4 text-center text-sm">
<span className="text-surface-500">Manual scripts and planning</span>
</td>
<td className="px-6 py-4 text-center text-sm">
<span className="text-green-400 font-semibold">✓ One-click backup</span>
</td>
</tr>
<tr className="hover:bg-surface-800/30 transition-colors">
<td className="px-6 py-4 text-sm text-surface-300">Audit Logs</td>
<td className="px-6 py-4 text-center text-sm">
<span className="text-surface-500">Not included</span>
</td>
<td className="px-6 py-4 text-center text-sm">
<span className="text-green-400 font-semibold">✓ Built-in</span>
</td>
</tr>
</tbody>
</table>
</div>
</div>
{/* Additional Benefits */}
<div className="mt-16 grid grid-cols-1 md:grid-cols-2 gap-8">
<div className="rounded-lg border border-surface-700/50 bg-surface-800/50 backdrop-blur-sm p-6 space-y-4">
<div className="flex items-start gap-4">
<div className="text-2xl">⏱️</div>
<div>
<h3 className="text-lg font-semibold text-surface-50 mb-2">
Save Countless Hours
</h3>
<p className="text-surface-400 text-sm">
What takes days of manual configuration takes minutes with DashCaddy's automated setup and configuration.
</p>
</div>
</div>
</div>
<div className="rounded-lg border border-surface-700/50 bg-surface-800/50 backdrop-blur-sm p-6 space-y-4">
<div className="flex items-start gap-4">
<div className="text-2xl">🔐</div>
<div>
<h3 className="text-lg font-semibold text-surface-50 mb-2">
Enterprise Security
</h3>
<p className="text-surface-400 text-sm">
TOTP 2FA, encrypted credentials, audit logging, and role-based access control built in.
</p>
</div>
</div>
</div>
<div className="rounded-lg border border-surface-700/50 bg-surface-800/50 backdrop-blur-sm p-6 space-y-4">
<div className="flex items-start gap-4">
<div className="text-2xl">📈</div>
<div>
<h3 className="text-lg font-semibold text-surface-50 mb-2">
Scale Confidently
</h3>
<p className="text-surface-400 text-sm">
Real-time monitoring and health checks give you visibility into your infrastructure 24/7.
</p>
</div>
</div>
</div>
<div className="rounded-lg border border-surface-700/50 bg-surface-800/50 backdrop-blur-sm p-6 space-y-4">
<div className="flex items-start gap-4">
<div className="text-2xl">🛠️</div>
<div>
<h3 className="text-lg font-semibold text-surface-50 mb-2">
Never Lose Data
</h3>
<p className="text-surface-400 text-sm">
One-click backup and restore functionality ensures your data is always protected and recoverable.
</p>
</div>
</div>
</div>
</div>
</div>
</section>
{/* Final CTA Section */}
<section id="get-started" className="relative py-20 sm:py-24 lg:py-32 bg-gradient-to-b from-surface-900 to-surface-950 overflow-hidden">
{/* Background effects */}
<div className="absolute inset-0 -z-10">
<div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-96 h-96 bg-brand-500/10 rounded-full blur-3xl opacity-20" />
</div>
<div className="mx-auto max-w-4xl px-4 sm:px-6 lg:px-8 text-center">
<h2 className="text-4xl sm:text-5xl lg:text-6xl font-bold mb-6 text-surface-50">
Ready to Transform Your
<br />
<span className="text-brand-400">Self-Hosting Setup?</span>
</h2>
<p className="text-xl text-surface-300 mb-12 max-w-2xl mx-auto leading-relaxed">
Join developers and self-hosting enthusiasts who've simplified their infrastructure management with DashCaddy.
</p>
<div className="flex flex-col sm:flex-row gap-4 justify-center">
<Link
href="/pricing"
className="inline-flex items-center justify-center gap-2 rounded-lg bg-brand-500 px-10 py-4 text-lg font-semibold text-white hover:bg-brand-600 transition-all duration-200 hover:shadow-lg hover:shadow-brand-500/30 hover:scale-105"
>
Start Free Today
<svg className="w-5 h-5" fill="none" viewBox="0 0 24 24" strokeWidth={2} stroke="currentColor">
<path strokeLinecap="round" strokeLinejoin="round" d="M13.5 6H5.25A2.25 2.25 0 003 8.25v10.5A2.25 2.25 0 005.25 21h10.5A2.25 2.25 0 0018 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25" />
</svg>
</Link>
<a
href="#"
className="inline-flex items-center justify-center gap-2 rounded-lg border border-surface-700 bg-surface-800/50 px-10 py-4 text-lg font-semibold text-surface-50 hover:border-brand-400 hover:bg-surface-800 transition-all duration-200 hover:text-brand-400"
>
View Documentation
</a>
</div>
{/* Trust badges */}
<div className="mt-12 flex flex-wrap justify-center gap-8 text-center">
<div>
<div className="text-2xl font-bold text-brand-400">100%</div>
<p className="text-sm text-surface-400">Open Source</p>
</div>
<div className="border-l border-surface-700/50" />
<div>
<div className="text-2xl font-bold text-brand-400">Self-Hosted</div>
<p className="text-sm text-surface-400">Your Data, Your Rules</p>
</div>
<div className="border-l border-surface-700/50" />
<div>
<div className="text-2xl font-bold text-brand-400">24/7</div>
<p className="text-sm text-surface-400">Community Support</p>
</div>
</div>
</div>
</section>
{/* Footer */}
<Footer />
</div>
);
}