diff --git a/src/content/index.ts b/src/content/index.ts index 265a71f..2eb33ae 100644 --- a/src/content/index.ts +++ b/src/content/index.ts @@ -11,6 +11,8 @@ import ocConfig from "./oc.json"; import trainingConfig from "./training.json"; import villageConfig from "./villages.json"; import competitionConfig from "./competitions.json"; +export { KEYNOTES, KEYNOTE_SPEAKER_IDS, hostLabel } from "./keynotes"; +export type { KeynoteSpeaker } from "./keynotes"; export { agendaConfig, diff --git a/src/content/keynotes.ts b/src/content/keynotes.ts new file mode 100644 index 0000000..de3ce28 --- /dev/null +++ b/src/content/keynotes.ts @@ -0,0 +1,25 @@ +import speakerConfig from "./speakers.json"; + +export interface KeynoteSpeaker { + name: string; + speaker_id: string; + talk_id?: string; + company?: string; + twitter?: string; + mastodon?: string; + github?: string; + linkedin?: string; + youtube?: string; + image?: string; + bio?: string; +} + +// Add speaker_ids here as 2027 keynotes are confirmed. +export const KEYNOTE_SPEAKER_IDS = ["johnhammond"]; + +export const KEYNOTES: KeynoteSpeaker[] = (speakerConfig as { talks: { authors: KeynoteSpeaker[] }[] }[]) + .flatMap((g) => g.talks) + .flatMap((t) => t.authors) + .filter((a) => KEYNOTE_SPEAKER_IDS.includes(a.speaker_id)); + +export const hostLabel = (url: string) => url.replace(/^https?:\/\/(www\.)?/, "").replace(/\/$/, ""); diff --git a/src/pages/Agenda/Agenda.tsx b/src/pages/Agenda/Agenda.tsx index 11e371d..231ce2c 100644 --- a/src/pages/Agenda/Agenda.tsx +++ b/src/pages/Agenda/Agenda.tsx @@ -2,10 +2,13 @@ import { Component } from 'react'; import { Tabs, Tab, TabPanel, TabList } from '../../components/ui/Tabs'; import MediaQuery from 'react-responsive'; import TalksSchedule from './TalksSchedule/TalksSchedule'; +import Individuals from './Speakers/Individuals'; +import { KEYNOTES } from '../../content'; // import CallOuts from '../../components/CallOuts/CallOuts'; // import type { ComponentProps } from 'react'; // import { villageConfig, competitionConfig } from '../../content'; import './Agenda.scss'; +import './Speakers/Speakers.scss'; import type { LegacyRouteProps } from '../../router-compat'; // Commented out until content is ready: @@ -56,7 +59,7 @@ export default class Agenda extends Component { > Schedule - {/* Keynotes */} + Keynotes {/* Speakers */} {/* Talks */} Villages @@ -75,6 +78,29 @@ export default class Agenda extends Component { + +
+
+
+ {KEYNOTES.map((k) => ( + + ))} +
+
+
+
+
{/* */} @@ -99,7 +125,7 @@ export default class Agenda extends Component {
- {/* keynotes, speakers, talks, entertainment, careers - coming soon */} + {/* speakers, talks, entertainment, careers - coming soon */} ); } diff --git a/src/pages/Agenda/Speakers/Individuals.tsx b/src/pages/Agenda/Speakers/Individuals.tsx index a8d0776..e46179a 100644 --- a/src/pages/Agenda/Speakers/Individuals.tsx +++ b/src/pages/Agenda/Speakers/Individuals.tsx @@ -1,5 +1,6 @@ import { Component } from 'react'; import { img as resolveImg } from '../../../static/images'; +import { hostLabel } from '../../../content'; import TwitterLogoLight from "../../../static/images/icons/x-logo-black.png" import TwitterLogoDark from "../../../static/images/icons/x-logo-white.png" import MastodonLogoLight from "../../../static/images/icons/mastodon-logo-black.svg" @@ -61,7 +62,9 @@ class Individuals extends Component { {this.props.speaker} {(this.props.company || twitter || this.props.mastodon || github || this.props.linkedin) && - {this.props.company && {this.props.company}} + {this.props.company && {/^https?:\/\//.test(this.props.company) + ? {hostLabel(this.props.company)} + : this.props.company}} {twitter && {/* Opening */}

Calling all hackers, researchers, and builders!

+ {/* Form-based submission disabled while the CFP form is broken.

TL;DR - submit via {" "} (but you really should read the instructions).

+ */} +

TL;DR - email your submission to {" "} + + cfp@kernelcon.org + (but you really should read the instructions). +

The Kernelcon Crew is soliciting presentations for the eighth annual Kernelcon, held at the Hilton Downtown in Omaha, NE, March 4-5, 2027. @@ -180,6 +187,7 @@ return ( Supplementary files like draft slides, outlines, or whitepapers may also be included via URL (Dropbox, Drive, etc.).

+ {/* Form-based submission disabled while the CFP form is broken.

We're continuing into our 3rd year of a form-based CFP submission system rather than email.

Submissions are collected by {" "} form {""}.

+ */} +

+ Email your submission to {" "} + + cfp@kernelcon.org + . +

{/* Grant of Copyright */}

Grant of Copyright Use

diff --git a/src/pages/Home/Home.scss b/src/pages/Home/Home.scss index f0b0b8d..7efaa52 100644 --- a/src/pages/Home/Home.scss +++ b/src/pages/Home/Home.scss @@ -1069,6 +1069,74 @@ $glow-yellow: 0 0 10px #ffe600, 0 0 20px #ffe600, 0 0 40px rgba(255,230,0,0.4); } } +.headliner-card--feature { + grid-column: 1 / -1; + display: grid; + grid-template-columns: minmax(180px, 280px) 1fr; + gap: 2.5rem; + align-items: start; + + .headliner-photo { + width: 100%; + aspect-ratio: 1; + object-fit: cover; + border: 1px solid $rhythm-grey-dim; + position: relative; + } + + .headliner-body { position: relative; } + + .headliner-org { + display: inline-block; + text-decoration: none; + &:hover { text-decoration: underline; } + } + + .headliner-bio { + margin: 1.2rem 0; + font-size: 0.9rem; + line-height: 1.7; + color: $rhythm-grey-text; + max-width: 70ch; + } + + .headliner-socials { + display: flex; + flex-wrap: wrap; + gap: 0.5rem 1.4rem; + + a { + font-family: 'Space Mono', monospace; + font-size: 0.68rem; + letter-spacing: 0.2em; + text-transform: uppercase; + color: $rhythm-green; + text-decoration: none; + &:hover { text-shadow: $glow-green; } + } + } + + .headliner-more { + display: inline-block; + margin-top: 1.6rem; + font-family: 'Space Mono', monospace; + font-size: 0.68rem; + letter-spacing: 0.2em; + text-transform: uppercase; + color: $rhythm-pink; + text-decoration: none; + &:hover { text-shadow: $glow-pink; } + } + + @media (max-width: 700px) { + grid-template-columns: 1fr; + gap: 1.5rem; + padding: 1.5rem; + + .headliner-photo { max-width: 240px; } + } +} + @keyframes spin-slow { to { transform: rotate(360deg); } } .performers-label { diff --git a/src/pages/Home/Home.tsx b/src/pages/Home/Home.tsx index 6f14d82..4ed2d48 100644 --- a/src/pages/Home/Home.tsx +++ b/src/pages/Home/Home.tsx @@ -5,6 +5,8 @@ import BackGround from '../../components/BackGround/BackGround'; import KernelconLogoUrl from '../../static/images/logos/kernelcon_white.png'; import AlgoLogoUrl from '../../static/images/algo-logo.png'; import SocialCdUrl from '../../static/images/social-cd.png'; +import { KEYNOTES, hostLabel } from '../../content'; +import { imgIn } from '../../static/images'; import "./Home.scss"; // Preload logos once at module level so every draw() call can use them synchronously @@ -76,11 +78,6 @@ function getKeyDateStatuses(today = new Date()) { }); } -// const KEYNOTES = [ -// { name: "Casey Ellis", org: "cje.io", badge: "Keynote" }, -// { name: "Phillip Wylie", org: "Suzu Labs", badge: "Keynote" }, -// ]; - // const PERFORMERS = [ // { name: "Matt Scheurer", track: '"Definitely Not Secure (DNS)"' }, // { name: "Danny Quist", track: '"Malware Reverse Engineering in a Post-C World"' }, @@ -3960,7 +3957,7 @@ export default class Home extends Component {
- {/* ── HEADLINERS ── (commented out until speakers are announced) + {/* ── HEADLINERS ── */}
Keynote Speakers
@@ -3968,15 +3965,31 @@ export default class Home extends Component {
{KEYNOTES.map((k) => ( -
-
★ {k.badge}
-
{k.name}
-
{k.org}
+
+ {k.name} +
+
★ Keynote
+
{k.name}
+ {k.company && ( + + {hostLabel(k.company)} + + )} + {k.bio &&

{k.bio}

} +
+ {k.twitter && X} + {k.youtube && YouTube} + {k.github && GitHub} + {k.linkedin && LinkedIn} +
+ ▶ View in Agenda +
K/N
))}
+ {/* Featured Performers (hidden until 2027 talks are announced)
♪ Featured Performers
{PERFORMERS.map((p) => ( @@ -3986,11 +3999,11 @@ export default class Home extends Component {
))}
+ */}
- */} {/* ── SOUNDCHECK / TRAINING ── (hidden until training is announced)