v4.0.5: 로그인·덱·관리자 Tailwind 레이아웃 통합

공통 UI를 components.css로 빌드에 포함하고 로그인·회원가입·내 덱·공개 덱·관리자 화면 레이아웃을 정리했다.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-23 15:48:09 +09:00
parent 93e81ce3ea
commit ba89235207
17 changed files with 1376 additions and 99 deletions

View File

@@ -4,34 +4,34 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="./style/output.css" />
<link rel="stylesheet" href="./style/brand.css" />
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&family=Noto+Sans+KR:wght@400;700;900&display=swap" rel="stylesheet" />
<title>로그인 - UNIARE</title>
</head>
<body class="min-h-screen bg-gradient-to-br from-slate-50 to-slate-100 font-['Pretendard','Inter','Noto_Sans_KR',sans-serif] text-slate-900">
<nav class="sticky top-0 z-50 border-b border-slate-200 bg-white/70 backdrop-blur-xl">
<div class="mx-auto flex h-16 max-w-7xl items-center justify-between px-4 sm:px-6">
<a href="/" class="inline-flex shrink-0 items-center leading-none text-slate-800 no-underline">
<body class="app-page">
<nav class="app-nav">
<div class="app-nav-inner">
<a href="/" class="app-brand">
<img src="/images/assets/uniare-h48.png" alt="UNIARE" class="app-brand-logo" height="32" />
</a>
</div>
</nav>
<main class="mx-auto max-w-[28rem] px-6 py-12 sm:py-16">
<main class="mx-auto w-full max-w-md px-6 pt-12 pb-16 sm:pt-16 sm:pb-20">
<header class="mb-8 text-center">
<h1 class="mb-2 text-[1.75rem] font-black tracking-[-0.02em] text-slate-900" data-i18n="loginPageTitle">로그인</h1>
<p class="m-0 text-sm leading-normal text-slate-500" data-i18n-html="loginPageDesc">덱을 저장하고 관리하려면<br />계정으로 로그인하세요.</p>
<h1 class="mb-2 text-3xl font-black tracking-tight text-slate-900" data-i18n="loginPageTitle">로그인</h1>
<p class="text-sm leading-relaxed text-slate-500" data-i18n-html="loginPageDesc">덱을 저장하고 관리하려면<br />계정으로 로그인하세요.</p>
</header>
<form id="login-form" class="rounded-2xl border border-slate-200 bg-white p-7 shadow-[0_4px_24px_rgba(15,23,42,0.06)]">
<form id="login-form" class="rounded-2xl border border-slate-200 bg-white p-7 shadow-lg shadow-slate-900/5">
<div class="mb-5">
<label class="mb-1.5 block text-[0.6875rem] font-bold uppercase tracking-wider text-slate-400" for="email" data-i18n="emailLabel">이메일</label>
<input type="email" id="email" required class="block w-full rounded-xl border border-slate-200 bg-white px-4 py-3 text-sm text-slate-900 outline-none transition placeholder:text-slate-300 focus:border-blue-500 focus:ring-3 focus:ring-blue-500/15" placeholder="you@example.com" autocomplete="email" />
<label class="mb-1.5 block text-xs font-bold uppercase tracking-wider text-slate-400" for="email" data-i18n="emailLabel">이메일</label>
<input type="email" id="email" required class="box-border block w-full rounded-xl border border-slate-200 bg-white px-4 py-3 text-sm text-slate-900 outline-none transition placeholder:text-slate-300 focus:border-blue-500 focus:ring-2 focus:ring-blue-500/15" placeholder="you@example.com" autocomplete="email" />
</div>
<div>
<label class="mb-1.5 block text-[0.6875rem] font-bold uppercase tracking-wider text-slate-400" for="password" data-i18n="passwordLabel">비밀번호</label>
<input type="password" id="password" required class="block w-full rounded-xl border border-slate-200 bg-white px-4 py-3 text-sm text-slate-900 outline-none transition placeholder:text-slate-300 focus:border-blue-500 focus:ring-3 focus:ring-blue-500/15" placeholder="••••••••" autocomplete="current-password" />
<label class="mb-1.5 block text-xs font-bold uppercase tracking-wider text-slate-400" for="password" data-i18n="passwordLabel">비밀번호</label>
<input type="password" id="password" required class="box-border block w-full rounded-xl border border-slate-200 bg-white px-4 py-3 text-sm text-slate-900 outline-none transition placeholder:text-slate-300 focus:border-blue-500 focus:ring-2 focus:ring-blue-500/15" placeholder="••••••••" autocomplete="current-password" />
</div>
<p id="error-msg" class="mt-4 hidden text-[0.8125rem] text-red-500"></p>
<p id="error-msg" class="mt-4 hidden text-sm text-red-500"></p>
<button type="submit" class="mt-6 block w-full cursor-pointer rounded-xl border-0 bg-blue-600 px-4 py-3.5 text-sm font-bold text-white transition hover:bg-blue-700 active:scale-[0.98]" data-i18n="loginButton">로그인</button>
</form>
@@ -41,7 +41,7 @@
</p>
</main>
<footer class="px-6 pb-5 text-center text-[0.625rem] font-medium tracking-[0.02em] text-slate-300" aria-hidden="true">v4.0.3</footer>
<footer class="px-6 pb-5 text-center text-[0.625rem] font-medium tracking-wide text-slate-300" aria-hidden="true">v4.0.5</footer>
<script src="/script/page-i18n.js"></script>
<script src="/script/api.js"></script>