Merge pull request #6902 from coollabsio/onboarding-skip-first-page
Fix Hetzner Cloud rendering in onboarding
This commit is contained in:
commit
9fc182729c
1 changed files with 34 additions and 28 deletions
|
|
@ -67,11 +67,15 @@ class="bg-white dark:bg-coolgray-100 rounded-lg shadow-sm border border-neutral-
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="flex justify-center pt-4">
|
<div class="flex flex-col items-center gap-3 pt-4">
|
||||||
<x-forms.button class="justify-center px-12 py-4 text-lg font-bold box-boarding"
|
<x-forms.button class="justify-center px-12 py-4 text-lg font-bold box-boarding"
|
||||||
wire:click="explanation">
|
wire:click="explanation">
|
||||||
Start Setup
|
Let's go!
|
||||||
</x-forms.button>
|
</x-forms.button>
|
||||||
|
<button wire:click="skipBoarding"
|
||||||
|
class="text-sm dark:text-neutral-400 hover:text-coollabs dark:hover:text-warning hover:underline transition-colors">
|
||||||
|
Skip Setup
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@elseif ($currentState === 'explanation')
|
@elseif ($currentState === 'explanation')
|
||||||
|
|
@ -161,6 +165,7 @@ class="px-2 py-1 text-xs font-bold uppercase tracking-wide bg-coollabs/10 dark:b
|
||||||
</div>
|
</div>
|
||||||
</button>
|
</button>
|
||||||
@can('viewAny', App\Models\CloudProviderToken::class)
|
@can('viewAny', App\Models\CloudProviderToken::class)
|
||||||
|
@if ($currentState === 'select-server-type')
|
||||||
<x-modal-input title="Connect a Hetzner Server" isFullWidth>
|
<x-modal-input title="Connect a Hetzner Server" isFullWidth>
|
||||||
<x-slot:content>
|
<x-slot:content>
|
||||||
<div
|
<div
|
||||||
|
|
@ -189,6 +194,7 @@ class="px-2 py-1 text-xs font-bold uppercase tracking-wide bg-coollabs/10 dark:b
|
||||||
</x-slot:content>
|
</x-slot:content>
|
||||||
<livewire:server.new.by-hetzner :private_keys="$this->privateKeys" :limit_reached="false" />
|
<livewire:server.new.by-hetzner :private_keys="$this->privateKeys" :limit_reached="false" />
|
||||||
</x-modal-input>
|
</x-modal-input>
|
||||||
|
@endif
|
||||||
@endcan
|
@endcan
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue