// Profile + About screens function ProfileScreen({ user, onSelectEntry, onSignOut, onUserChange }) { const { ENTRIES } = window.ARCHIVE; const mine = ENTRIES.slice(0, 4); const joinYear = user?.created_at ? new Date(user.created_at).getFullYear() : null; const isVerified = user?.status === 'verified'; const karma = user?.karma ?? 0; const karmaStr = karma > 0 ? `+${karma}` : String(karma); return (
{user?.initials || '?'}
{joinYear ? `MEMBER SINCE ${joinYear}` : 'MEMBER'} {isVerified && · VERIFIED}

{user?.name || 'Anonymous'}

Entries filed
{user?.entries ?? 0}
Comments
0
Karma
= 0 ? 'var(--green)' : 'var(--rose)' }}>{karmaStr}
Corroborations
0
MY ENTRIES
{mine.map(e => onSelectEntry(e)} />)}
); } function AboutScreen({ onNav }) { return (
OUR MISSION

Every story is worth preserving. That is the entire mission.

The history of the UFO phenomenon is, in practice, distributed across forum threads, old tape decks, local newspaper morgues, and the memories of people who have never told anyone what they saw. Open UFO Archive exists to put that material in one place, in one format, under an open license, with no paywall and no editorial agenda.
{[ ['Open', 'Every entry released under CC BY-SA 4.0. The full database is downloadable as a single archive, updated nightly.'], ['Non-commercial', 'The project is not for sale. Discreet advertising covers hosting costs; all surplus funds server capacity and moderation.'], ['Preservation-first', 'We do not rate or judge submissions. We preserve them, correctly attributed and cross-referenced, for future researchers.'], ].map(([t, d]) => (
{t}
{d}
))}
HOW IT WORKS
    {[ ['Anyone can submit', 'With or without photographs. With or without an account. With or without being sure.'], ['Everything goes live', 'Moderators review after the fact — for PII, harassment, and obvious duplicates. Nothing sits in a queue.'], ['The community weighs in', 'Readers vote their credibility, add witness counts, and discuss in nested threads.'], ['The archive grows', 'Every entry is permanently catalogued, geocoded, and available for download by anyone.'], ].map(([t, d], i) => (
  1. {String(i + 1).padStart(2, '0')}
    {t}
    {d}
  2. ))}

Contribute something today.

The archive is only as complete as the people who trust it with their accounts.
); } window.ProfileScreen = ProfileScreen; window.AboutScreen = AboutScreen;