main
|
Last change
on this file since e579a98 was 4885eab, checked in by roboburr <roboburr@…>, 3 months ago |
|
feat(i18n phase 6): remaining public + other pages translated (NL/EN/DE)
post-edit, account, newsletter, download, press kit /pers, fan-gate, link-in-bio,
my-site, password-reset (2), artists directory, auth-login Google error map,
user/hub-home/circle-feed+post/viewer-blocked/home/favourites/changelog/404/
type/tag/archive/prutter (inbox+conversation). embed-player skipped (no t
in that standalone route). 1026 view-keys cross-checked → 0 missing.
Co-Authored-By: Claude <noreply@…>
|
-
Property mode
set to
100644
|
|
File size:
742 bytes
|
| Line | |
|---|
| 1 | <div class="container favorites-page">
|
|---|
| 2 | <h1><%= t('fav.title') %></h1>
|
|---|
| 3 | <p class="fav-sub"><%= t('fav.sub') %></p>
|
|---|
| 4 |
|
|---|
| 5 | <% if (!posts || !posts.length) { %>
|
|---|
| 6 | <p class="fav-empty"><%= t('fav.empty') %></p>
|
|---|
| 7 | <% } else { %>
|
|---|
| 8 | <ul class="post-list">
|
|---|
| 9 | <% posts.forEach(function(p){ %>
|
|---|
| 10 | <%- include('../partials/post-card', { post: p, siteUrlBase: (p._urlBase || '') }) %>
|
|---|
| 11 | <% }); %>
|
|---|
| 12 | </ul>
|
|---|
| 13 | <% } %>
|
|---|
| 14 | </div>
|
|---|
| 15 |
|
|---|
| 16 | <style>
|
|---|
| 17 | .favorites-page { max-width: 760px; margin: 3rem auto; padding: 0 1rem; }
|
|---|
| 18 | .favorites-page h1 { font-family: var(--font-display, serif); font-size: 2rem; margin: 0 0 0.3rem; }
|
|---|
| 19 | .fav-sub { color: var(--ink-muted); margin: 0 0 2rem; }
|
|---|
| 20 | .fav-empty { color: var(--ink-muted); padding: 2rem 0; }
|
|---|
| 21 | </style>
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.