mirror of
https://github.com/kossakovsky/n8n-install.git
synced 2026-03-07 14:23:08 +00:00
- fix json generation bug in generate_welcome_page.sh (missing commas) - add supabase-style dark theme with green accents (#3ECF8E) - add make commands section to welcome page - move make commands from final report to welcome page - make next steps conditional based on active profiles - update poweredby to yury kossakovsky - format generated json with proper indentation for readability
197 lines
11 KiB
HTML
197 lines
11 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en" class="dark">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Welcome | n8n-install</title>
|
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
<script>
|
|
tailwind.config = {
|
|
darkMode: 'class',
|
|
theme: {
|
|
extend: {
|
|
colors: {
|
|
// Supabase-inspired color scheme
|
|
brand: {
|
|
DEFAULT: '#3ECF8E',
|
|
50: '#E8FBF2',
|
|
100: '#D1F7E5',
|
|
200: '#A3EFCB',
|
|
300: '#75E7B1',
|
|
400: '#47DF97',
|
|
500: '#3ECF8E',
|
|
600: '#24B374',
|
|
700: '#1A8557',
|
|
800: '#11573A',
|
|
900: '#07291B'
|
|
},
|
|
surface: {
|
|
DEFAULT: '#1C1C1C',
|
|
50: '#171717',
|
|
100: '#1C1C1C',
|
|
200: '#232323',
|
|
300: '#2A2A2A',
|
|
400: '#313131',
|
|
500: '#3B3B3B'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
<style>
|
|
/* Custom scrollbar */
|
|
::-webkit-scrollbar { width: 8px; height: 8px; }
|
|
::-webkit-scrollbar-track { background: #1C1C1C; }
|
|
::-webkit-scrollbar-thumb { background: #3B3B3B; border-radius: 4px; }
|
|
::-webkit-scrollbar-thumb:hover { background: #4B4B4B; }
|
|
|
|
/* Subtle glow effect for brand elements */
|
|
.brand-glow {
|
|
box-shadow: 0 0 20px rgba(62, 207, 142, 0.15);
|
|
}
|
|
|
|
/* Border gradient effect */
|
|
.border-gradient {
|
|
position: relative;
|
|
}
|
|
.border-gradient::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: inherit;
|
|
padding: 1px;
|
|
background: linear-gradient(135deg, rgba(62, 207, 142, 0.3), transparent 50%);
|
|
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
|
mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
|
-webkit-mask-composite: xor;
|
|
mask-composite: exclude;
|
|
pointer-events: none;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body class="bg-[#111111] text-gray-100 min-h-screen antialiased">
|
|
<div class="max-w-6xl mx-auto px-4 py-12 sm:px-6 lg:px-8">
|
|
<!-- Header -->
|
|
<header class="text-center mb-16">
|
|
<div class="inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-surface-200 border border-surface-400 text-sm text-gray-400 mb-6">
|
|
<span class="w-2 h-2 rounded-full bg-brand animate-pulse"></span>
|
|
System Online
|
|
</div>
|
|
<h1 class="text-4xl sm:text-5xl lg:text-6xl font-bold text-white mb-4 tracking-tight">
|
|
Welcome to <span class="text-brand">n8n-install</span>
|
|
</h1>
|
|
<p class="text-lg text-gray-400 max-w-2xl mx-auto">
|
|
Your self-hosted automation platform is ready to use
|
|
</p>
|
|
<p id="domain-info" class="text-sm text-gray-500 mt-4 font-mono"></p>
|
|
</header>
|
|
|
|
<!-- Services Section -->
|
|
<section class="mb-16">
|
|
<div class="flex items-center gap-3 mb-6">
|
|
<div class="w-10 h-10 rounded-lg bg-brand/10 border border-brand/20 flex items-center justify-center">
|
|
<svg class="w-5 h-5 text-brand" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"/>
|
|
</svg>
|
|
</div>
|
|
<h2 class="text-2xl font-semibold text-white">Your Services</h2>
|
|
</div>
|
|
<div id="services-container" class="grid gap-4 sm:grid-cols-2 lg:grid-cols-3">
|
|
<!-- Services will be injected here by JavaScript -->
|
|
<div class="animate-pulse bg-surface-200 rounded-xl h-48 border border-surface-400"></div>
|
|
<div class="animate-pulse bg-surface-200 rounded-xl h-48 border border-surface-400"></div>
|
|
<div class="animate-pulse bg-surface-200 rounded-xl h-48 border border-surface-400"></div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Quick Start Section -->
|
|
<section class="mb-16">
|
|
<div class="flex items-center gap-3 mb-6">
|
|
<div class="w-10 h-10 rounded-lg bg-brand/10 border border-brand/20 flex items-center justify-center">
|
|
<svg class="w-5 h-5 text-brand" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z"/>
|
|
</svg>
|
|
</div>
|
|
<h2 class="text-2xl font-semibold text-white">Quick Start</h2>
|
|
</div>
|
|
<div id="quickstart-container" class="space-y-3">
|
|
<!-- Quick start steps will be injected here -->
|
|
<div class="animate-pulse bg-surface-200 rounded-xl h-20 border border-surface-400"></div>
|
|
<div class="animate-pulse bg-surface-200 rounded-xl h-20 border border-surface-400"></div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Commands Section -->
|
|
<section class="mb-16">
|
|
<div class="flex items-center gap-3 mb-6">
|
|
<div class="w-10 h-10 rounded-lg bg-brand/10 border border-brand/20 flex items-center justify-center">
|
|
<svg class="w-5 h-5 text-brand" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 9l3 3-3 3m5 0h3M5 20h14a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"/>
|
|
</svg>
|
|
</div>
|
|
<h2 class="text-2xl font-semibold text-white">Make Commands</h2>
|
|
</div>
|
|
<div id="commands-container" class="bg-surface-100 rounded-xl border border-surface-400 p-6">
|
|
<!-- Commands will be injected here by JavaScript -->
|
|
<div class="animate-pulse h-32"></div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Documentation Section -->
|
|
<section class="mb-16">
|
|
<div class="flex items-center gap-3 mb-6">
|
|
<div class="w-10 h-10 rounded-lg bg-brand/10 border border-brand/20 flex items-center justify-center">
|
|
<svg class="w-5 h-5 text-brand" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253"/>
|
|
</svg>
|
|
</div>
|
|
<h2 class="text-2xl font-semibold text-white">Documentation</h2>
|
|
</div>
|
|
<div class="grid gap-3 sm:grid-cols-2 lg:grid-cols-4">
|
|
<a href="https://docs.n8n.io/" target="_blank" rel="noopener"
|
|
class="flex items-center gap-3 p-4 bg-surface-100 rounded-xl border border-surface-400 hover:border-brand/50 hover:bg-surface-200 transition-all group">
|
|
<span class="text-gray-300 group-hover:text-brand transition-colors">n8n Docs</span>
|
|
<svg class="w-4 h-4 ml-auto text-gray-500 group-hover:text-brand transition-colors" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"/>
|
|
</svg>
|
|
</a>
|
|
<a href="https://docs.n8n.io/advanced-ai/intro-tutorial/" target="_blank" rel="noopener"
|
|
class="flex items-center gap-3 p-4 bg-surface-100 rounded-xl border border-surface-400 hover:border-brand/50 hover:bg-surface-200 transition-all group">
|
|
<span class="text-gray-300 group-hover:text-brand transition-colors">AI Tutorial</span>
|
|
<svg class="w-4 h-4 ml-auto text-gray-500 group-hover:text-brand transition-colors" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"/>
|
|
</svg>
|
|
</a>
|
|
<a href="https://n8n.io/workflows/" target="_blank" rel="noopener"
|
|
class="flex items-center gap-3 p-4 bg-surface-100 rounded-xl border border-surface-400 hover:border-brand/50 hover:bg-surface-200 transition-all group">
|
|
<span class="text-gray-300 group-hover:text-brand transition-colors">Templates</span>
|
|
<svg class="w-4 h-4 ml-auto text-gray-500 group-hover:text-brand transition-colors" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"/>
|
|
</svg>
|
|
</a>
|
|
<a href="https://github.com/kossakovsky/n8n-install" target="_blank" rel="noopener"
|
|
class="flex items-center gap-3 p-4 bg-surface-100 rounded-xl border border-surface-400 hover:border-brand/50 hover:bg-surface-200 transition-all group">
|
|
<span class="text-gray-300 group-hover:text-brand transition-colors">GitHub</span>
|
|
<svg class="w-4 h-4 ml-auto text-gray-500 group-hover:text-brand transition-colors" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"/>
|
|
</svg>
|
|
</a>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Footer -->
|
|
<footer class="text-center text-sm text-gray-500 pt-8 border-t border-surface-400">
|
|
<p>Powered by <a href="https://github.com/kossakovsky" target="_blank" rel="noopener" class="text-brand hover:text-brand-400 transition-colors">Yury Kossakovsky</a></p>
|
|
</footer>
|
|
</div>
|
|
|
|
<!-- Error Toast (hidden by default) -->
|
|
<div id="error-toast" class="fixed bottom-4 right-4 bg-red-500/90 backdrop-blur-sm text-white px-6 py-3 rounded-xl shadow-lg transform translate-y-20 opacity-0 transition-all duration-300 hidden border border-red-400/50">
|
|
<p id="error-message">Error loading data</p>
|
|
</div>
|
|
|
|
<script src="app.js"></script>
|
|
</body>
|
|
</html>
|