/* JETX — NEWS page content */

function NewsList() {
  const items = [
    {
      year: "2026",
      tag: "U.S. Army · DevX Autonomy",
      title: "X2S Designated Award-Ready",
      body: "The JETX X2S — a non-rotating vector-thrust VTOL platform for multi-mission defense — completed assessment and was designated Award-Ready (Awardable) on the U.S. Army DevX Autonomy marketplace, making it eligible for consideration by government customers. Submission 4-26-0226 · TRL 6.",
    },
    {
      year: "2025",
      tag: "U.S. Army · SBIR Phase I",
      title: "Army HEPPPS — Hybrid-Electric Validated",
      body: "U.S. Army SBIR Phase I (HEPPPS, W5170125CA037) validated TRL-6 hybrid-electric propulsion feasibility. Phase II selection pending for continued development.",
    },
    {
      year: "2024–25",
      tag: "U.S. Air Force · SBIR ×2",
      title: "Two Air Force SBIR Awards",
      body: "AI autonomy (FA864925P0138) and wargaming simulation (FA228024P0017) — combat-proven autonomous flight and simulator-to-reality transfer, delivered 100% on time.",
    },
    {
      year: "2023",
      tag: "U.S. Army · xTech",
      title: "xTech Autonomy Challenge — Winner",
      body: "JETX won its part of the U.S. Army xTech Autonomy Challenge, opening the autonomy track that now spans two U.S. Air Force SBIR awards.",
    },
    {
      year: "2022",
      tag: "Press · Vertical Magazine",
      title: "Ranked #2 Most-Read eVTOL Story",
      body: "Vertical Magazine ranked JETX number 2 in the top-ten most-read eVTOL stories of 2022, with coverage across the U.S., China, Russia, India, the UK and Europe.",
    },
    {
      year: "2021",
      tag: "U.S. Air Force · AFWERX",
      title: "AFWERX HSVTOL Challenge — Phase 1 Winner",
      body: "Vector-thrust electric propulsion was selected and showcased at the 2021 AFWERX High-Speed VTOL Challenge in Las Vegas, Nevada (Solution ID 12299).",
    },
    {
      year: "2020",
      tag: "Company",
      title: "JETX Founded in Orlando, FL",
      body: "JETX was founded to provide sustainable solutions for the eVTOL market — advanced aircraft, electric propulsion, and modular, scalable platforms.",
    },
  ];

  return (
    <section className="section shell" data-screen-label="News">
      <Reveal className="section-head">
        <div className="index"><span className="num">01</span><span>Traction</span></div>
        <div>
          <span className="eyebrow">$500K+ DoW · SBIR / STTR · 100% on-time delivery</span>
          <h2 className="h1" style={{ marginTop: 24 }}>
            Validated<br /><span style={{ color: "var(--fg-3)" }}>milestone by milestone.</span>
          </h2>
        </div>
      </Reveal>

      <Reveal>
        <div className="news-list">
          {items.map((it) => (
            <article className="news-item" key={it.title}>
              <div className="year">{it.year}</div>
              <div>
                <h3 className="news-title">{it.title}</h3>
                <p className="news-body">{it.body}</p>
              </div>
              <div className="news-tag">{it.tag}</div>
            </article>
          ))}
        </div>
      </Reveal>
    </section>
  );
}

function MediaCoverage() {
  const outlets = [
    { name: "New Atlas", url: "https://newatlas.com/aircraft/jetx-evtol-bladeless/" },
    { name: "Interesting Engineering", url: "https://interestingengineering.com/a-unique-non-tilting-vectored-thrust-system-will-allow-for-quieter-flying-cars" },
    { name: "eVTOL.com", url: "https://evtol.com/q-and-a/founders-of-jetx-on-its-modular-propulsion-system-designs/" },
    { name: "Vertical Magazine", url: "https://verticalmag.com/news/top-10-most-read-evtol-stories-of-2022/" },
    { name: "OnlineEV", url: "https://www.onlineev.com/founders-of-jetx-on-its-modular-propulsion-system-designs/" },
    { name: "100 Knots", url: "https://www.100knots.com/quieter-flying-cars-on-the-way-thanks-to-a-unique-non-tilting-thrust-vectoring-propulsion-system/" },
  ];
  return (
    <section className="section shell band">
      <Reveal className="section-head">
        <div className="index"><span className="num">02</span><span>Media Coverage</span></div>
        <div>
          <span className="eyebrow">Featured worldwide</span>
          <h2 className="h1" style={{ marginTop: 24 }}>
            In the<br /><span style={{ color: "var(--fg-3)" }}>press.</span>
          </h2>
        </div>
      </Reveal>
      <Reveal>
        <div className="partners-grid media-grid">
          {outlets.map((o) => (
            <a className="partner-cell media-cell" key={o.name} href={o.url} target="_blank" rel="noreferrer">
              <div className="partner-name">{o.name}</div>
              <div className="partner-role">Read article →</div>
            </a>
          ))}
        </div>
      </Reveal>
    </section>
  );
}

function NewsPage() {
  return (
    <React.Fragment>
      <SubHero
        crumb="Press & milestones"
        title="News"
        lede="Defense validation, recognition and worldwide press across our journey in advanced air mobility."
        image="assets/concepts/n08.png"
      />
      <NewsList />
      <MediaCoverage />
      <InvestorCTA />
    </React.Fragment>
  );
}

window.mountPage("news.html", NewsPage);
