Unified settings modal + dashboard shell redesign #69

Merged
uz1mani merged 107 commits from staging into main 2026-03-26 09:15:33 +00:00
44 changed files with 3668 additions and 370 deletions
Showing only changes of commit 7dc6e0daf5 - Show all commits

View File

@@ -114,6 +114,15 @@ export default function SiteVisibilityTab({ siteId }: { siteId: string }) {
onChange={e => setPassword(e.target.value)} onChange={e => setPassword(e.target.value)}
placeholder={site.has_password ? 'Leave empty to keep current password' : 'Set a password'} placeholder={site.has_password ? 'Leave empty to keep current password' : 'Set a password'}
/> />
{site.has_password && (
<button
type="button"
onClick={() => { setPasswordEnabled(false); setPassword('') }}
className="mt-2 text-xs font-medium text-red-400 hover:text-red-300 transition-colors"
>
Remove password protection
</button>
)}
</motion.div> </motion.div>
)} )}
</AnimatePresence> </AnimatePresence>