enh(dashboard): update instance title layout and cosmetics

This commit is contained in:
Ben Allfree 2025-07-18 19:04:59 -07:00
parent bb9d73c4f1
commit 6aad803416

View File

@ -48,24 +48,24 @@
{#if isReady}
<div class="flex flex-row items-center justify-between mb-6 gap-4 pl-4 sm:pl-6 lg:pl-8 pr-2">
<div>
<div class="flex items-center gap-2">
<h2 class="text-4xl md:text-left text-base-content font-bold mb-3 break-words">
<div class="flex items-center gap-3">
<h2 class="text-4xl md:text-left text-base-content font-bold break-words">
{$instance.subdomain}
</h2>
</div>
<span class="text-gray-400">
Version {$instance.version} -
<span class="capitalize">{$instance.status}</span>
<span class="bg-gray-200 text-gray-700 text-xs px-2 py-1 rounded-full">
v{$instance.version}
</span>
{#if $instance.dev}
<a
href={`/instances/${$instance.id}/dev`}
class="text-warning animate-pulse border-warning border-2 p-1 rounded"
class="text-warning animate-pulse text-2xl"
title="Dev Mode Active (SLOW)"
>
Dev Mode Active (SLOW)
🚧
</a>
{/if}
</div>
</div>
<div>
<Toggle checked={$instance.power} onChange={handlePowerChange($instance.id)} />