Skip to content

Commit e1041b7

Browse files
committed
Switch to placeholder=empty on svgs and fix minor styling issues on old conf sites
1 parent f2bc722 commit e1041b7

File tree

10 files changed

+11
-14
lines changed

10 files changed

+11
-14
lines changed

src/app/conf/2023/schedule/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default function SchedulePage() {
1313
<>
1414
<div className="container">
1515
<div className="prose max-w-full py-10 text-white lg:prose-lg">
16-
<h1 className="text-white">GraphQLConf 2023 Schedule</h1>
16+
<h1 className="!text-white">GraphQLConf 2023 Schedule</h1>
1717
<section className="mx-0 my-8 px-0">
1818
<div className="mb-1.5 flex gap-8">
1919
<span className="flex items-center">
@@ -43,7 +43,7 @@ export default function SchedulePage() {
4343
San Francisco Bay Area, CA
4444
</span>
4545
</div>
46-
<h3 className="text-white">Important Notes</h3>
46+
<h3 className="!text-white">Important Notes</h3>
4747
<ul>
4848
<li>All session times are in Pacific Daylight Time (UTC -7).</li>
4949
<li>

src/app/conf/2023/speakers/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default function Page() {
1111
<>
1212
<div className="flex w-full justify-center">
1313
<div className="prose px-2 py-20 md:container lg:prose-lg">
14-
<h1 className="text-white">GraphQLConf 2023 Speakers</h1>
14+
<h1 className="!text-white">GraphQLConf 2023 Speakers</h1>
1515
<p className="text-white sm:w-2/3">
1616
Meet the unique lineup of insightful speakers we've carefully
1717
chosen, who are primed to share their groundbreaking ideas and

src/app/conf/2024/schedule/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ export default function SchedulePage() {
1212
return (
1313
<div className='bg-[url("/img/conf/golden-gate-bridge.png")] bg-contain bg-no-repeat'>
1414
<div className="container">
15-
<div className="prose max-w-full py-20 text-white lg:prose-lg">
16-
<h1 className="text-white">GraphQLConf 2024 Schedule</h1>
15+
<div className="prose max-w-full py-20 !text-white lg:prose-lg">
16+
<h1 className="!text-white">GraphQLConf 2024 Schedule</h1>
1717
<section className="mx-0 my-8 px-0">
1818
<div className="mb-1.5 flex gap-8">
1919
<span className="flex items-center">
@@ -43,7 +43,7 @@ export default function SchedulePage() {
4343
San Francisco Bay Area, CA
4444
</span>
4545
</div>
46-
<h3 className="text-white">Important Notes</h3>
46+
<h3 className="!text-white">Important Notes</h3>
4747
<ul>
4848
<li>All session times are in Pacific Daylight Time (UTC -7).</li>
4949
<li>

src/app/conf/2024/speakers/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default function Page() {
1111
<div className='bg-[url("/img/conf/golden-gate-bridge.png")] bg-contain bg-no-repeat'>
1212
<div className="flex w-full justify-center">
1313
<div className="prose px-2 py-20 md:container lg:prose-lg">
14-
<h1 className="text-white">GraphQLConf 2024 Speakers</h1>
14+
<h1 className="!text-white">GraphQLConf 2024 Speakers</h1>
1515
<p className="text-white sm:w-2/3">
1616
Meet the unique lineup of insightful speakers we've carefully
1717
chosen, who are primed to share their groundbreaking ideas and

src/app/conf/2024/sponsors.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ function List({
7878
alt={`${name} logo`}
7979
src={icon}
8080
className="max-h-full lg:w-auto lg:max-w-60"
81-
placeholder="blur"
81+
placeholder="empty"
8282
/>
8383
<span className="absolute right-5 top-5 font-sans leading-none text-white lg:text-2xl">
8484

src/app/conf/2025/components/register-today/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ export function RegisterToday({ className }: RegisterTodayProps) {
1818
className,
1919
)}
2020
>
21-
{/* todo: placeholders work in preview, but they could use some improvement */}
2221
<NextImage
2322
src={speakerImage}
2423
alt="GraphQL Conference"

src/app/conf/2025/speakers/page.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ export default function Page() {
2929
</div>
3030
</Hero>
3131

32-
{/* <NavbarPlaceholder className="top-0 bg-neu-50 before:bg-white/40 dark:bg-neu-0 dark:before:bg-blk/30" /> */}
33-
{/* <main className="gql-all-anchors-focusable gql-conf-navbar-strip text-neu-900 before:bg-white/40 before:dark:bg-blk/30"> */}
3432
<div className="gql-container gql-section">
3533
<div className="grid lg:grid-cols-2 lg:gap-5 max-lg:[&>:not(:first-child)]:border-t-0">
3634
{speakers.map(speaker => (

src/app/conf/_components/sponsors.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ function List({
112112
alt={`${name} logo`}
113113
src={icon}
114114
className="h-auto shrink lg:max-w-60"
115-
placeholder="blur"
115+
placeholder="empty"
116116
/>
117117
<span className="absolute right-5 top-5 font-sans leading-none text-white lg:text-2xl">
118118

src/app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default function RootLayout({
3232
<head>
3333
<style>{`html { scroll-padding-top: 5rem }`}</style>
3434
</head>
35-
<body className="bg-conf-black">
35+
<body className="bg-neu-0">
3636
<GoogleAnalytics />
3737
{children}
3838
</body>

theme.config.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const graphQLLogo = (
1414
export default {
1515
backgroundColor: {
1616
light: "251,251,249",
17-
dark: "13.7,14.7,10.8",
17+
dark: "15,15,12",
1818
},
1919
head: function useHead() {
2020
const { frontMatter, title: pageTitle } = useConfig()

0 commit comments

Comments
 (0)