Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/content/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
25 changes: 25 additions & 0 deletions src/content/keynotes.ts
Original file line number Diff line number Diff line change
@@ -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(/\/$/, "");
30 changes: 28 additions & 2 deletions src/pages/Agenda/Agenda.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -56,7 +59,7 @@ export default class Agenda extends Component<AgendaProps, AgendaState> {
>
<TabList>
<Tab tabFor="schedule">Schedule</Tab>
{/* <Tab tabFor="keynotes">Keynotes</Tab> */}
<Tab tabFor="keynotes">Keynotes</Tab>
{/* <Tab tabFor="speakers">Speakers</Tab> */}
{/* <Tab tabFor="talks">Talks</Tab> */}
<Tab tabFor="villages">Villages</Tab>
Expand All @@ -75,6 +78,29 @@ export default class Agenda extends Component<AgendaProps, AgendaState> {
</div>
</TabPanel>

<TabPanel tabId="keynotes">
<div className="text-area">
<div className="speaker-section keynote-speakers">
<div className="speakers">
{KEYNOTES.map((k) => (
<Individuals key={k.speaker_id}
speakerId={k.speaker_id}
talkId={k.talk_id}
speaker={k.name}
company={k.company}
twitter={k.twitter}
mastodon={k.mastodon}
linkedin={k.linkedin}
github={k.github}
image={`speakers/${k.image}`}
bio={k.bio}
/>
))}
</div>
</div>
</div>
</TabPanel>

<TabPanel tabId="villages">
<div className="text-area">
{/* <CallOuts title="Villages" config={villageConfig as unknown as CallOutsConfig} /> */}
Expand All @@ -99,7 +125,7 @@ export default class Agenda extends Component<AgendaProps, AgendaState> {
</div>
</TabPanel>

{/* keynotes, speakers, talks, entertainment, careers - coming soon */}
{/* speakers, talks, entertainment, careers - coming soon */}
</Tabs>
);
}
Expand Down
5 changes: 4 additions & 1 deletion src/pages/Agenda/Speakers/Individuals.tsx
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -61,7 +62,9 @@ class Individuals extends Component<IndividualsProps> {
{this.props.speaker}
</h3>
{(this.props.company || twitter || this.props.mastodon || github || this.props.linkedin) && <span className='speaker-titles'>
{this.props.company && <span>{this.props.company}</span>}
{this.props.company && <span>{/^https?:\/\//.test(this.props.company)
? <a href={this.props.company} target="_blank" rel="noopener noreferrer nofollow">{hostLabel(this.props.company)}</a>
: this.props.company}</span>}
{twitter &&
<span>
<a href={twitter}
Expand Down
34 changes: 33 additions & 1 deletion src/pages/Agenda/Speakers/Speakers.scss
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@
vertical-align: middle;
}
}
// Site is always dark, so always use the white logos.
.light-mode-logo { display: none !important; }
.dark-mode-logo { display: inline !important; }
.speaker-socials-logo {
width: 16px;
// margin: 0px 3px 0px 3px;
Expand All @@ -124,4 +127,33 @@
}
}
}
}
}
// Keynotes tab: one speaker per row, full width, larger photo.
.speaker-section.keynote-speakers {
.speakers .individual-speaker-section {
width: 100%;
padding-bottom: 50px;

.speaker-wording {
.bio-image {
width: 240px;
height: 240px;
margin: -40px 0 20px 30px;
}
p {
font-size: 16px;
line-height: 26px;
}
}
}
}

@media (max-width: 600px) {
.speaker-section.keynote-speakers .speakers .individual-speaker-section .speaker-wording .bio-image {
float: none;
display: block;
width: 180px;
height: 180px;
margin: 15px 0;
}
}
4 changes: 1 addition & 3 deletions src/pages/Agenda/Speakers/Speakers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Individuals from './Individuals';
import './Speakers.scss';

// import { agendaConfig as config } from '../../../content';
import { speakerConfig as config } from '../../../content';
import { speakerConfig as config, KEYNOTE_SPEAKER_IDS } from '../../../content';

