Public Source Viewer

비나래아카이브 개발자 포털

실제 서비스 구조를 살펴볼 수 있는 공개용 코드 뷰어입니다. 인증, 세션, 외부 연동, 토큰, 관리자 식별 등 보안상 민감한 구현은 파일 단위 또는 줄 단위로 검열됩니다.

Redacted View
view/hinana/lounge.ejs
공개 가능
1 <!DOCTYPE html>
2 <html lang="ko" xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <meta charset="utf-8" />
5 <meta name="color-scheme" content="light dark">
6 <meta name="viewport" content="width=device-width, initial-scale=1">
7 <link rel="manifest" href="/manifest.json">
8 <meta name="theme-color" content="<%= (typeof theme !== 'undefined' && theme === 'dark') ? '#10100f' : '#f6f4ef' %>">
9 <meta name="apple-mobile-web-app-title" content="비나래 라운지">
10 <meta name="description" content="비나래 아카이브의 라운지예요. 갤러리, 광장, 게임, 도구로 이어지는 조용한 안내실이에요.">
11 <meta property="og:type" content="website">
12 <meta property="og:site_name" content="비나래 아카이브">
13 <meta property="og:title" content="비나래 라운지">
14 <meta property="og:description" content="갤러리, 광장, 게임, 도구가 모여 있는 비나래 아카이브의 라운지예요.">
15 <meta property="og:url" content="https://hinana.moe/hinana/lounge">
16 <meta property="og:image" content="https://hinana.moe/image/lounge1.png">
17 <meta name="twitter:card" content="summary_large_image">
18 <meta name="twitter:title" content="비나래 라운지">
19 <meta name="twitter:description" content="갤러리, 광장, 게임, 도구가 모여 있는 비나래 아카이브의 라운지예요.">
20 <meta name="twitter:image" content="https://hinana.moe/image/lounge1.png">
21 <title>비나래 라운지</title>
22
23 <link rel="stylesheet" href="/vendors/bootstrap/css/bootstrap.min.css" />
24 <script src="/vendors/bootstrap/js/bootstrap.min.js"></script>
25 <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons/font/bootstrap-icons.css">
26
27 <style>
28 :root {
29 --font: 'Noto Sans KR', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
30 --bg-main: #f7f9fb;
31 --bg-paper: #ffffff;
32 --bg-panel: rgba(255,255,255,0.86);
33 --text-primary: #18202b;
34 --text-secondary: #687586;
35 --accent: #c5a059;
36 --accent-2: #d4b47a;
37 --accent-3: #d45f86;
38 --line: rgba(24, 32, 43, 0.11);
39 --shadow: 0 22px 60px rgba(27, 39, 56, 0.11);
40 --header: rgba(247,249,251,0.84);
41 }
42 body.dark-mode {
43 --bg-main: #0e1218;
44 --bg-paper: #151b24;
45 --bg-panel: rgba(20,27,37,0.84);
46 --text-primary: #eef4fb;
47 --text-secondary: #a3afbd;
48 --accent: #d4b47a;
49 --accent-2: #f0cf8a;
50 --accent-3: #ee89aa;
51 --line: rgba(238,244,251,0.12);
52 --shadow: 0 22px 64px rgba(0, 0, 0, 0.44);
53 --header: rgba(14,18,24,0.84);
54 }
55 * { box-sizing: border-box; }
56 html, body {
57 margin: 0;
58 min-height: 100%;
59 background:
60 linear-gradient(120deg, rgba(197,160,89,0.11), transparent 34%),
61 linear-gradient(260deg, rgba(212,180,122,0.10), transparent 36%),
62 var(--bg-main);
63 color: var(--text-primary);
64 font-family: var(--font);
65 overflow-x: hidden;
66 }
67 body { padding-top: 62px; }
68 a { color: inherit; text-decoration: none; }
69
70 .global-header {
71 min-height: 62px;
72 position: fixed;
73 top: 0;
74 left: 0;
75 right: 0;
76 z-index: 3000;
77 display: flex;
78 align-items: center;
79 justify-content: space-between;
80 gap: 18px;
81 padding: 0 22px;
82 background: var(--header);
83 border-bottom: 1px solid var(--line);
84 backdrop-filter: blur(18px);
85 -webkit-backdrop-filter: blur(18px);
86 box-shadow: 0 10px 30px rgba(27, 39, 56, 0.08);
87 }
88 .header-logo { height: 30px; width: auto; mix-blend-mode: multiply; }
89 body.dark-mode .header-logo { mix-blend-mode: screen; }
90 .header-nav {
91 position: absolute;
92 left: 50%;
93 transform: translateX(-50%);
94 display: flex;
95 align-items: center;
96 gap: 18px;
97 }
98 .nav-link {
99 color: var(--text-secondary);
100 font-weight: 850;
101 font-size: 0.92rem;
102 white-space: nowrap;
103 transition: color 0.18s, background 0.18s;
104 padding: 8px 10px;
105 border-radius: 8px;
106 }
107 .nav-link:hover, .nav-link.active {
108 color: var(--text-primary);
109 background: rgba(255,255,255,0.52);
110 }
111 body.dark-mode .nav-link:hover, body.dark-mode .nav-link.active { background: rgba(255,255,255,0.08); }
112 .header-controls { display: flex; align-items: center; gap: 9px; z-index: 2; }
113 .icon-btn, .map-link {
114 min-height: 36px;
115 border-radius: 999px;
116 border: 1px solid var(--line);
117 background: var(--bg-panel);
118 color: var(--text-secondary);
119 display: inline-flex;
120 align-items: center;
121 justify-content: center;
122 font-weight: 850;
123 font-size: 0.82rem;
124 }
125 .icon-btn { width: 36px; padding: 0; }
126 .map-link { gap: 7px; padding: 0 12px; }
127 .icon-btn:hover, .map-link:hover { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
128
129 .page {
130 width: min(1180px, calc(100% - 36px));
131 margin: 0 auto;
132 padding: 42px 0 38px;
133 }
134 .lounge-board {
135 display: grid;
136 grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
137 gap: 18px;
138 align-items: stretch;
139 }
140 .desk-panel, .menu-panel, .side-panel {
141 border: 1px solid var(--line);
142 background: var(--bg-panel);
143 border-radius: 8px;
144 box-shadow: var(--shadow);
145 backdrop-filter: blur(18px);
146 overflow: hidden;
147 }
148 .desk-panel {
149 min-height: 620px;
150 position: relative;
151 display: flex;
152 flex-direction: column;
153 justify-content: space-between;
154 }
155 .desk-photo {
156 position: relative;
157 min-height: 340px;
158 background: var(--bg-paper);
159 overflow: hidden;
160 }
161 .desk-photo img {
162 width: 100%;
163 height: 100%;
164 min-height: 340px;
165 object-fit: cover;
166 filter: saturate(0.96) contrast(1.02);
167 display: block;
168 }
169 .desk-photo::after {
170 content: "";
171 position: absolute;
172 inset: 0;
173 background: linear-gradient(180deg, transparent 48%, rgba(9,17,27,0.54));
174 }
175 .desk-stamp {
176 position: absolute;
177 left: 22px;
178 bottom: 20px;
179 z-index: 2;
180 display: inline-flex;
181 align-items: center;
182 gap: 8px;
183 padding: 8px 11px;
184 border: 1px solid rgba(255,255,255,0.32);
185 border-radius: 8px;
186 background: rgba(9,17,27,0.34);
187 color: #fff;
188 font-size: 0.78rem;
189 font-weight: 900;
190 backdrop-filter: blur(10px);
191 }
192 .desk-copy { padding: clamp(24px, 4vw, 36px); }
193 .eyebrow {
194 color: var(--accent);
195 font-size: 0.72rem;
196 font-weight: 950;
197 letter-spacing: 0.18em;
198 text-transform: uppercase;
199 margin-bottom: 14px;
200 }
201 .desk-title {
202 margin: 0;
203 font-size: clamp(2.4rem, 6vw, 5.2rem);
204 line-height: 0.96;
205 font-weight: 950;
206 letter-spacing: 0;
207 }
208 .desk-title span { color: var(--accent); }
209 .desk-desc {
210 margin: 18px 0 0;
211 color: var(--text-secondary);
212 line-height: 1.78;
213 font-size: 1rem;
214 }
215 .desk-actions { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 24px; }
216 .lounge-btn {
217 min-height: 42px;
218 display: inline-flex;
219 align-items: center;
220 gap: 8px;
221 padding: 0 14px;
222 border-radius: 8px;
223 border: 1px solid var(--line);
224 background: var(--bg-paper);
225 color: var(--text-primary);
226 font-size: 0.88rem;
227 font-weight: 900;
228 transition: transform 0.16s, color 0.16s, border-color 0.16s;
229 }
230 .lounge-btn.primary {
231 background: linear-gradient(135deg, var(--accent), var(--accent-2));
232 color: #fff;
233 border-color: transparent;
234 }
235 .lounge-btn:hover { transform: translateY(-2px); color: var(--accent); border-color: var(--accent); }
236 .lounge-btn.primary:hover { color: #fff; filter: brightness(1.04); }
237
238 .menu-panel { padding: clamp(22px, 4vw, 34px); }
239 .menu-head {
240 display: flex;
241 align-items: flex-end;
242 justify-content: space-between;
243 gap: 18px;
244 padding-bottom: 18px;
245 border-bottom: 1px solid var(--line);
246 margin-bottom: 16px;
247 }
248 .menu-title {
249 margin: 0;
250 font-size: clamp(1.7rem, 3vw, 2.5rem);
251 font-weight: 950;
252 letter-spacing: 0;
253 }
254 .menu-note { margin: 8px 0 0; color: var(--text-secondary); line-height: 1.65; font-size: 0.9rem; }
255 .menu-date { color: var(--accent-2); font-weight: 950; font-size: 0.78rem; white-space: nowrap; }
256 .menu-list { display: grid; gap: 8px; }
257 .menu-item {
258 display: grid;
259 grid-template-columns: 42px minmax(0, 1fr) auto;
260 align-items: center;
261 gap: 12px;
262 padding: 13px 12px;
263 border: 1px solid transparent;
264 border-radius: 8px;
265 }
266 .menu-item:hover {
267 border-color: var(--line);
268 background: rgba(255,255,255,0.56);
269 }
270 body.dark-mode .menu-item:hover { background: rgba(255,255,255,0.06); }
271 .menu-icon {
272 width: 42px;
273 height: 42px;
274 border-radius: 8px;
275 display: inline-flex;
276 align-items: center;
277 justify-content: center;
278 background: color-mix(in srgb, var(--accent) 12%, transparent);
279 color: var(--accent);
280 font-size: 1.2rem;
281 }
282 .menu-name { display: block; font-weight: 950; font-size: 1rem; }
283 .menu-desc { display: block; margin-top: 3px; color: var(--text-secondary); font-size: 0.78rem; line-height: 1.45; }
284 .menu-arrow {
285 width: 32px;
286 height: 32px;
287 border-radius: 50%;
288 display: inline-flex;
289 align-items: center;
290 justify-content: center;
291 color: var(--text-secondary);
292 border: 1px solid var(--line);
293 }
294 .menu-item:hover .menu-name, .menu-item:hover .menu-arrow { color: var(--accent); }
295 .menu-item:hover .menu-arrow { border-color: var(--accent); }
296
297 .lower {
298 display: grid;
299 grid-template-columns: minmax(0, 1fr) 330px;
300 gap: 18px;
301 margin-top: 18px;
302 }
303 .side-panel { padding: 22px; }
304 .panel-label {
305 color: var(--accent-2);
306 font-size: 0.68rem;
307 font-weight: 950;
308 letter-spacing: 0.16em;
309 text-transform: uppercase;
310 margin-bottom: 12px;
311 }
312 .user-line { display: flex; align-items: center; gap: 10px; }
313 .avatar {
314 width: 42px;
315 height: 42px;
316 border-radius: 50%;
317 display: grid;
318 place-items: center;
319 background: var(--bg-paper);
320 border: 1px solid var(--line);
321 color: var(--text-secondary);
322 font-weight: 950;
323 overflow: hidden;
324 flex: 0 0 auto;
325 }
326 .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
327 .verified-badge { color: #1d9bf0; font-size: 0.85em; margin-left: 3px; }
328 .verified-badge-admin { color: var(--accent-2); font-size: 0.85em; margin-left: 3px; }
329 .mini-list { display: grid; gap: 9px; margin-top: 14px; }
330 .mini-link {
331 display: flex;
332 align-items: center;
333 justify-content: space-between;
334 gap: 12px;
335 padding: 11px 12px;
336 border-radius: 8px;
337 border: 1px solid var(--line);
338 background: var(--bg-paper);
339 color: var(--text-primary);
340 font-size: 0.86rem;
341 font-weight: 850;
342 }
343 .mini-link:hover { color: var(--accent); }
344 .notice-panel { padding: 22px; min-height: 100%; }
345 .notice-grid {
346 display: grid;
347 grid-template-columns: repeat(3, minmax(0, 1fr));
348 gap: 10px;
349 margin-top: 14px;
350 }
351 .notice-card {
352 border: 1px solid var(--line);
353 background: var(--bg-paper);
354 border-radius: 8px;
355 padding: 14px;
356 box-shadow: 0 10px 24px rgba(27, 39, 56, 0.05);
357 }
358 .notice-card i { color: var(--accent); font-size: 1.2rem; }
359 .notice-card strong { display: block; margin-top: 10px; }
360 .notice-card span { display: block; margin-top: 4px; color: var(--text-secondary); font-size: 0.78rem; line-height: 1.45; }
361
362 .site-footer {
363 width: min(1180px, calc(100% - 36px));
364 margin: 0 auto 38px;
365 padding-top: 26px;
366 border-top: 1px solid var(--line);
367 color: var(--text-secondary);
368 display: flex;
369 align-items: center;
370 justify-content: space-between;
371 gap: 20px;
372 font-size: 0.78rem;
373 }
374 .footer-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
375 .footer-logo { width: 44px; height: 44px; object-fit: contain; opacity: 0.76; mix-blend-mode: multiply; }
376 body.dark-mode .footer-logo { mix-blend-mode: screen; opacity: 0.9; }
377 .footer-title { color: var(--text-primary); font-weight: 950; font-size: 0.9rem; }
378 .footer-links { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
379 .footer-links a { color: var(--text-secondary); font-weight: 850; }
380 .footer-links a:hover { color: var(--accent); }
381 .footer-copy { margin-top: 4px; text-align: right; font-size: 0.72rem; }
382 .footer-version {
383 display: inline-flex;
384 align-items: center;
385 min-height: 20px;
386 padding: 0 8px;
387 margin-right: 8px;
388 border: 1px solid var(--line);
389 border-radius: 999px;
390 color: var(--accent);
391 font-weight: 850;
392 background: var(--bg-panel);
393 }
394
395 .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.65s ease, transform 0.65s ease; }
396 .reveal.is-visible { opacity: 1; transform: translateY(0); }
397
398 @media (max-width: 1020px) {
399 .lounge-board, .lower { grid-template-columns: 1fr; }
400 .desk-panel { min-height: auto; }
401 .notice-grid { grid-template-columns: 1fr; }
402 }
403 @media (max-width: 860px) {
404 body { padding-top: 116px; }
405 .global-header { flex-wrap: wrap; min-height: 62px; padding: 10px 16px; }
406 .header-nav {
407 position: static;
408 transform: none;
409 order: 3;
410 width: 100%;
411 justify-content: center;
412 overflow-x: auto;
413 padding-top: 10px;
414 border-top: 1px solid var(--line);
415 }
416 .page { width: min(100% - 24px, 1180px); padding-top: 28px; }
417 .menu-head { display: block; }
418 .menu-date { display: inline-block; margin-top: 10px; }
419 .menu-item { grid-template-columns: 38px minmax(0, 1fr) auto; }
420 }
421 @media (max-width: 560px) {
422 .desk-title { font-size: clamp(2.4rem, 15vw, 3.8rem); }
423 .desk-photo, .desk-photo img { min-height: 260px; }
424 .menu-panel, .desk-copy, .side-panel, .notice-panel { padding: 18px; }
425 .site-footer { flex-direction: column; align-items: flex-start; width: min(100% - 24px, 1180px); }
426 .footer-links { justify-content: flex-start; }
427 .footer-copy { text-align: left; }
428 }
429 </style>
430 </head>
431
432 <body class="<%= (typeof theme !== 'undefined' && theme === 'dark') ? 'dark-mode' : '' %>">
433 <header class="global-header">
434 <a href="/hinana/lounge" aria-label="비나래 라운지">
435 <img src="/image/<%= (typeof theme !== 'undefined' && theme === 'dark') ? 'lounge1.png' : 'lounge.png' %>" alt="비나래 라운지" class="header-logo">
436 </a>
437 <nav class="header-nav">
438 <a href="/hinana/index" class="nav-link">Archive</a>
439 <a href="/hinana/lounge" class="nav-link active">Lounge</a>
440 <a href="/hinana/gallery" class="nav-link">Gallery</a>
441 <a href="/hinana/plaza" class="nav-link">Plaza</a>
442 </nav>
443 <div class="header-controls">
444 <a href="/hinana/gallery#brand-assets" class="map-link"><i class="bi bi-grid-3x3-gap"></i> 사이트 맵</a>
445 <form action="/toggle-theme" method="POST" style="margin:0;">
446 <button type="submit" class="icon-btn" title="테마 변경">
447 <i class="bi <%= (typeof theme !== 'undefined' && theme === 'dark') ? 'bi-moon-stars-fill' : 'bi-sun-fill' %>"></i>
448 </button>
449 </form>
450 </div>
451 </header>
452
453 <main class="page">
454 <section class="lounge-board">
455 <article class="desk-panel reveal">
456 <div class="desk-photo">
457 <img src="/image/<%= randomLoungeImage || '1.png' %>" alt="라운지 배경">
458 <div class="desk-stamp"><i class="bi bi-cup-hot"></i> Open Lounge</div>
459 </div>
460 <div class="desk-copy">
461 <div class="eyebrow">Established 2026</div>
462 <h1 class="desk-title">비나래 <span>라운지</span></h1>
463 <p class="desk-desc">
464 아카이브 옆에 붙어 있는 작은 라운지예요.
465 갤러리, 광장, 게임과 도구들을 메뉴처럼 골라 들어갈 수 있어요.
466 </p>
467 <div class="desk-actions">
468 <a class="lounge-btn primary" href="/hinana/gallery"><i class="bi bi-images"></i> Gallery</a>
469 <a class="lounge-btn" href="/hinana/plaza"><i class="bi bi-chat-dots"></i> Plaza</a>
470 <a class="lounge-btn" href="/hinana/shop"><i class="bi bi-bookmark-star"></i> Shop</a>
471 </div>
472 </div>
473 </article>
474
475 <article class="menu-panel reveal">
476 <div class="menu-head">
477 <div>
478 <h2 class="menu-title">Lounge Menu</h2>
479 <p class="menu-note">필요한 기능을 골라보세요. 오늘은 어느 방부터 열어볼까요?</p>
480 </div>
481 <div class="menu-date">hinana.moe</div>
482 </div>
483
484 <div class="menu-list">
485 <a class="menu-item" href="/hinana/gallery">
486 <span class="menu-icon"><i class="bi bi-palette"></i></span>
487 <span><span class="menu-name">라운지 갤러리</span><span class="menu-desc">이미지와 브랜드 자산을 둘러봐요.</span></span>
488 <span class="menu-arrow"><i class="bi bi-arrow-right"></i></span>
489 </a>
490 <a class="menu-item" href="/hinana/plaza">
491 <span class="menu-icon"><i class="bi bi-chat-dots"></i></span>
492 <span><span class="menu-name">비나래 광장</span><span class="menu-desc">짧은 메시지를 남기는 임시 광장이에요.</span></span>
493 <span class="menu-arrow"><i class="bi bi-arrow-right"></i></span>
494 </a>
495 <a class="menu-item" href="/hinana/tetris">
496 <span class="menu-icon"><i class="bi bi-controller"></i></span>
497 <span><span class="menu-name">테트리스</span><span class="menu-desc">가볍게 플레이하고 책갈피도 모아봐요.</span></span>
498 <span class="menu-arrow"><i class="bi bi-arrow-right"></i></span>
499 </a>
500 <a class="menu-item" href="/hinana/train">
501 <span class="menu-icon"><i class="bi bi-train-front"></i></span>
502 <span><span class="menu-name">열차 화면</span><span class="menu-desc">행선지와 열차 화면을 꾸며봐요.</span></span>
503 <span class="menu-arrow"><i class="bi bi-arrow-right"></i></span>
504 </a>
505 <a class="menu-item" href="/hinana/shop">
506 <span class="menu-icon"><i class="bi bi-bookmark-star"></i></span>
507 <span><span class="menu-name">책갈피 교환소</span><span class="menu-desc">책갈피로 프로필과 기능을 바꿔요.</span></span>
508 <span class="menu-arrow"><i class="bi bi-arrow-right"></i></span>
509 </a>
510 <a class="menu-item" href="/hinana/image">
511 <span class="menu-icon"><i class="bi bi-image"></i></span>
512 <span><span class="menu-name">이미지 편집기</span><span class="menu-desc">간단한 이미지 작업을 열어봐요.</span></span>
513 <span class="menu-arrow"><i class="bi bi-arrow-right"></i></span>
514 </a>
515 <a class="menu-item" href="/hinana/exhibition">
516 <span class="menu-icon"><i class="bi bi-easel2"></i></span>
517 <span><span class="menu-name">전시관</span><span class="menu-desc">조금 다른 분위기의 전시 페이지예요.</span></span>
518 <span class="menu-arrow"><i class="bi bi-arrow-right"></i></span>
519 </a>
520 <a class="menu-item" href="/hinana/echo">
521 <span class="menu-icon"><i class="bi bi-soundwave"></i></span>
522 <span><span class="menu-name">에코 스튜디오</span><span class="menu-desc">소리와 효과를 다루는 공간이에요.</span></span>
523 <span class="menu-arrow"><i class="bi bi-arrow-right"></i></span>
524 </a>
525 <a class="menu-item" href="/hinana/japanese-lounge">
526 <span class="menu-icon"><i class="bi bi-translate"></i></span>
527 <span><span class="menu-name">일본어 라운지</span><span class="menu-desc">일본어와 한국어 문장을 TTS와 함께 봐요.</span></span>
528 <span class="menu-arrow"><i class="bi bi-arrow-right"></i></span>
529 </a>
530 [SECURITY REDACTED] 민감한 설정/인증/토큰 관련 코드입니다.
531 <span class="menu-icon"><i class="bi bi-calculator"></i></span>
532 <span><span class="menu-name">AI 토큰 계산기</span><span class="menu-desc">텍스트 비용을 가늠해봐요.</span></span>
533 <span class="menu-arrow"><i class="bi bi-arrow-right"></i></span>
534 </a>
535 <a class="menu-item" href="/hinana/subway">
536 <span class="menu-icon"><i class="bi bi-signpost-split"></i></span>
537 <span><span class="menu-name">열차 위치 조회</span><span class="menu-desc">지하철 위치와 알림 도구로 이동해요.</span></span>
538 <span class="menu-arrow"><i class="bi bi-arrow-right"></i></span>
539 </a>
540 </div>
541 </article>
542 </section>
543
544 <section class="lower">
545 <article class="side-panel reveal">
546 <div class="panel-label">Passenger Info</div>
547 <div class="user-line">
548 <div class="avatar">
549 <% if (typeof currentUserProfileImage !== 'undefined' && currentUserProfileImage) { %>
550 <img src="<%= currentUserProfileImage %>" alt="프로필 사진">
551 <% } else { %>
552 <%= username ? username.substring(0, 1).toUpperCase() : 'G' %>
553 <% } %>
554 </div>
555 <div>
556 <div style="font-size:1.25rem; font-weight:950;">
557 <% if(username) { %>
558 <a href="/hinana/userInfo"><%= username %></a>
559 [SECURITY REDACTED] 민감한 설정/인증/토큰 관련 코드입니다.
560 <% } else { %>
561 Guest
562 <% } %>
563 </div>
564 <div style="color:var(--text-secondary); font-size:0.82rem; margin-top:2px;">
565 책갈피 <%= typeof bookmarks !== 'undefined' ? bookmarks : 0 %>개
566 </div>
567 </div>
568 </div>
569 <div class="mini-list">
570 <% if(username) { %>
571 <a class="mini-link" href="/logout?redirect=/hinana/lounge"><span><i class="bi bi-box-arrow-right me-1"></i> Sign Out</span><i class="bi bi-chevron-right"></i></a>
572 <% } else { %>
573 <a class="mini-link" href="/login?redirect=/hinana/lounge"><span><i class="bi bi-box-arrow-in-right me-1"></i> Sign In</span><i class="bi bi-chevron-right"></i></a>
574 <% } %>
575 [SECURITY REDACTED] 민감한 설정/인증/토큰 관련 코드입니다.
576 <a class="mini-link" href="/hinana/admin"><span><i class="bi bi-gear-wide-connected me-1"></i> 관리자 책갈피 관리</span><i class="bi bi-chevron-right"></i></a>
577 <% } %>
578 </div>
579 </article>
580
581 <article class="side-panel notice-panel reveal">
582 <div class="panel-label">Now Open</div>
583 <div style="font-size:1.4rem; font-weight:950;">오늘의 라운지</div>
584 <p style="color:var(--text-secondary); line-height:1.7; margin:10px 0 0;">
585 둘러볼 기록, 잠깐 놀 거리, 작은 도구들을 한곳에 모아뒀어요. 마음 가는 문부터 열어봐요.
586 </p>
587 <div class="notice-grid">
588 <div class="notice-card"><i class="bi bi-images"></i><strong>보기</strong><span>갤러리와 전시관</span></div>
589 <div class="notice-card"><i class="bi bi-controller"></i><strong>놀기</strong><span>테트리스와 열차 화면</span></div>
590 <div class="notice-card"><i class="bi bi-tools"></i><strong>도구</strong><span>편집기와 계산기</span></div>
591 </div>
592 </article>
593 </section>
594 </main>
595
596 <footer class="site-footer">
597 <div class="footer-brand">
598 <img src="/image/sign.png" alt="비나래" class="footer-logo">
599 <div>
600 <div class="footer-title">비나래 라운지</div>
601 <div>Archive My Lounge</div>
602 </div>
603 </div>
604 <div>
605 <div class="footer-links">
606 <a href="/hinana/index">Archive</a>
607 <a href="/hinana/lounge">Lounge</a>
608 <a href="/hinana/gallery">Gallery</a>
609 <a href="/hinana/plaza">Plaza</a>
610 <a href="https://x.com/NoctchillHinana" target="_blank" rel="noreferrer">X</a>
611 </div>
612 <div class="footer-copy"><span class="footer-version">Ver. 8.0.3.2-Utsumi Aoba</span>&copy; 2024~2026. 비나래 | hinana.moe</div>
613 </div>
614 </footer>
615
616 <script src="/js/popup.js"></script>
617 <script>
618 if ("serviceWorker" in navigator) { navigator.serviceWorker.register("/sw.js"); }
619 (function() {
620 var reveals = document.querySelectorAll('.reveal');
621 if ('IntersectionObserver' in window) {
622 var observer = new IntersectionObserver(function(entries) {
623 entries.forEach(function(entry) {
624 if (entry.isIntersecting) {
625 entry.target.classList.add('is-visible');
626 observer.unobserve(entry.target);
627 }
628 });
629 }, { threshold: 0.12 });
630 reveals.forEach(function(el) { observer.observe(el); });
631 } else {
632 reveals.forEach(function(el) { el.classList.add('is-visible'); });
633 }
634 })();
635 </script>
636 </body>
637 </html>
638