Unified settings modal + dashboard shell redesign #69

Merged
uz1mani merged 107 commits from staging into main 2026-03-26 09:15:33 +00:00
46 changed files with 4490 additions and 381 deletions
Showing only changes of commit 095b68d769 - Show all commits

View File

@@ -105,9 +105,16 @@ export default function SiteGeneralTab({ siteId, onDirtyChange, onRegisterSave }
</div> </div>
<div className="space-y-3"> <div className="space-y-3">
<div className="p-4 rounded-xl border border-neutral-800 bg-neutral-800/30"> <div className="grid grid-cols-2 gap-3">
<label className="block text-sm font-medium text-neutral-300 mb-1.5">Site Name</label> <div className="p-4 rounded-xl border border-neutral-800 bg-neutral-800/30">
<Input value={name} onChange={e => setName(e.target.value)} placeholder="My Website" /> <label className="block text-sm font-medium text-neutral-300 mb-1.5">Site Name</label>
<Input value={name} onChange={e => setName(e.target.value)} placeholder="My Website" />
</div>
<div className="p-4 rounded-xl border border-neutral-800 bg-neutral-800/30">
<label className="block text-sm font-medium text-neutral-300 mb-1.5">Domain</label>
<Input value={site.domain} disabled className="opacity-60" />
<p className="text-xs text-neutral-500 mt-1">Cannot be changed.</p>
</div>
</div> </div>
<div className="p-4 rounded-xl border border-neutral-800 bg-neutral-800/30"> <div className="p-4 rounded-xl border border-neutral-800 bg-neutral-800/30">
@@ -119,12 +126,6 @@ export default function SiteGeneralTab({ siteId, onDirtyChange, onRegisterSave }
options={TIMEZONES.map(tz => ({ value: tz.value, label: tz.label }))} options={TIMEZONES.map(tz => ({ value: tz.value, label: tz.label }))}
/> />
</div> </div>
<div className="p-4 rounded-xl border border-neutral-800 bg-neutral-800/30">
<label className="block text-sm font-medium text-neutral-300 mb-1.5">Domain</label>
<Input value={site.domain} disabled className="opacity-60" />
<p className="text-xs text-neutral-500 mt-1">Domain cannot be changed after creation.</p>
</div>
</div> </div>
</div> </div>