nimuli/resources/views/livewire/pages/settings/index.blade.php

33 lines
1.5 KiB
PHP

<div>
<div class="mb-6">
<h1 class="text-2xl font-semibold text-t1">Settings</h1>
<p class="text-sm text-t2 mt-1">Manage your workspace settings</p>
</div>
<div class="space-y-4">
{{-- Workspace Name --}}
<div class="bg-s1 border border-white/[.06] rounded-xl p-6">
<h3 class="text-sm font-medium text-t1 mb-4">Workspace</h3>
<div class="max-w-sm space-y-4">
<div>
<label class="block text-xs font-medium text-t2 mb-1.5">Name</label>
<input type="text" value="{{ app('current_workspace')?->name }}"
class="block w-full px-3 py-2.5 bg-s2 border border-white/[.06] rounded-lg text-sm text-t1 focus:outline-none focus:ring-1 focus:ring-blue/50">
</div>
<button class="px-4 py-2 bg-blue text-white text-sm font-medium rounded-lg hover:opacity-90">
Save Changes
</button>
</div>
</div>
{{-- Danger Zone --}}
<div class="bg-s1 border border-red/20 rounded-xl p-6">
<h3 class="text-sm font-medium text-red mb-2">Danger Zone</h3>
<p class="text-sm text-t2 mb-4">Once you delete a workspace, there is no going back.</p>
<button class="px-4 py-2 bg-red/10 text-red text-sm font-medium rounded-lg hover:bg-red/20 border border-red/20">
Delete Workspace
</button>
</div>
</div>
</div>