Skip to content

Commit 441fc55

Browse files
committed
Update old sections to new typography styles
1 parent 86f208c commit 441fc55

File tree

4 files changed

+38
-46
lines changed

4 files changed

+38
-46
lines changed

src/app/conf/2025/page.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,8 @@ export default function Page() {
3131
<RegisterSection />
3232
<Sponsors heading="Thanks to our 2024 sponsors!" />
3333
<CallForProposals />
34-
<div className="container my-20 flex flex-col gap-20 md:my-32 md:gap-32 [.light_&_.text-white]:text-neu-900 [.light_&_[alt='Grafbase_logo']]:invert">
35-
<Sponsor />
36-
<Venue />
37-
</div>
34+
<Sponsor />
35+
<Venue />
3836
<FAQ />
3937
</div>
4038
</main>

src/app/conf/2025/sponsorship.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
import { InfoGrid } from "../_components/info-grid"
2+
import { Button } from "../_design-system/button"
23

34
export function Sponsor() {
45
return (
5-
<section id="sponsors">
6+
<section id="sponsors" className="gql-conf-section">
67
<InfoGrid
7-
title="Why Sponsor?"
8+
title="Become a Sponsor"
89
subtitle="Connect with the global GraphQL community and showcase your brand to industry leaders and decision-makers."
910
listItems={[
1011
{
@@ -40,14 +41,13 @@ export function Sponsor() {
4041
/>
4142

4243
<div className="mt-8 flex justify-center">
43-
<a
44+
<Button
4445
href="https://events.linuxfoundation.org/sponsor-GraphQLConf-25?utm_source=graphql_conf_2025&utm_medium=website&utm_campaign=sponsor_section"
4546
target="_blank"
4647
rel="noreferrer"
47-
className="bg-primary/85 px-20 py-4 text-center text-3xl font-semibold transition-colors hover:bg-primary/100 md:px-28"
4848
>
4949
Download Prospectus
50-
</a>
50+
</Button>
5151
</div>
5252
</section>
5353
)

src/app/conf/2025/venue.tsx

Lines changed: 26 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@ const HOTELS = [
1010
{
1111
name: "Mövenpick Hotel Amsterdam City Centre",
1212
link: "https://movenpick.accor.com/en/europe/netherlands/amsterdam/hotel-amsterdam.html?utm_source=google&utm_medium=local&utm_campaign=hotel-MHR-Amsterdam-city-center&y_source=1_MTUzNjI2OTgtNzE1LWxvY2F0aW9uLndlYnNpdGU%3D",
13-
description: `Piet Heinkade 11\n1019 BR Amsterdam, Netherlands\nPhone: <a class="hover:text-primary underline" href="tel:+31 20 519 1200">+31 20 519 1200</a>`,
13+
description: `Piet Heinkade 11\n1019 BR Amsterdam, Netherlands\nPhone: <a class="typography-link" href="tel:+31 20 519 1200">+31 20 519 1200</a>`,
1414
},
1515
{
1616
name: "Inntel Hotels Amsterdam Landmark",
1717
link: "https://www.inntelhotelsamsterdamlandmark.nl/",
18-
description: `VOC-kade 600\n1018 LG Amsterdam, Netherlands\n Phone: <a class="hover:text-primary underline" href="tel:+31 20 227 2550">+31 20 227 2550</a>`,
18+
description: `VOC-kade 600\n1018 LG Amsterdam, Netherlands\nPhone: <a class="typography-link" href="tel:+31 20 227 2550">+31 20 227 2550</a>`,
1919
},
2020
{
2121
name: "DoubleTree by Hilton Amsterdam Central Station",
2222
link: "https://www.hilton.com/en/hotels/amscsdi-doubletree-amsterdam-centraal-station/?SEO_id=GMB-EMEA-DI-AMSCSDI",
23-
description: `Oosterdoksstraat 4 \n1011 DK Amsterdam, Netherlands\nPhone: <a class="hover:text-primary underline" href="tel:+31 20 530 0800">+31 20 530 0800</a>`,
23+
description: `Oosterdoksstraat 4 \n1011 DK Amsterdam, Netherlands\nPhone: <a class="typography-link" href="tel:+31 20 530 0800">+31 20 530 0800</a>`,
2424
},
2525
]
2626

@@ -29,53 +29,50 @@ const HOW_TO_GET_TO_VENUE = [
2929
title: "Public Transportation",
3030
description:
3131
'Take tram 26 from Amsterdam Central Station to the "Kattenburgerstraat" stop. The venue is in front of the tram stop.',
32-
icon: <BusFront size={20} />,
32+
icon: <BusFront size={16} />,
3333
},
3434
{
3535
title: "Airport Information",
3636
description:
3737
"Amsterdam Airport Schiphol is about 20 km from the venue. Take a direct train to Amsterdam Central Station, then follow the public transportation instructions.",
38-
icon: <TicketsPlane size={20} />,
38+
icon: <TicketsPlane size={16} />,
3939
},
4040
{
4141
title: "Parking at venue",
42-
description: `Limited parking is available at the venue. We recommend using public transportation when possible. Learn more about parking at <a class="hover:text-primary underline" href="https://dezwijger.nl/about-us-en/contact" target="_blank">Pakhuis de Zwijger</a>. If you require an accessible parking spot, park at Vriesseveem 4 or Withoedenveem 16 where you can park if you have a Disability Parking Card.`,
43-
icon: <SquareParking size={20} />,
42+
description: `Limited parking is available at the venue. We recommend using public transportation when possible. Learn more about parking at <a class="typography-link" href="https://dezwijger.nl/about-us-en/contact" target="_blank">Pakhuis de Zwijger</a>. If you require an accessible parking spot, park at Vriesseveem 4 or Withoedenveem 16 where you can park if you have a Disability Parking Card.`,
43+
icon: <SquareParking size={16} />,
4444
},
4545
]
4646

4747
export function Venue() {
4848
return (
49-
<section>
50-
<h1 className="mb-4 text-5xl font-bold">Venue</h1>
49+
<section className="gql-conf-section">
5150
<div className="grid grid-cols-1 gap-10 md:grid-cols-2">
52-
<div className="flex flex-col gap-2">
53-
<h2 className="text-3xl">Conference</h2>
51+
<div className="typography-body-md">
52+
<h2 className="mb-4 typography-h2">Venue</h2>
5453
<address className="not-italic">
55-
<strong>
56-
<Link
57-
className="underline hover:text-primary"
58-
target="_blank"
59-
href="https://dezwijger.nl/"
60-
>
61-
Pakhuis De Zwijger
62-
</Link>
63-
</strong>
54+
<Link
55+
className="typography-link"
56+
target="_blank"
57+
href="https://dezwijger.nl/"
58+
>
59+
Pakhuis De Zwijger
60+
</Link>
6461
<br /> Piet Heinkade 179, 1019 HC <br />
6562
Amsterdam, Netherlands
6663
</address>
67-
<div className="flex flex-col gap-2">
68-
<h3 className="mt-4 text-xl font-semibold">
64+
<div className="mt-6 flex flex-col gap-4">
65+
<h3 className="mb-4 typography-body-lg">
6966
How to get to the venue?
7067
</h3>
7168
{HOW_TO_GET_TO_VENUE.map(({ title, description, icon }) => (
7269
<div key={title}>
7370
<div className="flex flex-row items-center gap-4">
74-
{icon}
75-
<h5 className="text-lg">{title}</h5>
71+
<div className="bg-neu-100 p-1">{icon}</div>
72+
<h5 className="text-neu-800 typography-body-md">{title}</h5>
7673
</div>
7774
<p
78-
className="ml-9 max-w-96"
75+
className="ml-9 max-w-lg text-pretty pl-1 typography-body-sm"
7976
dangerouslySetInnerHTML={{
8077
__html: description,
8178
}}
@@ -86,15 +83,15 @@ export function Venue() {
8683
</div>
8784

8885
<div>
89-
<h2 className="text-3xl">Hotel Information</h2>
90-
<p className="mt-2">
86+
<h2 className="mb-4 typography-h2">Hotel Information</h2>
87+
<p className="typography-body-md">
9188
The Linux Foundation has not contracted rooms at these properties
9289
and cannot guarantee rates or availability.
9390
</p>
9491
<div className="mt-10 flex flex-col gap-4">
9592
{HOTELS.map(hotel => (
9693
<address className="not-italic" key={hotel.name}>
97-
<strong>
94+
<strong className="font-normal typography-body-md">
9895
<a
9996
className="flex items-center gap-1 hover:underline"
10097
target="_blank"
@@ -106,7 +103,7 @@ export function Venue() {
106103
</a>
107104
</strong>
108105
<span
109-
className="whitespace-pre-wrap"
106+
className="whitespace-pre-wrap typography-body-sm"
110107
dangerouslySetInnerHTML={{ __html: hotel.description }}
111108
/>
112109
</address>

src/app/conf/_components/info-grid.tsx

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ export const InfoGrid: React.FC<InfoGridProps> = ({
1414
id,
1515
}) => (
1616
<section id={id}>
17-
<h1 className="mb-4 text-5xl font-bold text-white">{title}</h1>
18-
<p className="mb-8 text-lg font-normal text-white">{subtitle}</p>
17+
<h1 className="mb-4 typography-h2">{title}</h1>
18+
<p className="mb-8 typography-body-lg">{subtitle}</p>
1919

2020
{/* Horizontal Scrollable Grid */}
2121
<div
@@ -25,13 +25,10 @@ export const InfoGrid: React.FC<InfoGridProps> = ({
2525
className="scroll-snap-x flex snap-mandatory gap-6 overflow-x-auto lg:grid lg:grid-cols-3 lg:overflow-visible"
2626
>
2727
{listItems.map(({ title, description }, index) => (
28-
<div
29-
key={index}
30-
className="lg-w[80%] w-[70%] flex-shrink-0 snap-start border border-primary p-6 text-white shadow-lg lg:w-full lg:max-w-sm"
31-
>
32-
<h2 className="mb-2 text-2xl font-bold">{title}</h2>
28+
<div key={index} className="border border-neu-400 p-3">
29+
<h2 className="mb-2 typography-body-lg">{title}</h2>
3330
<p
34-
className="text-base [&>a]:underline [&>a]:hover:text-primary"
31+
className="typography-body-md [&_a]:typography-link"
3532
dangerouslySetInnerHTML={{ __html: description }}
3633
></p>
3734
</div>

0 commit comments

Comments
 (0)