main
|
Last change
on this file since 137cca5 was 137cca5, checked in by roboburr <roboburr@…>, 3 months ago |
|
feat(i18n phase 3): welcome/first-run, login, register, bottom-tab translated
NL/EN/DE keys + views: welcome.ejs, auth-register.ejs, auth-login.ejs (common
strings; Google error map still NL), bottom-tab.ejs. The most visible visitor
pages of a fresh (German) site are now translated.
Co-Authored-By: Claude <noreply@…>
|
-
Property mode
set to
100644
|
|
File size:
1003 bytes
|
| Line | |
|---|
| 1 | <div class="container welcome-page">
|
|---|
| 2 | <h1><%= t('welcome.title') %></h1>
|
|---|
| 3 | <p class="welcome-tagline"><%= t('welcome.tagline') %></p>
|
|---|
| 4 |
|
|---|
| 5 | <% if (!user) { %>
|
|---|
| 6 | <div class="welcome-actions">
|
|---|
| 7 | <a href="/auth/register" class="btn btn-primary"><%= t('auth.create_admin') %></a>
|
|---|
| 8 | <a href="/auth/login" class="btn"><%= t('welcome.have_account') %></a>
|
|---|
| 9 | </div>
|
|---|
| 10 | <p class="welcome-note"><%= t('welcome.note') %></p>
|
|---|
| 11 | <% } else { %>
|
|---|
| 12 | <p><%= t('welcome.nosite', { user: user.username }) %></p>
|
|---|
| 13 | <% } %>
|
|---|
| 14 | </div>
|
|---|
| 15 | <style>
|
|---|
| 16 | .welcome-page { max-width: 600px; margin: 4rem auto; padding: 0 1rem; text-align: center; }
|
|---|
| 17 | .welcome-page h1 { font-family: var(--font-display, serif); font-size: 2.5rem; margin: 0 0 0.5rem; }
|
|---|
| 18 | .welcome-tagline { color: var(--ink-muted); margin-bottom: 2rem; font-size: 1.1rem; }
|
|---|
| 19 | .welcome-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin: 2rem 0; }
|
|---|
| 20 | .welcome-note { color: var(--ink-muted); font-size: 0.9rem; margin-top: 2rem; }
|
|---|
| 21 | </style>
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.