<!DOCTYPE html>
<html lang="tr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Yönetim Girişi · {{.S.SiteName}}</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=Sora:wght@600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="/static/admin.css?v=8">
<link rel="icon" href="/static/img/logo-mark.svg?v=2">
</head>
<body class="login-body">
<div class="login-card">
  <div class="login-brand"><span class="brand-mark"><img class="brand-img" src="/static/img/logo-mark.svg" alt="BabyToyAkü logo"></span> {{$bp := brandParts .S.SiteName}}<span class="brand-text">{{index $bp 0}}<span class="brand-x">{{index $bp 1}}</span></span></div>
  <h1>Yönetim Paneli</h1>
  {{if .Hata}}<div class="alert alert-err">Kullanıcı adı veya şifre hatalı.</div>{{end}}
  <form method="post" action="/admin/giris">
    <label>Kullanıcı Adı<input type="text" name="user" required autofocus autocomplete="username"></label>
    <label>Şifre<input type="password" name="pass" required autocomplete="current-password"></label>
    <button class="btn btn-gold btn-block" type="submit">Giriş Yap</button>
  </form>
  <a class="login-back" href="/">← Siteye dön</a>
</div>
</body>
</html>
