Build [v1.10.7]

This commit is contained in:
2026-04-15 19:40:00 +03:00
parent be251c8a40
commit 79e3152ce8
3 changed files with 8 additions and 30 deletions

View File

@@ -482,12 +482,6 @@ export default function Home() {
</div>
</div>
<div className="flex items-center gap-2">
<button
onClick={() => { setIsSelecting(false); setCapturedImage(null); setCountdown(4); }}
className="w-full py-4 bg-slate-800 hover:bg-slate-700 text-white rounded-2xl font-black text-xs uppercase tracking-widest transition-all active:scale-95 border border-slate-700 shadow-xl"
>
Abort Cycle
</button>
<button
onClick={handleSync}
disabled={syncing}
@@ -528,10 +522,10 @@ export default function Home() {
<div className="flex justify-between items-center">
<h2 className="text-lg font-semibold">scanning...</h2>
<button
onClick={() => setIsEnterprise(false)}
className="text-xs font-black text-primary hover:underline uppercase tracking-tighter"
onClick={() => setShowScanner(false)}
className="p-2.5 bg-slate-900 border border-slate-800 text-slate-400 rounded-xl hover:text-rose-500 transition-all active:scale-95"
>
Profile Swap
<X size={18} />
</button>
</div>
<Scanner onScanSuccess={onScanSuccess} onOCRMatch={onOCRMatch} />
@@ -545,21 +539,7 @@ export default function Home() {
<Smartphone className="w-10 h-10 text-primary group-hover:scale-110 transition-transform" />
</button>
<div>
<h2 className="text-3xl font-black text-white tracking-tight">Protocol Access</h2>
<p className="text-slate-400 text-xs font-bold uppercase tracking-widest mt-1">Select operator profile to initialize</p>
</div>
<div className="w-full h-px bg-slate-800/50 my-2" />
<div className="w-full flex justify-center">
<button
onClick={() => setIsEnterprise(true)}
className="flex items-center justify-center gap-2 py-4 rounded-2xl border border-dashed border-slate-700 text-slate-400 hover:text-white hover:border-slate-500 transition-all font-bold text-xs"
>
<Lock size={12} />
Enterprise
</button>
<div className="w-full flex justify-center mt-4">
<button
onClick={() => setShowOnboarding(true)}
className="w-full flex flex-col items-center justify-center p-8 rounded-[2rem] bg-indigo-500/5 border border-indigo-500/20 group hover:border-indigo-500/50 transition-all font-black text-indigo-400 gap-4"
@@ -592,9 +572,6 @@ export default function Home() {
{selectedItem && (
<div className="fixed inset-0 z-50 flex items-end sm:items-center justify-center p-4 bg-slate-950/80 backdrop-blur-sm animate-in fade-in duration-200">
<div className="w-full max-w-lg bg-slate-900 border border-slate-800 rounded-[2.5rem] shadow-2xl p-6 overflow-hidden animate-in slide-in-from-bottom-10 duration-300">
<div className="flex justify-between items-center px-1">
<p className="text-xs font-black text-slate-400 uppercase tracking-widest italic">LDAP Authentication</p>
</div>
<div className="flex justify-between items-center mb-6">
<h3 className="text-xl font-black tracking-tight flex items-center gap-2">
{isEditing ? "Edit Metadata" : selectedItem.name}