interface SpeakerAuthor {
name: string;
Expand All @@ -27,8 +27,6 @@ interface SpeakerGroup {
talks: SpeakerTalk[];
}

const KEYNOTE_SPEAKER_IDS = ['caseyellis', 'phillipwylie'];

function getParsedSpeakerConfig(): SpeakerGroup[] {
const raw: unknown = config;
if (Array.isArray(raw)) return raw as SpeakerGroup[];
Expand Down
15 changes: 15 additions & 0 deletions src/pages/CFP/CFP.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ return (
<div>
{/* Opening */}
<p className="tab-paragraph">Calling all hackers, researchers, and builders!</p>
{/* Form-based submission disabled while the CFP form is broken.
<p className="tab-paragraph">TL;DR - submit via {" "}
<a
href="https://forms.gle/EJr4EK7NjZeDyBZb8"
Expand All @@ -19,6 +20,12 @@ return (
this form
</a> (but you really should read the instructions).
</p>
*/}
<p className="tab-paragraph">TL;DR - email your submission to {" "}
<a href="mailto:[email protected]" className="text-highlight" rel="noopener noreferrer">
[email protected]
</a> (but you really should read the instructions).
</p>
<p className="tab-paragraph">
The Kernelcon Crew is soliciting presentations for the eighth annual Kernelcon,
held at the Hilton Downtown in Omaha, NE, March 4-5, 2027.
Expand Down Expand Up @@ -180,6 +187,7 @@ return (
Supplementary files like draft slides, outlines, or whitepapers may also be
included via URL (Dropbox, Drive, etc.).
</p>
{/* Form-based submission disabled while the CFP form is broken.
<p className="tab-paragraph">We're continuing into our 3rd year of a form-based CFP submission system rather than email.</p>
<p className="tab-paragraph">Submissions are collected by {" "}
<a
Expand All @@ -189,6 +197,13 @@ return (
target="_blank">
form
</a>{""}. </p>
*/}
<p className="tab-paragraph">
Email your submission to {" "}
<a href="mailto:[email protected]" className="text-highlight" rel="noopener noreferrer">
[email protected]
</a>.
</p>

{/* Grant of Copyright */}
<p className="tab-heading">Grant of Copyright Use</p>
Expand Down
68 changes: 68 additions & 0 deletions src/pages/Home/Home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
35 changes: 24 additions & 11 deletions src/pages/Home/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"' },
Expand Down Expand Up @@ -3960,23 +3957,39 @@ export default class Home extends Component<object, HomeState> {

<div className="rhythm-stripe" />

{/* ── HEADLINERS ── (commented out until speakers are announced)
{/* ── HEADLINERS ── */}
<div className="rhythm-section headliners-section">
<div className="rhythm-inner">
<div className="rhythm-label">Keynote Speakers</div>
<h2 className="rhythm-title">HEAD<span className="accent-pink">LINERS</span></h2>

<div className="headliner-grid">
{KEYNOTES.map((k) => (
<div key={k.name} className="headliner-card">
<div className="headliner-badge">★ {k.badge}</div>
<div className="headliner-name">{k.name}</div>
<div className="headliner-org">{k.org}</div>
<div key={k.speaker_id} className="headliner-card headliner-card--feature">
<img className="headliner-photo" src={imgIn('speakers', k.image)} alt={k.name} />
<div className="headliner-body">
<div className="headliner-badge">★ Keynote</div>
<div className="headliner-name">{k.name}</div>
{k.company && (
<a className="headliner-org" href={k.company} target="_blank" rel="noopener noreferrer">
{hostLabel(k.company)}
</a>
)}
{k.bio && <p className="headliner-bio">{k.bio}</p>}
<div className="headliner-socials">
{k.twitter && <a href={k.twitter} target="_blank" rel="noopener noreferrer nofollow">X</a>}
{k.youtube && <a href={k.youtube} target="_blank" rel="noopener noreferrer nofollow">YouTube</a>}
{k.github && <a href={k.github} target="_blank" rel="noopener noreferrer nofollow">GitHub</a>}
{k.linkedin && <a href={k.linkedin} target="_blank" rel="noopener noreferrer nofollow">LinkedIn</a>}
</div>
<a className="headliner-more" href="/agenda/keynotes">▶ View in Agenda</a>
</div>
<div className="headliner-bg-text">K/N</div>
</div>
))}
</div>

{/* Featured Performers (hidden until 2027 talks are announced)
<div className="performers-label">♪ Featured Performers</div>
<div className="performers-grid">
{PERFORMERS.map((p) => (
Expand All @@ -3986,11 +3999,11 @@ export default class Home extends Component<object, HomeState> {
</div>
))}
</div>
*/}
</div>
</div>

<div className="rhythm-stripe" />
*/}

{/* ── SOUNDCHECK / TRAINING ── (hidden until training is announced)
<div className="rhythm-section soundcheck-section">
Expand Down
Loading