Changes auto-committed by Conductor

This commit is contained in:
Andras Bacsai 2025-10-16 14:34:32 +02:00
parent bc972505e3
commit ac653ddcbc

View file

@ -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,34 +165,36 @@ 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)
<x-modal-input title="Connect a Hetzner Server" isFullWidth> @if ($currentState === 'select-server-type')
<x-slot:content> <x-modal-input title="Connect a Hetzner Server" isFullWidth>
<div <x-slot:content>
class="group relative box-without-bg cursor-pointer hover:border-coollabs transition-all duration-200 p-6 h-full min-h-[210px]"> <div
<div class="flex flex-col gap-4 text-left"> class="group relative box-without-bg cursor-pointer hover:border-coollabs transition-all duration-200 p-6 h-full min-h-[210px]">
<div class="flex items-center justify-between"> <div class="flex flex-col gap-4 text-left">
<svg class="size-10" viewBox="0 0 200 200" <div class="flex items-center justify-between">
xmlns="http://www.w3.org/2000/svg"> <svg class="size-10" viewBox="0 0 200 200"
<rect width="200" height="200" fill="#D50C2D" rx="8" /> xmlns="http://www.w3.org/2000/svg">
<path d="M40 40 H60 V90 H140 V40 H160 V160 H140 V110 H60 V160 H40 Z" <rect width="200" height="200" fill="#D50C2D" rx="8" />
fill="white" /> <path d="M40 40 H60 V90 H140 V40 H160 V160 H140 V110 H60 V160 H40 Z"
</svg> fill="white" />
<span </svg>
class="px-2 py-1 text-xs font-bold uppercase tracking-wide bg-coollabs/10 dark:bg-warning/20 text-coollabs dark:text-warning rounded"> <span
Recommended class="px-2 py-1 text-xs font-bold uppercase tracking-wide bg-coollabs/10 dark:bg-warning/20 text-coollabs dark:text-warning rounded">
</span> Recommended
</div> </span>
<div> </div>
<h3 class="text-xl font-bold mb-2">Hetzner Cloud</h3> <div>
<p class="text-sm dark:text-neutral-400"> <h3 class="text-xl font-bold mb-2">Hetzner Cloud</h3>
Deploy servers directly from your Hetzner Cloud account. <p class="text-sm dark:text-neutral-400">
</p> Deploy servers directly from your Hetzner Cloud account.
</p>
</div>
</div> </div>
</div> </div>
</div> </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>