2023-05-08 11:36:49 +00:00
|
|
|
<x-layout>
|
2023-05-31 20:23:17 +00:00
|
|
|
<h1>New Source</h1>
|
2023-08-14 12:00:10 +00:00
|
|
|
<div class="subtitle ">Add source providers for your applications.</div>
|
2023-09-05 08:03:28 +00:00
|
|
|
<div x-data="{ activeTab: window.location.hash ? window.location.hash.substring(1) : 'github' }">
|
|
|
|
{{-- <div class="flex justify-center h-full gap-2 pb-6">
|
2024-03-24 15:00:25 +00:00
|
|
|
<a class="flex items-center justify-center w-1/2 p-2 transition-colors rounded-none min-h-12 bg-coolgray-200 hover:bg-coollabs-100 hover:dark:text-white hover:no-underline"
|
|
|
|
:class="activeTab === 'github' && 'bg-coollabs dark:text-white'"
|
2023-08-11 18:19:42 +00:00
|
|
|
@click.prevent="activeTab = 'github'; window.location.hash = 'github'" href="#">GitHub
|
2023-05-31 20:23:17 +00:00
|
|
|
</a>
|
2024-03-24 15:00:25 +00:00
|
|
|
<a class="flex items-center justify-center w-1/2 p-2 transition-colors rounded-none min-h-12 bg-coolgray-200 hover:bg-coollabs-100 hover:dark:text-white hover:no-underline"
|
|
|
|
:class="activeTab === 'gitlab' && 'bg-coollabs dark:text-white'"
|
2023-08-11 18:19:42 +00:00
|
|
|
@click.prevent="activeTab = 'gitlab'; window.location.hash = 'gitlab'" href="#">GitLab
|
2023-05-31 20:23:17 +00:00
|
|
|
</a>
|
2023-09-05 08:03:28 +00:00
|
|
|
</div> --}}
|
2023-05-31 20:23:17 +00:00
|
|
|
<div x-cloak x-show="activeTab === 'github'" class="h-full">
|
2023-08-11 18:19:42 +00:00
|
|
|
<livewire:source.github.create />
|
2023-05-31 20:23:17 +00:00
|
|
|
</div>
|
2023-09-05 08:03:28 +00:00
|
|
|
{{-- <div x-cloak x-show="activeTab === 'gitlab'" class="h-full">
|
2023-06-12 20:02:10 +00:00
|
|
|
WIP
|
2023-09-05 08:03:28 +00:00
|
|
|
</div> --}}
|
2023-05-31 20:23:17 +00:00
|
|
|
</div>
|
2023-05-08 11:36:49 +00:00
|
|
|
</x-layout>
|