Conference page
An orange poster-style event page with the date as the headline, a schedule you filter by day and type, speakers and ticket tiers with seats left.
"use client";
import { useEffect, useRef, useState, type CSSProperties } from "react";
import "./conference-page.css";
/**
* ConferencePage: a page for a two-day design conference ("Offset 27", Lisbon).
* Its signature: a schedule you can switch by day and filter by session type,
* with each session opening for details. Edit DAYS, SPEAKERS and TIERS below.
*/
type Kind = "talk" | "workshop" | "social";
type Session = {
time: string;
title: string;
who: string;
kind: Kind;
room: string;
about: string;
};
const DAYS: { id: string; label: string; date: string; sessions: Session[] }[] =
[
{
id: "d1",
label: "Day 1",
date: "Thu 13 May",
sessions: [
{
time: "09:30",
title: "Doors, coffee and pastel de nata",
who: "",
kind: "social",
room: "Courtyard",
about:
"Pick up your badge and meet the people you will argue with later.",
},
{
time: "10:15",
title: "Interfaces that age well",
who: "Hana Sato",
kind: "talk",
room: "Main hall",
about:
"What ten years of maintaining one banking app taught Hana about patterns that survive redesigns.",
},
{
time: "11:30",
title: "Type for small screens, hands on",
who: "Rui Almeida",
kind: "workshop",
room: "Studio 2",
about:
"Bring a laptop. You leave with a tested type scale for your own product. Limited to 30 people.",
},
{
time: "14:00",
title: "Designing for the second visit",
who: "Amara Okafor",
kind: "talk",
room: "Main hall",
about:
"First impressions get the budget. Amara makes the case for designing what people see on day two.",
},
{
time: "18:30",
title: "Sunset on the river terrace",
who: "",
kind: "social",
room: "Terrace",
about:
"Drinks, music and the best light in Lisbon. Included in every ticket.",
},
],
},
{
id: "d2",
label: "Day 2",
date: "Fri 14 May",
sessions: [
{
time: "10:00",
title: "Motion that explains",
who: "Jonas Weber",
kind: "talk",
room: "Main hall",
about:
"Animation as information: how Jonas's team cut support tickets by animating state, not decoration.",
},
{
time: "11:15",
title: "Accessibility audits in one afternoon",
who: "Amara Okafor",
kind: "workshop",
room: "Studio 1",
about:
"A repeatable checklist and a real site to audit together. Limited to 30 people.",
},
{
time: "14:00",
title: "What we learned shipping in public",
who: "Hana Sato",
kind: "talk",
room: "Main hall",
about:
"A frank look at a year of weekly releases, including the ones that went wrong.",
},
{
time: "16:30",
title: "Closing panel and farewell",
who: "All speakers",
kind: "social",
room: "Main hall",
about:
"Questions from the room, no slides, then goodbyes in the courtyard.",
},
],
},
];
const KINDS: { id: Kind | "all"; label: string }[] = [
{ id: "all", label: "Everything" },
{ id: "talk", label: "Talks" },
{ id: "workshop", label: "Workshops" },
{ id: "social", label: "Social" },
];
const SPEAKERS = [
{
name: "Hana Sato",
role: "Design lead, Mirai Bank",
image: "/images/landing-conference-speaker-01.jpg",
tone: "#ff5a1f",
},
{
name: "Rui Almeida",
role: "Type designer, Lisbon",
image: "/images/landing-conference-speaker-02.jpg",
tone: "#2b35ff",
},
{
name: "Amara Okafor",
role: "Accessibility consultant",
image: "/images/landing-conference-speaker-03.jpg",
tone: "#57534b",
},
{
name: "Jonas Weber",
role: "Motion lead, Fernweh Maps",
image: "/images/landing-conference-speaker-04.jpg",
tone: "#0e0e10",
},
];
const TIERS = [
{ name: "Early bird", price: "€290", left: 0, total: 150, note: "Sold out" },
{
name: "Regular",
price: "€390",
left: 64,
total: 300,
note: "64 of 300 left",
},
{
name: "Team of 5",
price: "€1,650",
left: 9,
total: 30,
note: "9 of 30 left",
},
];
/** Photo with a toned placeholder underneath until the file exists. */
function Photo({
src,
alt,
tone,
label,
}: {
src: string;
alt: string;
tone: string;
label?: string;
}) {
const img = useRef<HTMLImageElement>(null);
const [missing, setMissing] = useState(false);
useEffect(() => {
const el = img.current;
if (el && el.complete && el.naturalWidth === 0) setMissing(true);
}, []);
return (
<div className="gu-conf__photo" style={{ "--tone": tone } as CSSProperties}>
{label && <span aria-hidden="true">{label}</span>}
{!missing && (
<img
ref={img}
src={src}
alt={alt}
loading="lazy"
onError={() => setMissing(true)}
/>
)}
</div>
);
}
export function ConferencePage() {
const [day, setDay] = useState(DAYS[0].id);
const [kind, setKind] = useState<Kind | "all">("all");
const current = DAYS.find((d) => d.id === day)!;
const sessions = current.sessions.filter(
(s) => kind === "all" || s.kind === kind,
);
return (
<div className="gu-conf">
<header className="gu-conf__hero">
<nav className="gu-conf__nav" aria-label="Main">
<a href="#" className="gu-conf__logo">
Offset 27
</a>
<a href="#conf-schedule">Schedule</a>
<a href="#conf-speakers">Speakers</a>
<a href="#conf-tickets" className="gu-conf__nav-cta">
Tickets
</a>
</nav>
<p className="gu-conf__where">
A two-day conference on product design, in Lisbon
</p>
<h1 className="gu-conf__date" aria-label="13 to 14 May 2027">
<span>13–14</span>
<span>May</span>
<span className="gu-conf__year">2027</span>
</h1>
<div className="gu-conf__hero-foot">
<p>
Twelve speakers, four workshops, one river terrace. <b>600 seats</b>{" "}
at LX Factory.
</p>
<a href="#conf-tickets" className="gu-conf__btn">
Get a ticket
</a>
</div>
</header>
<section
id="conf-schedule"
className="gu-conf__schedule"
aria-labelledby="gu-conf-schedule"
>
<div className="gu-conf__head">
<h2 id="gu-conf-schedule">Schedule</h2>
<div className="gu-conf__days" role="group" aria-label="Day">
{DAYS.map((d) => (
<button
key={d.id}
type="button"
aria-pressed={day === d.id}
onClick={() => setDay(d.id)}
>
{d.label}
<small>{d.date}</small>
</button>
))}
</div>
</div>
<div className="gu-conf__kinds" role="group" aria-label="Show">
{KINDS.map((k) => (
<button
key={k.id}
type="button"
aria-pressed={kind === k.id}
onClick={() => setKind(k.id)}
>
{k.label}
</button>
))}
</div>
<p className="gu-conf__sr" role="status">
{sessions.length} {sessions.length === 1 ? "session" : "sessions"}{" "}
shown for {current.label}
</p>
<ul className="gu-conf__sessions" key={day + kind}>
{sessions.map((s, i) => (
<li key={s.title} style={{ "--d": i } as CSSProperties}>
<details>
<summary>
<time>{s.time}</time>
<span className="gu-conf__s-main">
<b>{s.title}</b>
{s.who && <span>{s.who}</span>}
</span>
<span className={`gu-conf__tag is-${s.kind}`}>
{s.kind[0].toUpperCase() + s.kind.slice(1)}
</span>
</summary>
<p>
{s.about} <em>{s.room}.</em>
</p>
</details>
</li>
))}
</ul>
</section>
<section
id="conf-speakers"
className="gu-conf__speakers"
aria-labelledby="gu-conf-speakers"
>
<h2 id="gu-conf-speakers">Speakers</h2>
<ul>
{SPEAKERS.map((s) => (
<li key={s.name}>
<Photo
src={s.image}
alt={`Portrait of ${s.name}`}
tone={s.tone}
label={s.name
.split(" ")
.map((p) => p[0])
.join("")}
/>
<b>{s.name}</b>
<span>{s.role}</span>
</li>
))}
</ul>
</section>
<section
id="conf-tickets"
className="gu-conf__tickets"
aria-labelledby="gu-conf-tickets"
>
<h2 id="gu-conf-tickets">Tickets</h2>
<p className="gu-conf__tickets-note">
Every ticket includes both days, lunch and the terrace party.
</p>
<ul>
{TIERS.map((t) => {
const soldOut = t.left === 0;
return (
<li key={t.name} className={soldOut ? "is-out" : ""}>
<p className="gu-conf__tier">{t.name}</p>
<p className="gu-conf__tier-price">{t.price}</p>
<div
className="gu-conf__seats"
role="meter"
aria-label={`${t.name} seats left`}
aria-valuemin={0}
aria-valuemax={t.total}
aria-valuenow={t.left}
>
<i style={{ width: `${(t.left / t.total) * 100}%` }} />
</div>
<p className="gu-conf__left">{t.note}</p>
<a
href={soldOut ? undefined : "#"}
aria-disabled={soldOut || undefined}
className="gu-conf__btn"
>
{soldOut ? "Sold out" : "Buy"}
</a>
</li>
);
})}
</ul>
</section>
<section className="gu-conf__venue" aria-labelledby="gu-conf-venue">
<Photo
src="/images/landing-conference-venue-05.jpg"
alt="A large converted factory hall with exposed brick, steel beams and rows of chairs facing a stage"
tone="#b4471f"
/>
<div>
<h2 id="gu-conf-venue">LX Factory, Lisbon</h2>
<p>
A 19th-century textile mill under the 25 de Abril bridge, ten
minutes from the centre by tram.
</p>
<p>
Step-free access throughout, quiet room on both days, live captions
in the main hall.
</p>
</div>
</section>
<footer className="gu-conf__foot">
<span>
Offset 27 is run by a small team of designers. Questions:
hello@example.com
</span>
</footer>
</div>
);
}
Paste this into ChatGPT, Claude, Cursor, v0, Lovable or Bolt. It describes the layout, motion, colors and accessibility and includes the code, so the AI can rebuild it in any framework.
# Build this UI piece: Conference page
You are a senior front-end engineer. Recreate the piece below in my project. If I don't say which framework I use, ask once, then build it in that framework (React, Vue, Svelte, Angular, Astro, plain HTML/CSS/JS or anything else). Keep the behavior, motion, colors, spacing and accessibility exactly as described. Keep the code clean and commented for beginners.
## What it is
A light page for a two-day product design conference ("Offset 27", Lisbon, 13–14 May 2027). Its signature: an orange poster-style hero where the date is the headline, and a schedule you switch by day and filter by session type, where each session opens for details. Sections: hero with nav, schedule, speakers grid, three ticket tiers with seats-left bars, venue with a photo, and a footer.
## Palette
Background #f3eee3, surface #fbf8f2, text #0e0e10, muted #57534b, lines rgba(14,14,16,0.14), accent #ff5a1f (hero, workshop tags, seat bars, hovered session titles), focus #2b35ff. Text on orange is always ink.
## Layout
- Root uses container queries (container-type: inline-size), side padding 5%.
- Hero: full orange block. Nav (logo, two links from 640px, a "Tickets" outline pill). A small line, then the date as a wrapping h1 up to 17rem: "13–14" and "May" solid, "2027" as an outline (transparent fill, ink text stroke). Below a 2px ink rule: one line of facts and a "Get a ticket" button.
- Schedule: heading with two day buttons (label and date, 2px ink border, filled when pressed); a row of filter pills (Everything, Talks, Workshops, Social); then sessions as rows: time (tabular numbers), title and speaker, type tag. Each row is a native details/summary; the details text lines up under the title.
- Speakers: 2 columns on phones, 4 from 720px. Portraits 4:5 with a 20px radius, grayscale until hover (always in color on touch), then name and role.
- Tickets: 3 columns from 720px. Each card has a 2px ink border, name, big price, a seats-left bar, a note and a Buy button. A sold-out tier fades and its button is disabled.
- Venue: photo 3:2 beside the venue name and two short paragraphs (history, access).
## Images
Four speaker portraits (1000×1250, 4:5) and one venue photo (1800×1200, 3:2). Until a file exists, its frame shows a toned gradient with the speaker's initials.
## Motion
- The date parts drop in from 30% above, 80ms apart.
- Switching day or filter re-lists the sessions, each rising 10px, 50ms apart.
- Session titles turn orange on hover. Portraits gain color and scale to 1.03 on hover.
## Accessibility
- Day and filter controls are toggle buttons with aria-pressed. A visually hidden role="status" line announces how many sessions are shown.
- Seats left use role="meter" with min, max and current values.
- The h1 has aria-label "13 to 14 May 2027".
- Sold-out buttons have aria-disabled and no link.
- prefers-reduced-motion: no drop-in, no row animation, no zoom.
## Reference implementation
The original is written in React with one plain CSS file. Dependencies: none (plain React and CSS). Translate it faithfully; do not add new libraries unless my framework needs them.
### ConferencePage.tsx
```tsx
"use client";
import { useEffect, useRef, useState, type CSSProperties } from "react";
import "./conference-page.css";
/**
* ConferencePage: a page for a two-day design conference ("Offset 27", Lisbon).
* Its signature: a schedule you can switch by day and filter by session type,
* with each session opening for details. Edit DAYS, SPEAKERS and TIERS below.
*/
type Kind = "talk" | "workshop" | "social";
type Session = {
time: string;
title: string;
who: string;
kind: Kind;
room: string;
about: string;
};
const DAYS: { id: string; label: string; date: string; sessions: Session[] }[] =
[
{
id: "d1",
label: "Day 1",
date: "Thu 13 May",
sessions: [
{
time: "09:30",
title: "Doors, coffee and pastel de nata",
who: "",
kind: "social",
room: "Courtyard",
about:
"Pick up your badge and meet the people you will argue with later.",
},
{
time: "10:15",
title: "Interfaces that age well",
who: "Hana Sato",
kind: "talk",
room: "Main hall",
about:
"What ten years of maintaining one banking app taught Hana about patterns that survive redesigns.",
},
{
time: "11:30",
title: "Type for small screens, hands on",
who: "Rui Almeida",
kind: "workshop",
room: "Studio 2",
about:
"Bring a laptop. You leave with a tested type scale for your own product. Limited to 30 people.",
},
{
time: "14:00",
title: "Designing for the second visit",
who: "Amara Okafor",
kind: "talk",
room: "Main hall",
about:
"First impressions get the budget. Amara makes the case for designing what people see on day two.",
},
{
time: "18:30",
title: "Sunset on the river terrace",
who: "",
kind: "social",
room: "Terrace",
about:
"Drinks, music and the best light in Lisbon. Included in every ticket.",
},
],
},
{
id: "d2",
label: "Day 2",
date: "Fri 14 May",
sessions: [
{
time: "10:00",
title: "Motion that explains",
who: "Jonas Weber",
kind: "talk",
room: "Main hall",
about:
"Animation as information: how Jonas's team cut support tickets by animating state, not decoration.",
},
{
time: "11:15",
title: "Accessibility audits in one afternoon",
who: "Amara Okafor",
kind: "workshop",
room: "Studio 1",
about:
"A repeatable checklist and a real site to audit together. Limited to 30 people.",
},
{
time: "14:00",
title: "What we learned shipping in public",
who: "Hana Sato",
kind: "talk",
room: "Main hall",
about:
"A frank look at a year of weekly releases, including the ones that went wrong.",
},
{
time: "16:30",
title: "Closing panel and farewell",
who: "All speakers",
kind: "social",
room: "Main hall",
about:
"Questions from the room, no slides, then goodbyes in the courtyard.",
},
],
},
];
const KINDS: { id: Kind | "all"; label: string }[] = [
{ id: "all", label: "Everything" },
{ id: "talk", label: "Talks" },
{ id: "workshop", label: "Workshops" },
{ id: "social", label: "Social" },
];
const SPEAKERS = [
{
name: "Hana Sato",
role: "Design lead, Mirai Bank",
image: "/images/landing-conference-speaker-01.jpg",
tone: "#ff5a1f",
},
{
name: "Rui Almeida",
role: "Type designer, Lisbon",
image: "/images/landing-conference-speaker-02.jpg",
tone: "#2b35ff",
},
{
name: "Amara Okafor",
role: "Accessibility consultant",
image: "/images/landing-conference-speaker-03.jpg",
tone: "#57534b",
},
{
name: "Jonas Weber",
role: "Motion lead, Fernweh Maps",
image: "/images/landing-conference-speaker-04.jpg",
tone: "#0e0e10",
},
];
const TIERS = [
{ name: "Early bird", price: "€290", left: 0, total: 150, note: "Sold out" },
{
name: "Regular",
price: "€390",
left: 64,
total: 300,
note: "64 of 300 left",
},
{
name: "Team of 5",
price: "€1,650",
left: 9,
total: 30,
note: "9 of 30 left",
},
];
/** Photo with a toned placeholder underneath until the file exists. */
function Photo({
src,
alt,
tone,
label,
}: {
src: string;
alt: string;
tone: string;
label?: string;
}) {
const img = useRef<HTMLImageElement>(null);
const [missing, setMissing] = useState(false);
useEffect(() => {
const el = img.current;
if (el && el.complete && el.naturalWidth === 0) setMissing(true);
}, []);
return (
<div className="gu-conf__photo" style={{ "--tone": tone } as CSSProperties}>
{label && <span aria-hidden="true">{label}</span>}
{!missing && (
<img
ref={img}
src={src}
alt={alt}
loading="lazy"
onError={() => setMissing(true)}
/>
)}
</div>
);
}
export function ConferencePage() {
const [day, setDay] = useState(DAYS[0].id);
const [kind, setKind] = useState<Kind | "all">("all");
const current = DAYS.find((d) => d.id === day)!;
const sessions = current.sessions.filter(
(s) => kind === "all" || s.kind === kind,
);
return (
<div className="gu-conf">
<header className="gu-conf__hero">
<nav className="gu-conf__nav" aria-label="Main">
<a href="#" className="gu-conf__logo">
Offset 27
</a>
<a href="#conf-schedule">Schedule</a>
<a href="#conf-speakers">Speakers</a>
<a href="#conf-tickets" className="gu-conf__nav-cta">
Tickets
</a>
</nav>
<p className="gu-conf__where">
A two-day conference on product design, in Lisbon
</p>
<h1 className="gu-conf__date" aria-label="13 to 14 May 2027">
<span>13–14</span>
<span>May</span>
<span className="gu-conf__year">2027</span>
</h1>
<div className="gu-conf__hero-foot">
<p>
Twelve speakers, four workshops, one river terrace. <b>600 seats</b>{" "}
at LX Factory.
</p>
<a href="#conf-tickets" className="gu-conf__btn">
Get a ticket
</a>
</div>
</header>
<section
id="conf-schedule"
className="gu-conf__schedule"
aria-labelledby="gu-conf-schedule"
>
<div className="gu-conf__head">
<h2 id="gu-conf-schedule">Schedule</h2>
<div className="gu-conf__days" role="group" aria-label="Day">
{DAYS.map((d) => (
<button
key={d.id}
type="button"
aria-pressed={day === d.id}
onClick={() => setDay(d.id)}
>
{d.label}
<small>{d.date}</small>
</button>
))}
</div>
</div>
<div className="gu-conf__kinds" role="group" aria-label="Show">
{KINDS.map((k) => (
<button
key={k.id}
type="button"
aria-pressed={kind === k.id}
onClick={() => setKind(k.id)}
>
{k.label}
</button>
))}
</div>
<p className="gu-conf__sr" role="status">
{sessions.length} {sessions.length === 1 ? "session" : "sessions"}{" "}
shown for {current.label}
</p>
<ul className="gu-conf__sessions" key={day + kind}>
{sessions.map((s, i) => (
<li key={s.title} style={{ "--d": i } as CSSProperties}>
<details>
<summary>
<time>{s.time}</time>
<span className="gu-conf__s-main">
<b>{s.title}</b>
{s.who && <span>{s.who}</span>}
</span>
<span className={`gu-conf__tag is-${s.kind}`}>
{s.kind[0].toUpperCase() + s.kind.slice(1)}
</span>
</summary>
<p>
{s.about} <em>{s.room}.</em>
</p>
</details>
</li>
))}
</ul>
</section>
<section
id="conf-speakers"
className="gu-conf__speakers"
aria-labelledby="gu-conf-speakers"
>
<h2 id="gu-conf-speakers">Speakers</h2>
<ul>
{SPEAKERS.map((s) => (
<li key={s.name}>
<Photo
src={s.image}
alt={`Portrait of ${s.name}`}
tone={s.tone}
label={s.name
.split(" ")
.map((p) => p[0])
.join("")}
/>
<b>{s.name}</b>
<span>{s.role}</span>
</li>
))}
</ul>
</section>
<section
id="conf-tickets"
className="gu-conf__tickets"
aria-labelledby="gu-conf-tickets"
>
<h2 id="gu-conf-tickets">Tickets</h2>
<p className="gu-conf__tickets-note">
Every ticket includes both days, lunch and the terrace party.
</p>
<ul>
{TIERS.map((t) => {
const soldOut = t.left === 0;
return (
<li key={t.name} className={soldOut ? "is-out" : ""}>
<p className="gu-conf__tier">{t.name}</p>
<p className="gu-conf__tier-price">{t.price}</p>
<div
className="gu-conf__seats"
role="meter"
aria-label={`${t.name} seats left`}
aria-valuemin={0}
aria-valuemax={t.total}
aria-valuenow={t.left}
>
<i style={{ width: `${(t.left / t.total) * 100}%` }} />
</div>
<p className="gu-conf__left">{t.note}</p>
<a
href={soldOut ? undefined : "#"}
aria-disabled={soldOut || undefined}
className="gu-conf__btn"
>
{soldOut ? "Sold out" : "Buy"}
</a>
</li>
);
})}
</ul>
</section>
<section className="gu-conf__venue" aria-labelledby="gu-conf-venue">
<Photo
src="/images/landing-conference-venue-05.jpg"
alt="A large converted factory hall with exposed brick, steel beams and rows of chairs facing a stage"
tone="#b4471f"
/>
<div>
<h2 id="gu-conf-venue">LX Factory, Lisbon</h2>
<p>
A 19th-century textile mill under the 25 de Abril bridge, ten
minutes from the centre by tram.
</p>
<p>
Step-free access throughout, quiet room on both days, live captions
in the main hall.
</p>
</div>
</section>
<footer className="gu-conf__foot">
<span>
Offset 27 is run by a small team of designers. Questions:
hello@example.com
</span>
</footer>
</div>
);
}
```
### conference-page.css
```css
/* ConferencePage: change these colors to match your brand. */
.gu-conf {
--bg: #f3eee3;
--surface: #fbf8f2;
--text: #0e0e10;
--muted: #57534b;
--line: rgb(14 14 16 / 0.14);
--accent: #ff5a1f;
--volt: #d7ff3a;
--blue: #2b35ff;
--focus: #2b35ff;
--ease: cubic-bezier(0.16, 1, 0.3, 1);
container-type: inline-size;
overflow-x: clip;
background: var(--bg);
color: var(--text);
font-family: system-ui, sans-serif;
}
.gu-conf a {
color: inherit;
text-decoration: none;
}
.gu-conf :focus-visible {
outline: 2px solid var(--focus);
outline-offset: 3px;
}
.gu-conf h1,
.gu-conf h2,
.gu-conf p {
margin: 0;
}
.gu-conf__sr {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip-path: inset(50%);
white-space: nowrap;
}
.gu-conf__btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 48px;
padding: 0 22px;
border-radius: 999px;
background: var(--text);
color: var(--bg) !important;
font-weight: 800;
transition: transform 0.3s var(--ease);
}
.gu-conf__btn:hover {
transform: translateY(-2px);
}
.gu-conf__btn[aria-disabled="true"] {
background: var(--line);
color: var(--muted) !important;
pointer-events: none;
}
/* Hero: an orange poster with the date as the headline */
.gu-conf__hero {
padding: 0 5% 40px;
background: var(--accent);
}
.gu-conf__nav {
display: flex;
align-items: center;
gap: 22px;
padding: 18px 0;
font-weight: 700;
}
.gu-conf__logo {
margin-right: auto;
font-weight: 900;
font-size: 1.15rem;
letter-spacing: -0.03em;
}
.gu-conf__nav > a:not(.gu-conf__logo):not(.gu-conf__nav-cta) {
display: none;
}
@container (min-width: 640px) {
.gu-conf__nav > a:not(.gu-conf__logo):not(.gu-conf__nav-cta) {
display: inline;
}
}
.gu-conf__nav-cta {
display: inline-flex;
align-items: center;
min-height: 44px;
padding: 0 18px;
border: 2px solid var(--text);
border-radius: 999px;
}
.gu-conf__where {
margin-top: 40px !important;
font-weight: 700;
font-size: 1.1rem;
}
.gu-conf__date {
display: flex;
flex-wrap: wrap;
align-items: baseline;
column-gap: 0.18em;
margin-top: 8px !important;
font-size: clamp(4.2rem, 21cqi, 17rem);
font-weight: 900;
line-height: 0.82;
letter-spacing: -0.065em;
}
.gu-conf__date span {
display: inline-block;
animation: gu-conf-drop 0.9s var(--ease) both;
}
.gu-conf__date span:nth-child(2) {
animation-delay: 0.08s;
}
.gu-conf__date span:nth-child(3) {
animation-delay: 0.16s;
}
@keyframes gu-conf-drop {
from {
opacity: 0;
transform: translateY(-30%);
}
}
.gu-conf__year {
color: transparent;
-webkit-text-stroke: 0.025em var(--text);
}
.gu-conf__hero-foot {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 20px;
margin-top: 32px;
padding-top: 20px;
border-top: 2px solid var(--text);
}
.gu-conf__hero-foot p {
max-width: 34ch;
font-size: 1.1rem;
font-weight: 600;
line-height: 1.4;
}
/* Schedule */
.gu-conf__schedule {
padding: 64px 5%;
}
.gu-conf h2 {
font-size: clamp(2.2rem, 6cqi, 4.4rem);
font-weight: 900;
line-height: 0.95;
letter-spacing: -0.05em;
}
.gu-conf__head {
display: flex;
flex-wrap: wrap;
align-items: end;
justify-content: space-between;
gap: 20px;
}
.gu-conf__days {
display: flex;
gap: 8px;
}
.gu-conf__days button {
display: grid;
min-height: 56px;
padding: 8px 18px;
border: 2px solid var(--text);
border-radius: 16px;
background: transparent;
color: var(--text);
font: inherit;
font-weight: 900;
text-align: left;
cursor: pointer;
}
.gu-conf__days small {
font-weight: 500;
font-size: 0.78rem;
}
.gu-conf__days button[aria-pressed="true"] {
background: var(--text);
color: var(--bg);
}
.gu-conf__kinds {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin: 28px 0 12px;
}
.gu-conf__kinds button {
min-height: 40px;
padding: 0 16px;
border: 1px solid var(--line);
border-radius: 999px;
background: transparent;
color: var(--muted);
font: inherit;
font-weight: 700;
cursor: pointer;
}
.gu-conf__kinds button[aria-pressed="true"] {
border-color: var(--text);
color: var(--text);
box-shadow: inset 0 0 0 1px var(--text);
}
.gu-conf__sessions {
margin: 0;
padding: 0;
list-style: none;
}
.gu-conf__sessions li {
border-bottom: 1px solid var(--line);
animation: gu-conf-row 0.5s var(--ease) both;
animation-delay: calc(var(--d) * 50ms);
}
@keyframes gu-conf-row {
from {
opacity: 0;
transform: translateY(10px);
}
}
.gu-conf__sessions summary {
display: grid;
grid-template-columns: 4em 1fr auto;
align-items: center;
gap: 16px;
min-height: 72px;
padding: 12px 0;
cursor: pointer;
list-style: none;
}
.gu-conf__sessions summary::-webkit-details-marker {
display: none;
}
.gu-conf__sessions time {
font-weight: 800;
font-variant-numeric: tabular-nums;
}
.gu-conf__s-main {
display: grid;
gap: 2px;
}
.gu-conf__s-main b {
font-size: clamp(1.05rem, 2.4cqi, 1.5rem);
letter-spacing: -0.02em;
transition: color 0.2s;
}
.gu-conf__sessions summary:hover b {
color: var(--accent);
}
.gu-conf__s-main span {
color: var(--muted);
}
.gu-conf__tag {
padding: 4px 10px;
border-radius: 999px;
font-size: 0.78rem;
font-weight: 700;
}
.gu-conf__tag.is-talk {
background: var(--text);
color: var(--bg);
}
.gu-conf__tag.is-workshop {
background: var(--accent);
color: var(--text);
}
.gu-conf__tag.is-social {
box-shadow: inset 0 0 0 1px var(--text);
}
.gu-conf__sessions details p {
max-width: 60ch;
padding: 0 0 20px calc(4em + 16px);
line-height: 1.5;
color: var(--muted);
}
.gu-conf__sessions details em {
font-style: normal;
font-weight: 700;
color: var(--text);
}
/* Speakers */
.gu-conf__speakers {
padding: 64px 5%;
background: var(--surface);
}
.gu-conf__speakers ul {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 28px 16px;
margin: 32px 0 0;
padding: 0;
list-style: none;
}
@container (min-width: 720px) {
.gu-conf__speakers ul {
grid-template-columns: repeat(4, 1fr);
}
}
.gu-conf__speakers li {
display: grid;
gap: 4px;
}
.gu-conf__speakers li span:last-child {
font-size: 0.9rem;
color: var(--muted);
}
.gu-conf__speakers .gu-conf__photo {
aspect-ratio: 4 / 5;
margin-bottom: 10px;
border-radius: 20px;
}
.gu-conf__speakers .gu-conf__photo img {
filter: grayscale(1) contrast(1.05);
transition:
filter 0.5s,
transform 0.8s var(--ease);
}
.gu-conf__speakers li:hover .gu-conf__photo img {
filter: none;
transform: scale(1.03);
}
@media (hover: none) {
.gu-conf__speakers .gu-conf__photo img {
filter: none;
}
}
.gu-conf__photo {
position: relative;
overflow: hidden;
background:
repeating-linear-gradient(
135deg,
rgb(255 255 255 / 0.1) 0 2px,
transparent 2px 18px
),
radial-gradient(
120% 90% at 30% 20%,
color-mix(in srgb, var(--tone) 60%, #fff),
var(--tone)
);
}
.gu-conf__photo > span {
position: absolute;
inset: 0;
display: grid;
place-items: center;
font-size: 2.4rem;
font-weight: 900;
color: rgb(255 255 255 / 0.85);
}
.gu-conf__photo img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
/* Tickets */
.gu-conf__tickets {
padding: 64px 5%;
}
.gu-conf__tickets-note {
margin-top: 12px !important;
color: var(--muted);
}
.gu-conf__tickets ul {
display: grid;
gap: 16px;
margin: 32px 0 0;
padding: 0;
list-style: none;
}
@container (min-width: 720px) {
.gu-conf__tickets ul {
grid-template-columns: repeat(3, 1fr);
}
}
.gu-conf__tickets li {
display: grid;
gap: 10px;
padding: 24px;
border: 2px solid var(--text);
border-radius: 24px;
}
.gu-conf__tickets li.is-out {
border-color: var(--line);
color: var(--muted);
}
.gu-conf__tier {
font-weight: 800;
}
.gu-conf__tier-price {
font-size: 3rem;
font-weight: 900;
line-height: 1;
letter-spacing: -0.05em;
}
.gu-conf__seats {
height: 8px;
overflow: hidden;
border-radius: 999px;
background: var(--line);
}
.gu-conf__seats i {
display: block;
height: 100%;
border-radius: inherit;
background: var(--accent);
}
.gu-conf__left {
font-size: 0.9rem;
color: var(--muted);
}
.gu-conf__tickets .gu-conf__btn {
margin-top: 8px;
}
/* Venue */
.gu-conf__venue {
display: grid;
gap: 28px;
padding: 0 5% 64px;
}
@container (min-width: 720px) {
.gu-conf__venue {
grid-template-columns: 1.3fr 1fr;
align-items: end;
}
}
.gu-conf__venue .gu-conf__photo {
aspect-ratio: 3 / 2;
border-radius: 24px;
}
.gu-conf__venue p {
max-width: 40ch;
margin-top: 14px !important;
line-height: 1.5;
color: var(--muted);
}
.gu-conf__foot {
padding: 20px 5%;
border-top: 1px solid var(--line);
font-size: 0.85rem;
color: var(--muted);
}
@media (prefers-reduced-motion: reduce) {
.gu-conf__date span,
.gu-conf__sessions li {
animation: none;
}
.gu-conf__btn,
.gu-conf__speakers .gu-conf__photo img {
transition: none;
}
.gu-conf__speakers li:hover .gu-conf__photo img {
transform: none;
}
}
```
You might also want
Next piece: Cookie consent bannerInvoicing app landing page
Landing pages, advanced
Coffee roaster subscription page
Landing pages, advanced
Freelancer money app page with a live split
Landing pages, advanced




