| 1 | <div class="container fg-navwrap">
|
|---|
| 2 | <%# Same post navigation (Newer/Older) as on a regular post, so a visitor
|
|---|
| 3 | on the fan gate can still browse rather than getting stuck. Same
|
|---|
| 4 | dimensions as .post-page (720px / padding 0 1rem) for pixel-perfect alignment. %>
|
|---|
| 5 | <%- include('../partials/post-nav', { newerPost: (typeof newerPost !== 'undefined' ? newerPost : null), olderPost: (typeof olderPost !== 'undefined' ? olderPost : null) }) %>
|
|---|
| 6 | </div>
|
|---|
| 7 |
|
|---|
| 8 | <section class="fg">
|
|---|
| 9 | <div class="fg-card">
|
|---|
| 10 | <div class="fg-lock">🔒</div>
|
|---|
| 11 | <h1 class="fg-h1"><%= t('fgate.title') %></h1>
|
|---|
| 12 | <% if (typeof fgTitle !== 'undefined' && fgTitle) { %><p class="fg-which">"<%= fgTitle %>"</p><% } %>
|
|---|
| 13 | <p class="fg-sub"><%= t('fgate.sub') %></p>
|
|---|
| 14 | <p><a class="fg-btn" href="/auth/login?next=<%= encodeURIComponent(fgNext || '/') %>"><%= t('fgate.login') %></a></p>
|
|---|
| 15 | </div>
|
|---|
| 16 | </section>
|
|---|
| 17 |
|
|---|
| 18 | <style>
|
|---|
| 19 | /* EXACT same class combination (.container + override) and values as
|
|---|
| 20 | .post-page in post.ejs, so the post-nav aligns identically in the cascade. */
|
|---|
| 21 | .fg-navwrap { max-width: 720px; margin: 0.5rem auto 2rem; padding: 0 1rem; }
|
|---|
| 22 | .fg { max-width: 480px; margin: 0 auto; padding: 56px 18px; text-align: center; }
|
|---|
| 23 | .fg-card { border: 1px solid rgba(128,128,128,.2); border-radius: 18px; padding: 36px 28px; }
|
|---|
| 24 | .fg-lock { font-size: 40px; margin-bottom: 8px; }
|
|---|
| 25 | .fg-h1 { font-size: 26px; margin: 0 0 6px; }
|
|---|
| 26 | .fg-which { font-style: italic; opacity: .8; margin: 0 0 12px; }
|
|---|
| 27 | .fg-sub { opacity: .85; line-height: 1.6; margin: 0 0 20px; }
|
|---|
| 28 | .fg-btn { display: inline-block; padding: 12px 22px; border-radius: 10px; background: var(--accent,#6b8f71); color: #fff; text-decoration: none; font-weight: 600; }
|
|---|
| 29 | </style>
|
|---|