Changeset 9d9f3c1 in Klonkt for src/views


Ignore:
Timestamp:
06/20/2026 06:41:56 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
57b1843
Parents:
0f11c69
Message:

feat(epk): press kit editable (bio + press contact) via Admin

There was no edit UI for the press kit (bio fell back to the tagline, contact
empty). New: Admin → "Edit press kit" (/admin/epk, god-only + premium) with
fields Press bio + Press contact, saved as epk_bio_<siteId>/epk_contact_<siteId>
which /pers already reads. Dashboard now has "Edit press kit" + "View press kit".

Co-Authored-By: Claude <noreply@…>

Location:
src/views/pages
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/pages/admin.ejs

    r0f11c69 r9d9f3c1  
    3434      <a href="/admin/stats" class="btn">📊 Statistieken</a>
    3535      <a href="/admin/newsletter" class="btn">✉️ Nieuwsbrief</a>
    36       <% if (tenancy !== 'hub' && primarySite) { %><a href="/pers" class="btn" target="_blank">📰 Perskit</a><% } %>
     36      <% if (tenancy !== 'hub' && primarySite) { %><a href="/admin/epk" class="btn">📰 Perskit bewerken</a> <a href="/pers" class="btn" target="_blank">👁 Bekijk perskit</a><% } %>
    3737      <% if (tenancy !== 'hub' && primarySite) { %><a href="/downloads" class="btn" target="_blank">⬇ Downloads</a><% } %>
    3838      <% if (tenancy !== 'hub' && primarySite) { %><a href="/links" class="btn" target="_blank">🔗 Link-in-bio</a><% } %>
Note: See TracChangeset for help on using the changeset viewer.