Deploy Ladill Transfer / deploy (push) Successful in 26s
Add shared btn-primary components and plus icons on create/new actions; limit overview recent transfers to three. Co-authored-by: Cursor <cursoragent@cursor.com>
35 lines
1.9 KiB
PHP
35 lines
1.9 KiB
PHP
<x-user-layout>
|
|
<x-slot name="title">Settings</x-slot>
|
|
<div class="mx-auto max-w-2xl space-y-6">
|
|
<div>
|
|
<h1 class="text-xl font-semibold text-slate-900">Settings</h1>
|
|
<p class="mt-1 text-sm text-slate-500">Notifications and preferences for Ladill Transfer.</p>
|
|
</div>
|
|
|
|
@if(session('success'))
|
|
<div class="rounded-xl border border-emerald-200 bg-emerald-50 px-4 py-3 text-sm text-emerald-800">{{ session('success') }}</div>
|
|
@endif
|
|
|
|
<form method="post" action="{{ route('account.settings.update') }}" class="space-y-5 rounded-2xl border border-slate-200 bg-white p-6">
|
|
@csrf
|
|
@method('PUT')
|
|
<div>
|
|
<label for="notify_email" class="block text-sm font-medium text-slate-700">Notification email</label>
|
|
<input type="email" name="notify_email" id="notify_email" value="{{ old('notify_email', $settings->notify_email ?? $account->email) }}"
|
|
class="mt-1 block w-full rounded-xl border-slate-200 text-sm shadow-sm focus:border-indigo-500 focus:ring-indigo-500">
|
|
</div>
|
|
<label class="flex items-start gap-3">
|
|
<input type="checkbox" name="product_updates" value="1" @checked(old('product_updates', $settings->product_updates ?? true))
|
|
class="mt-1 rounded border-slate-300 text-indigo-600 focus:ring-indigo-500">
|
|
<span>
|
|
<span class="block text-sm font-medium text-slate-800">Ladill Transfer updates</span>
|
|
<span class="block text-sm text-slate-500">Product news and tips for file sharing.</span>
|
|
</span>
|
|
</label>
|
|
<div class="flex justify-end">
|
|
<button type="submit" class="btn-primary">Save settings</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</x-user-layout>
|