This commit is contained in:
Andras Bacsai
2023-05-23 09:53:24 +02:00
parent c023fdae8b
commit ee515ff940
16 changed files with 69 additions and 32 deletions

View File

@@ -1,7 +1,11 @@
<x-layout>
<h1 class="border-b-2 border-solid border-coolgray-200">Server <span
class="text-xs text-neutral-400">{{ $server->name }}</span></h1>
<div x-data="{ activeTab: window.location.hash ? window.location.hash.substring(1) : 'general' }" class="flex pt-6">
<h1 class="pb-0">Server</h1>
<div class="text-sm border-b-2 border-solid breadcrumbs border-coolgray-200">
<ul>
<li>{{ data_get($server, 'name') }}</li>
</ul>
</div>
<div x-data="{ activeTab: window.location.hash ? window.location.hash.substring(1) : 'general' }" class="flex pt-10">
<div class="flex flex-col gap-4 min-w-fit">
<a :class="activeTab === 'general' && 'text-white'"
@click.prevent="activeTab = 'general'; window.location.hash = 'general'" href="#">General</a>