- Social bar: a colored band of the site's platform icons, linked;
no links added shows the footer's (src/data/socialLinks.ts, shared)
- Icons are white and ink PNGs in public/email/, made from
PlatformIcon.tsx by scripts/email-icons.mjs (no SVG in Gmail/Outlook)
- Event countdown: a picture drawn by /api/countdown/<id>.png when the
email is opened (days, hours, minutes to local midnight in
America/Chicago; then happening now; then over), with a fixed line
under it as of copying
- The builder takes the whole window (useWideAdminPage('full'))
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
15 lines
1 KiB
TypeScript
15 lines
1 KiB
TypeScript
/* ═══════════════════════════════════════════════════════════════
|
|
SOCIAL LINKS
|
|
|
|
The site's own accounts: the footer's icons, and what a newsletter's
|
|
social bar starts with (AdminNewsletter.tsx). `platform` is one of
|
|
PLATFORMS (src/lib/platforms.ts), which picks the icon.
|
|
═══════════════════════════════════════════════════════════════ */
|
|
|
|
import type { Platform } from '../lib/platforms.ts'
|
|
|
|
export const SOCIAL_LINKS: Array<{ label: string; href: string; platform: Platform }> = [
|
|
{ label: 'Instagram', href: 'https://www.instagram.com/nextgenerationunity/', platform: 'instagram' },
|
|
{ label: 'Facebook', href: 'https://www.facebook.com/NextGenerationofUnity', platform: 'facebook' },
|
|
{ label: 'Discord', href: 'https://discord.com/invite/AtngzpqaX5', platform: 'discord' },
|
|
]
|