Commit Graph

4 Commits

Author SHA1 Message Date
zack3d 9a39e8ec13 wee 2025-10-06 15:39:54 -07:00
zack3d cff7f0e835 feat(sdk): add localized social links to info modal
Build and render social links in the info modal using localized
site content. Detect the preferred locale (localStorage or document
lang, fallback to 'en') and fetch content via getSiteContent(locale).
Parse keys social.<id>.(url|text|icon|order), apply defaults
(labels and ordering via DEFAULT_SOCIAL_ORDER), support icons, and
render with separators.

Cache per-locale rendering using data attributes to avoid
unnecessary rebuilds, and invoke it from injectInfoSections so
links appear when the modal opens.
2025-10-06 15:26:45 -07:00
zack3d f746913297 we 2025-10-05 00:58:08 -07:00
zack3d a86cd87964 feat(plugins): expose plugin routes and load FurryPlace SDK
Add setupPluginRoutes to the server and register it in index.ts.
Include /furryplace-sdk.js on admin, index and moderation backup pages
to enable custom button extensions.
2025-10-04 16:40:55 -07:00