lasthourcloud/resources/views/livewire/project/new/public-git-repository.blade.php
Andras Bacsai 203c19c01f wip
2023-05-18 15:12:26 +02:00

21 lines
1.2 KiB
PHP

<div>
<h1>Enter a public repository URL</h1>
<form class="flex flex-col gap-2" wire:submit.prevent='submit'>
<x-inputs.checkbox instantSave id="is_static" label="Is it a static site?" />
<div class="flex gap-2">
<x-inputs.input id="repository_url" label="Repository URL"
helper="<span class='inline-block font-bold text-warning'>Example</span>https://github.com/coollabsio/coolify-examples => main branch will be selected<br>https://github.com/coollabsio/coolify-examples/tree/nodejs-fastify => nodejs-fastify branch will be selected" />
@if ($is_static)
<x-inputs.input id="publish_directory" label="Publish Directory"
helper="If there is a build process involved (like Svelte, React, Next, etc..), please specify the output directory for the build assets." />
@else
<x-inputs.input type="number" id="port" label="Port" :readonly="$is_static"
helper="The port your application listens on." />
@endif
</div>
<x-inputs.button type="submit">
Submit
</x-inputs.button>
</form>
</div>