2023-04-25 12:43:35 +00:00
|
|
|
<div>
|
2023-05-11 13:20:02 +00:00
|
|
|
<h1>Choose a public repository</h1>
|
|
|
|
<form class="flex flex-col gap-2 w-96" wire:submit.prevent='submit'>
|
|
|
|
<x-inputs.input instantSave type="checkbox" id="is_static" label="Is it a static site?" />
|
|
|
|
<div class="flex gap-2">
|
2023-05-10 11:05:32 +00:00
|
|
|
<x-inputs.input class="w-96" id="repository_url" label="Repository URL" />
|
2023-04-26 11:01:09 +00:00
|
|
|
@if ($is_static)
|
2023-05-03 12:09:10 +00:00
|
|
|
<x-inputs.input id="publish_directory" label="Publish Directory" />
|
2023-04-26 11:01:09 +00:00
|
|
|
@else
|
2023-05-04 08:45:09 +00:00
|
|
|
<x-inputs.input type="number" id="port" label="Port" :readonly="$is_static" />
|
2023-04-26 11:01:09 +00:00
|
|
|
@endif
|
2023-05-11 13:20:02 +00:00
|
|
|
</div>
|
|
|
|
<x-inputs.button type="submit">
|
|
|
|
Submit
|
|
|
|
</x-inputs.button>
|
|
|
|
</form>
|
2023-04-25 12:43:35 +00:00
|
|
|
</div>
|