mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-20 02:17:09 +00:00
feat(onboarding): redesign user onboarding flow with modern UI/UX
- Add centered, card-based layout with clean design - Implement 3-step progress indicator component - Add proper dark/light mode support following Coolify design system - Implement Livewire URL state persistence for browser navigation - Separate private key textareas for "Generate" vs "Add your own" modes - Consistent checkpoint styling across all onboarding phases - Enhanced typography with prominent titles (semibold, white in dark mode) - Fixed state restoration on page refresh and browser back/forward navigation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
1 parent
821aa6a531
commit
7a008c859a
5 files changed
+675
-214
No files matched your search
@@ -1,25 +1,29 @@
|
||||
<div class="grid grid-cols-1 gap-4 md:grid-cols-3">
|
||||
<div class="box-border col-span-2 lg:min-w-[24rem] lg:min-h-[21rem]">
|
||||
<h1 class="text-2xl font-bold lg:text-5xl">{{ $title }}</h1>
|
||||
<div class="py-6">
|
||||
<div class="w-full max-w-4xl">
|
||||
<div class="bg-white dark:bg-coolgray-100 rounded-lg shadow-sm border border-neutral-200 dark:border-coolgray-300 overflow-hidden">
|
||||
<div class="p-8 lg:p-12">
|
||||
<h1 class="text-3xl font-bold lg:text-4xl mb-4">{{ $title }}</h1>
|
||||
@isset($question)
|
||||
<p class="dark:text-neutral-400">
|
||||
<div class="text-base lg:text-lg dark:text-neutral-400 mb-8">
|
||||
{{ $question }}
|
||||
</p>
|
||||
</div>
|
||||
@endisset
|
||||
|
||||
@if ($actions)
|
||||
<div class="flex flex-col gap-4">
|
||||
{{ $actions }}
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
@if ($actions)
|
||||
<div class="flex flex-col flex-wrap gap-4 lg:items-center md:flex-row">
|
||||
{{ $actions }}
|
||||
|
||||
@isset($explanation)
|
||||
<div class="dark:bg-coolgray-200 border-t border-neutral-200 dark:border-coolgray-300 p-8 lg:p-12 bg-neutral-50">
|
||||
<h3 class="text-sm font-bold uppercase tracking-wide mb-4 dark:text-neutral-400">
|
||||
Technical Details
|
||||
</h3>
|
||||
<div class="space-y-3 text-sm dark:text-neutral-400">
|
||||
{{ $explanation }}
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
@endisset
|
||||
</div>
|
||||
@isset($explanation)
|
||||
<div class="col-span-1">
|
||||
<h3 class="pb-8 font-bold">Explanation</h3>
|
||||
<div class="space-y-4">
|
||||
{{ $explanation }}
|
||||
</div>
|
||||
</div>
|
||||
@endisset
|
||||
</div>
|
||||
Reference in new issue
Block a user