ui ui ui ui ui ui ux ux ux ux ux ux
This commit is contained in:
@@ -1,15 +1,20 @@
|
||||
<x-layout>
|
||||
<div class="flex items-start gap-2">
|
||||
<h1>Sources</h1>
|
||||
<a class="text-white hover:no-underline" href="{{ route('source.new') }}">
|
||||
<x-forms.button >+ Add</x-forms.button>
|
||||
</a>
|
||||
<x-slide-over fullScreen closeWithX>
|
||||
<x-slot:title>New GitHub App</x-slot:title>
|
||||
<x-slot:content>
|
||||
<livewire:source.github.create />
|
||||
</x-slot:content>
|
||||
<button @click="slideOverOpen=true" class="button">+
|
||||
Add</button>
|
||||
</x-slide-over>
|
||||
</div>
|
||||
<div class="subtitle ">All Sources.</div>
|
||||
<div class="grid gap-2 lg:grid-cols-2">
|
||||
@forelse ($sources as $source)
|
||||
@if ($source->getMorphClass() === 'App\Models\GithubApp')
|
||||
<a class="flex gap-4 text-center hover:no-underline box group"
|
||||
<a class="flex gap-4 text-center hover:no-underline box group"
|
||||
href="{{ route('source.github.show', ['github_app_uuid' => data_get($source, 'uuid')]) }}">
|
||||
<x-git-icon class="text-white w-9 h-9" git="{{ $source->getMorphClass() }}" />
|
||||
<div class="text-left group-hover:text-white">
|
||||
@@ -21,7 +26,7 @@
|
||||
</a>
|
||||
@endif
|
||||
@if ($source->getMorphClass() === 'App\Models\GitlabApp')
|
||||
<a class="flex gap-4 text-center hover:no-underline box group"
|
||||
<a class="flex gap-4 text-center hover:no-underline box group"
|
||||
href="{{ route('source.gitlab.show', ['gitlab_app_uuid' => data_get($source, 'uuid')]) }}">
|
||||
<x-git-icon class="text-white w-9 h-9" git="{{ $source->getMorphClass() }}" />
|
||||
<div class="text-left group-hover:text-white">
|
||||
|
||||
Reference in New Issue
Block a user