export type ProjectImage = {
  src: string;
  alt: string;
  credit: string;
  sourceLabel: string;
  sourceUrl: string;
  note?: string;
};

export type ProjectSource = {
  label: string;
  href?: string;
  note: string;
};

export const projectsFeature = {
  eyebrow: "Section 10 / projects desk",
  title: "The April project is a music-trivia machine with a rhinoceros in the judging booth.",
  lede:
    "Trivia & Tunes is the first full vibe-coded product in the portfolio: a live trivia platform built for homes, venues, tournaments, player identities, and now a genuinely theatrical AI layer.",
  note:
    "This desk distinguishes between what Trivia & Tunes says publicly today and what the working codebase already proves is built or actively being staged for release.",
};

export const projectsArticle = {
  slug: "trivia-and-tunes-april-2026",
  title: "Trivia & Tunes and the Arrival of True AI at the Pub Quiz",
  excerpt:
    "A spring 2026 project dispatch on music trivia, Blue Note Rhino, multiplayer formats, and the small matter of giving a quiz night an actual machine personality.",
  publishedAt: "2026-04-06 10:15:00",
};

export const projectsImages: ProjectImage[] = [
  {
    src: "https://triviaandtunes.no/uploads/venues/venue_1768237941_ec432572.jpg",
    alt: "Night exterior of a warm wood-fronted Kongsberg pub used as Trivia & Tunes project atmosphere imagery.",
    credit: "Original Trivia & Tunes venue image",
    sourceLabel: "Trivia & Tunes live uploads",
    sourceUrl: "https://triviaandtunes.no/uploads/venues/venue_1768237941_ec432572.jpg",
    note:
      "Used here as project mood art: the right combination of room heat, street cold, and low-lit invitation.",
  },
  {
    src: "https://triviaandtunes.no/uploads/teams/seed_team_microphone.png",
    alt: "Microphone-themed team artwork from Trivia & Tunes.",
    credit: "Original Trivia & Tunes team artwork",
    sourceLabel: "Trivia & Tunes live uploads",
    sourceUrl: "https://triviaandtunes.no/uploads/teams/seed_team_microphone.png",
    note:
      "A good emblem for the product itself: performance, scoring, personality, and room presence.",
  },
  {
    src: "https://triviaandtunes.no/logoNew.png",
    alt: "Trivia & Tunes logo artwork.",
    credit: "Original Trivia & Tunes logo",
    sourceLabel: "Trivia & Tunes live site",
    sourceUrl: "https://triviaandtunes.no/logoNew.png",
    note:
      "The live public brand mark used by the current production site.",
  },
];

export const projectsSignals = [
  {
    title: "Public truth, right now",
    summary:
      "The live site currently presents Trivia & Tunes as a three-format product: solo host, live display, and pro live, with strong music integrations and venue-facing play.",
  },
  {
    title: "The stronger local build",
    summary:
      "The working codebase already goes further: AI Home, AI Live, AI Solo, Blue Note Rhino, commentary, wrapups, model selection, and call logging are all visible in the repo on April 6, 2026.",
  },
  {
    title: "Voice is the next turn of the screw",
    summary:
      "A dedicated TTS service is already staged for testing, with English, Norwegian, French, and additional voices mapped and ready for use.",
  },
];

export const projectsCapabilities = [
  {
    title: "One game, multiple room geometries",
    body:
      "The product is not just a quiz app. It is a room-design system. One-screen home play, host-plus-display nights, and phone-driven player lanes all exist as distinct social formats rather than accidental layouts.",
  },
  {
    title: "Blue Note Rhino as judge and emcee",
    body:
      "The AI layer is not framed as vague assistance. It grades free-text answers, applies strictness levels, generates wrapups, reacts to how a round went, and speaks in a built persona instead of silent utility.",
  },
  {
    title: "Music is treated as infrastructure",
    body:
      "Spotify, Apple Music, and YouTube are not ornamental add-ons. They sit inside the trivia flow itself, which is why the whole thing feels closer to a hosted night than a generic browser game.",
  },
  {
    title: "A real management surface",
    body:
      "Questions, players, teams, events, tournaments, venue pages, and media links are all treated as editable operating material, not hard-coded brochure text.",
  },
  {
    title: "The first real vibe-coded product",
    body:
      "The internal build notes tell the truth plainly: start with room feel, iterate fast, keep it useful, document everything, and let the software earn its style through use.",
  },
  {
    title: "The April turn",
    body:
      "This month matters because the product crosses a line from 'music trivia with good UX' into 'music trivia with an actual AI performance layer,' and that changes the identity of the whole thing.",
  },
];

