Files
2026-11-22 00:47:21 +00:00

203 lines
11 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html lang="tr">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
<meta name="theme-color" content="#e9eef5" />
<title>Numex Soft ID — Güvenli Giriş</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap" rel="stylesheet" />
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 3.5 7v10L12 22l8.5-5V7L12 2Zm0 3.2 5.7 3.35v6.9L12 18.8l-5.7-3.35v-6.9L12 5.2Z' fill='%234a86f7'/%3E%3C/svg%3E" />
<link rel="stylesheet" href="styles.css" />
</head>
<body data-state="login">
<!-- ================= ARKA PLAN: KABARTMALI GEOMETRİK ŞEKİLLER ================= -->
<div class="scene" aria-hidden="true">
<div class="bg-shapes">
<div class="shape shape--circle s1" data-depth="26"></div>
<div class="shape shape--square s2" data-depth="46"></div>
<div class="shape shape--pill s3" data-depth="18"></div>
<div class="shape shape--ring s4" data-depth="60"></div>
<div class="shape shape--circle s5" data-depth="34"></div>
<div class="shape shape--square s6" data-depth="22"></div>
<div class="shape shape--pill s7" data-depth="40"></div>
<div class="shape shape--ring s8" data-depth="14"></div>
</div>
<div class="glow" id="pointerGlow"></div>
</div>
<!-- ================= ÜST MARKA ================= -->
<header class="brand" aria-label="Numex Soft ID">
<span class="brand__mark" aria-hidden="true">
<svg viewBox="0 0 24 24" width="20" height="20"><path d="M12 2 3.5 7v10L12 22l8.5-5V7L12 2Zm0 3.2 5.7 3.35v6.9L12 18.8l-5.7-3.35v-6.9L12 5.2Z" fill="currentColor"/></svg>
</span>
<span class="brand__text">Numex <b>Soft&nbsp;ID</b></span>
</header>
<main class="stage">
<!-- ================= 3D KİLİT (sahnede, kart ile birlikte hareket eder) ================= -->
<div class="lock-wrap" id="lockWrap">
<div class="lock" id="lock" role="img" aria-label="Üç boyutlu kilit simgesi — kilitli">
<div class="lock__stage">
<div class="lock__body">
<div class="lock__face">
<div class="lock__keyhole"><i></i></div>
<div class="lock__shine"></div>
</div>
<div class="lock__edge lock__edge--r"></div>
<div class="lock__edge lock__edge--b"></div>
</div>
<div class="lock__shackle">
<div class="lock__shackleArm"></div>
</div>
</div>
<div class="lock__shadow"></div>
</div>
</div>
<!-- ================= KART: GİRİŞ ================= -->
<section class="card card--login is-active" id="cardLogin" aria-labelledby="loginTitle">
<div class="card__inner">
<div class="card__head">
<p class="eyebrow">Güvenli erişim</p>
<h1 id="loginTitle">Tekrar hoş geldin</h1>
<p class="sub">Hesabına devam etmek için bilgilerini gir.</p>
</div>
<form class="form" id="loginForm" novalidate>
<div class="field" data-field="email">
<label class="field__label" for="email">E-posta adresi</label>
<div class="field__shell">
<span class="field__icon" aria-hidden="true">
<svg viewBox="0 0 24 24" width="18" height="18"><path d="M3 6.5A2.5 2.5 0 0 1 5.5 4h13A2.5 2.5 0 0 1 21 6.5v11A2.5 2.5 0 0 1 18.5 20h-13A2.5 2.5 0 0 1 3 17.5v-11Zm2.2.3 6.8 5.1 6.8-5.1" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"/></svg>
</span>
<input class="field__input" id="email" name="email" type="email" inputmode="email" autocomplete="username"
placeholder="ornek@numex.ai" spellcheck="false" aria-describedby="emailError" />
</div>
<p class="field__error" id="emailError" role="alert" aria-live="polite"></p>
</div>
<div class="field" data-field="password">
<label class="field__label" for="password">Şifre</label>
<div class="field__shell">
<span class="field__icon" aria-hidden="true">
<svg viewBox="0 0 24 24" width="18" height="18"><rect x="4.5" y="10" width="15" height="10" rx="3" fill="none" stroke="currentColor" stroke-width="1.7"/><path d="M8 10V7.6a4 4 0 0 1 8 0V10" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round"/></svg>
</span>
<input class="field__input" id="password" name="password" type="password" autocomplete="current-password"
placeholder="••••••••" aria-describedby="passwordError" />
<button class="field__peek" type="button" id="togglePassword" aria-label="Şifreyi göster" aria-pressed="false">
<svg class="eye-open" viewBox="0 0 24 24" width="19" height="19"><path d="M2.5 12S6 5.8 12 5.8 21.5 12 21.5 12 18 18.2 12 18.2 2.5 12 2.5 12Z" fill="none" stroke="currentColor" stroke-width="1.6"/><circle cx="12" cy="12" r="3.1" fill="none" stroke="currentColor" stroke-width="1.6"/></svg>
<svg class="eye-off" viewBox="0 0 24 24" width="19" height="19"><path d="M2.5 12S6 5.8 12 5.8 21.5 12 21.5 12 18 18.2 12 18.2 2.5 12 2.5 12Z" fill="none" stroke="currentColor" stroke-width="1.6"/><circle cx="12" cy="12" r="3.1" fill="none" stroke="currentColor" stroke-width="1.6"/><path d="M4 20 20 4" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/></svg>
</button>
</div>
<p class="field__error" id="passwordError" role="alert" aria-live="polite"></p>
</div>
<div class="row">
<label class="check">
<input type="checkbox" id="remember" checked />
<span class="check__box" aria-hidden="true">
<svg viewBox="0 0 24 24" width="13" height="13"><path d="M5 12.8 9.4 17 19 6.8" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>
</span>
<span class="check__text">Beni hatırla</span>
</label>
<a class="link" href="#" id="forgot" role="button">Şifremi unuttum</a>
</div>
<button class="btn btn--primary" type="submit" id="loginBtn">
<span class="btn__label">Giriş yap</span>
<span class="btn__spinner" aria-hidden="true"></span>
</button>
<p class="form__note" id="formNote" role="alert" aria-live="polite"></p>
</form>
<p class="card__foot">Hesabın yok mu? <a class="link" href="#" id="createAccount" role="button">Hesap oluştur</a></p>
<div class="demo" role="note">
<div class="demo__row"><span class="demo__k">Demo e-posta</span><button class="demo__v" type="button" data-fill="email">demo@numex.ai</button></div>
<div class="demo__row"><span class="demo__k">Demo şifre</span><button class="demo__v" type="button" data-fill="password">Numex2026!</button></div>
<div class="demo__row"><span class="demo__k">Doğrulama kodu</span><span class="demo__v demo__v--static">482913</span></div>
<p class="demo__warn">Bu bir <b>tanıtım demosudur</b> — veriler yalnızca tarayıcınızda durur. Gerçek güvenlik için sunucu taraflı kimlik doğrulama, oturum yönetimi ve OTP altyapısı gerekir.</p>
</div>
</div>
</section>
<!-- ================= KART: DOĞRULAMA ================= -->
<section class="card card--verify" id="cardVerify" aria-labelledby="verifyTitle" hidden>
<div class="card__inner">
<div class="card__head">
<p class="eyebrow">İki adımlı doğrulama</p>
<h1 id="verifyTitle">Kodu doğrula</h1>
<p class="sub"><b id="verifyMail">demo@numex.ai</b> adresine 6 haneli kod gönderdik.</p>
</div>
<form class="form form--otp" id="otpForm" novalidate>
<fieldset class="otp" id="otpGroup">
<legend class="sr-only">6 haneli doğrulama kodu</legend>
<input class="otp__cell" id="otp1" inputmode="numeric" autocomplete="one-time-code" maxlength="1" aria-label="1. hane" />
<input class="otp__cell" id="otp2" inputmode="numeric" maxlength="1" aria-label="2. hane" />
<input class="otp__cell" id="otp3" inputmode="numeric" maxlength="1" aria-label="3. hane" />
<input class="otp__cell" id="otp4" inputmode="numeric" maxlength="1" aria-label="4. hane" />
<input class="otp__cell" id="otp5" inputmode="numeric" maxlength="1" aria-label="5. hane" />
<input class="otp__cell" id="otp6" inputmode="numeric" maxlength="1" aria-label="6. hane" />
</fieldset>
<p class="field__error field__error--center" id="otpError" role="alert" aria-live="polite"></p>
<button class="btn btn--primary" type="submit" id="verifyBtn">
<span class="btn__label">Doğrula</span>
<span class="btn__spinner" aria-hidden="true"></span>
</button>
<div class="resend">
<span class="resend__text">Kod gelmedi mi?</span>
<button class="link link--btn" type="button" id="resendBtn">Tekrar gönder</button>
<span class="resend__timer" id="resendTimer" hidden></span>
</div>
<button class="link link--btn link--muted" type="button" id="backBtn">← Giriş ekranına dön</button>
</form>
<div class="demo demo--compact" role="note">
<div class="demo__row"><span class="demo__k">Demo kod</span><span class="demo__v demo__v--static">482913</span></div>
<p class="demo__warn">Aynı kodu kopyalayıp kutuların herhangi birine yapıştırabilirsin.</p>
</div>
</div>
</section>
<!-- ================= KART: BAŞARI ================= -->
<section class="card card--success" id="cardSuccess" aria-labelledby="successTitle" hidden>
<div class="card__inner card__inner--center">
<div class="badge" aria-hidden="true">
<svg viewBox="0 0 24 24" width="30" height="30"><path d="M5 12.8 9.6 17.4 19 7.6" fill="none" stroke="currentColor" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"/></svg>
</div>
<p class="eyebrow">Kimlik doğrulandı</p>
<h1 id="successTitle">Güvenli alan açıldı</h1>
<p class="sub">Hoş geldin, <b id="successMail">demo@numex.ai</b>. Oturumun bu tarayıcıda hazır — bu bir demo oturumudur, sunucuya hiçbir şey gönderilmedi.</p>
<div class="session">
<div class="session__row"><span>Oturum kimliği</span><b id="sessionId">—</b></div>
<div class="session__row"><span>Doğrulama</span><b>2FA · TOTP</b></div>
<div class="session__row"><span>Durum</span><b class="ok">Aktif</b></div>
</div>
<button class="btn btn--ghost" type="button" id="logoutBtn">Güvenli çıkış</button>
</div>
</section>
</main>
<footer class="legal">
<p>Numex Soft ID · demo. Gerçek kullanıcı parolası istenmez ve saklanmaz.</p>
</footer>
<script src="app.js"></script>
</body>
</html>