export const projectsDeskBody = [
  "Trivia nights usually suffer from one of two problems. Either they are dead administrative exercises disguised as fun, or they are charming little messes that collapse as soon as a room gets big, loud, or demanding. Trivia & Tunes is interesting because it refuses that choice. It wants proper room energy and proper system design at the same time.",
  "The live public site still presents the older triptych: solo host, live display, and pro live. Even in that public form, the platform already reads as more than a hobby project. It speaks in formats, roles, display logic, music sources, venues, tournaments, and player identity. That is the vocabulary of an ecosystem, not a one-off game.",
  "The working April build goes further. In the local codebase reviewed on April 6, 2026, Trivia & Tunes has already developed an AI vocabulary of its own: AI Home, AI Live, AI Solo, model selection, per-question commentary, round wrapups, game wrapups, and a named judging persona called Blue Note Rhino. That is not decorative AI sprayed over an old surface. It is a real change in product character.",
  "What makes the Rhino interesting is not merely that it grades. Plenty of systems can call a model and pretend they have solved judgment. Here the ambition is theatrical. The Rhino has strictness levels, a configurable personality, free-text semantic grading, and the beginnings of a running relationship with the room. In other words, the machine is not only a checker. It is becoming part of the night.",
  "That matters because music trivia is social timing more than raw database retrieval. A good night has pacing, tension, recovery, banter, and a little danger. The AI layer works best when it helps the host keep those qualities alive rather than replacing them. The most promising parts of the local build do exactly that: commentary between questions, wrapups between rounds, and mode-specific flows that respect the room rather than flatten it.",
  "The codebase also reveals another practical truth: this is not a toy AI experiment sitting in isolation. There are management surfaces, player records, team structures, events, tournaments, login gates, model logs, and admin settings. Even voice is already staged, with a TTS service ready for testing across multiple languages. If the GPU and IIS side are not always awake yet, the architecture is nevertheless pointing in the right direction.",
  "That is why this April project deserves the Projects desk rather than a casual mention elsewhere. Trivia & Tunes is the first full, opinionated, public-facing vibe-coded product in the portfolio: music-heavy, UX-led, multilingual, operationally serious, and now decisively AI-backed. It has enough room heat to feel alive, and enough systems underneath to survive contact with real users.",
];

export const projectsArticleBody = [
  "The phrase 'true AI' is abused so often that it usually arrives smelling of stale venture decks. But once in a while a project earns the phrase by changing what the product is allowed to feel like. Trivia & Tunes has reached that threshold this spring.",
  "On the public site today, Trivia & Tunes already presents itself as a layered trivia platform rather than a simple quiz toy. The live games page offers three recognizable public formats: a solo host edition for home use, a live game with a big-screen display, and a pro live version with mobile answering for players. That is the respectable front room, and it is already more ambitious than most trivia products ever become.",
  "Behind that public face, the working local build tells a hotter story. The repo reviewed on April 6, 2026 shows a second life already under construction: AI Home, AI Live, AI Solo, model management, call logging, wrapup prompts, per-question commentary, and a fully named judging persona, Blue Note Rhino. In other words, this is no longer only a trivia platform with good screens. It is becoming a performance system with machine timing.",
  "Blue Note Rhino is the right kind of overreach. The AI guide frames the Rhino not as a hidden utility but as an actual room character: a grader, commentator, and needling emcee who understands free-text answers semantically instead of forcing players into multiple-choice boxes. The host can adjust strictness. The machine can generate round and game wrapups. It can react to how players performed. That is product identity, not just API consumption.",
  "The clever part is that the underlying architecture still respects the old truths of quiz nights. Music remains central, with Spotify, Apple Music, and YouTube embedded into the experience. Room geometry matters. One-screen living-room play is not treated the same as host-plus-display nights or the more competitive phone-plus-display format. This is where the vibe coding note becomes more than a slogan. The code follows the social feel of the room.",
  "Even the build notes are unusually honest. They talk about starting with the desired feeling, iterating quickly, keeping the code organized without fetishizing perfection, and making the product work beautifully for non-technical people. Normally this kind of internal document is too earnest to quote. Here it belongs to the story, because the resulting product really does show the fingerprints of that method.",
  "Then there is voice. The TTS service sitting in the local project is not yet a triumphant public launch, and I will not pretend otherwise. But it is real enough to matter: mapped voices for English, Norwegian, French, German, Spanish, Italian, Portuguese, Polish, Dutch, Swedish, Danish, and Finnish, all framed as part of the next testing layer. That means the Rhino is not only a text persona waiting in the shadows. It is edging toward an audible one.",
  "So April's verdict is simple. Trivia & Tunes is the first full vibe-coded product in the broader Dave Gilligan orbit to step across the line from strong interface into living system. It already knows how to run a room. Now it is learning how to talk back.",
];

export const projectsSources: ProjectSource[] = [
  {
    label: "Trivia & Tunes live homepage",
    href: "https://triviaandtunes.no/",
    note:
      "Used for the current public brand, tagline, and confirmation that the live production shell is active.",
  },
  {
    label: "Trivia & Tunes games page",
    href: "https://triviaandtunes.no/games/",
    note:
      "Used for the live public format breakdown: solo host, live game with big-screen display, and pro live with mobile answering.",
  },
  {
    label: "Trivia & Tunes live image assets",
    href: "https://triviaandtunes.no/uploads/venues/venue_1768237941_ec432572.jpg",
    note:
      "Used for original project imagery pulled from the live Trivia & Tunes installation.",
  },
  {
    label: "Local Trivia & Tunes working repository",
    note:
      "Reviewed locally on April 6, 2026 for AI Home, AI Live, AI Solo, Blue Note Rhino, wrapups, per-question commentary, model management, call logging, and voice-service staging.",
  },
  {
    label: "How We Built Trivia & Tunes",
    note:
      "Used for the internal product-development narrative around vibe coding, iterative delivery, UX-first decisions, and the explanation of the system for non-technical readers.",
  },
];
