Skip to content

Commit 189df70

Browse files
committed
Tailwind class autosorting is inconsistent between runs tailwindlabs/prettier-plugin-tailwindcss#246
1 parent 94db7ee commit 189df70

File tree

18 files changed

+45
-38
lines changed

18 files changed

+45
-38
lines changed

src/app/conf/2023/sessions/[id]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export default function SessionPage({ params }: SessionProps) {
8686
<div className="bg-[#f4f6f8]">
8787
<div className="container">
8888
<div className="py-10">
89-
<section className="xs:px-0 mx-auto min-h-[80vh] flex-col justify-center px-2 text-[#333333] md:container lg:justify-between">
89+
<section className="mx-auto min-h-[80vh] flex-col justify-center px-2 text-[#333333] md:container xs:px-0 lg:justify-between">
9090
<div className="flex flex-col lg:px-0">
9191
<BackLink year="2023" kind="sessions" />
9292
{recordingTitle.rating > 0.5 && (

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default function Page() {
1010
return (
1111
<>
1212
<div className="flex w-full justify-center">
13-
<div className="xs:px-0 prose px-2 py-20 md:container lg:prose-lg">
13+
<div className="prose px-2 py-20 md:container lg:prose-lg xs:px-0">
1414
<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

src/app/conf/2024/schedule/[id]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export default function SessionPage({ params }: SessionProps) {
110110
<div className="bg-[#f4f6f8]">
111111
<div className="container">
112112
<div className="py-10">
113-
<section className="xs:px-0 mx-auto min-h-[80vh] flex-col justify-center px-2 text-[#333333] md:container lg:justify-between">
113+
<section className="mx-auto min-h-[80vh] flex-col justify-center px-2 text-[#333333] md:container xs:px-0 lg:justify-between">
114114
<BackLink year="2024" kind="schedule" />
115115
<iframe
116116
className="mx-auto mt-6 aspect-video w-full max-w-4xl rounded-md"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default function Page() {
1010
return (
1111
<div className='bg-[url("/img/conf/golden-gate-bridge.png")] bg-contain bg-no-repeat'>
1212
<div className="flex w-full justify-center">
13-
<div className="xs:px-0 prose px-2 py-20 md:container lg:prose-lg">
13+
<div className="prose px-2 py-20 md:container lg:prose-lg xs:px-0">
1414
<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

src/app/conf/2025/components/become-a-sponsor/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export function BecomeASponsor() {
1313
<header className="flex flex-col gap-x-48 gap-y-4 md:flex-row md:items-end md:justify-between">
1414
<div>
1515
<h2 className="typography-h2">Become a Sponsor</h2>
16-
<p className="mt-6 text-pretty typography-body-lg">
16+
<p className="typography-body-lg mt-6 text-pretty">
1717
Connect with the global GraphQL community and showcase your brand
1818
to industry leaders and decision-makers.
1919
</p>
@@ -75,10 +75,10 @@ function DefinitionListItem({
7575
"flex border-b border-neu-300 last:border-b-0 max-sm:flex-col",
7676
)}
7777
>
78-
<dt className="flex min-w-[320px] shrink-0 items-center whitespace-pre border-b border-neu-300 p-4 typography-body-lg max-sm:w-full sm:border-b-0 sm:border-r">
78+
<dt className="typography-body-lg flex min-w-[320px] shrink-0 items-center whitespace-pre border-b border-neu-300 p-4 max-sm:w-full sm:border-b-0 sm:border-r">
7979
{term}
8080
</dt>
81-
<dd className="flex items-center p-4 typography-body-md">{definition}</dd>
81+
<dd className="typography-body-md flex items-center p-4">{definition}</dd>
8282
</div>
8383
)
8484
}

src/app/conf/2025/components/footer/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ export function Footer({
2121
logo: ReactNode
2222
}) {
2323
return (
24-
<footer className="gql-all-anchors-focusable relative !bg-neu-100 text-neu-900 typography-menu dark:!bg-neu-0 max-md:px-0 max-md:pt-0">
24+
<footer className="gql-all-anchors-focusable typography-menu relative !bg-neu-100 text-neu-900 dark:!bg-neu-0 max-md:px-0 max-md:pt-0">
2525
<Stripes />
2626
<div className="flex flex-wrap justify-between gap-4 p-4 max-md:w-full md:px-6 lg:py-10 2xl:px-10">
2727
{logo}
28-
<div className="flex gap-x-4 typography-body-lg max-sm:grid max-sm:grid-cols-2 max-sm:items-start max-sm:text-lg sm:gap-y-2">
28+
<div className="typography-body-lg flex gap-x-4 max-sm:grid max-sm:grid-cols-2 max-sm:items-start max-sm:text-lg sm:gap-y-2">
2929
<p className="flex items-center whitespace-pre">
3030
<time dateTime="2025-09-08">September 08</time>
3131
<span>-</span>

src/app/conf/2025/components/gallery-strip/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export function GalleryStrip({ className, ...rest }: GalleryStripProps) {
2929
key={year}
3030
onClick={() => setSelectedYear(year)}
3131
className={clsx(
32-
"gql-focus-visible p-1 typography-menu",
32+
"gql-focus-visible typography-menu p-1",
3333
selectedYear === year
3434
? "bg-sec-light text-neu-900 dark:text-neu-0"
3535
: "text-neu-800",

src/app/conf/2025/components/get-your-ticket/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ export function GetYourTicket({ className }: { className?: string }) {
1717
<Stripes />
1818
<div className="gql-conf-container gql-conf-section relative">
1919
<header className="flex flex-wrap justify-between gap-6 md:items-end">
20-
<h2 className="whitespace-pre text-white typography-h2">
20+
<h2 className="typography-h2 whitespace-pre text-white">
2121
Get your ticket
2222
</h2>
23-
<p className="text-neu-800 typography-body-lg">
23+
<p className="typography-body-lg text-neu-800">
2424
The registration deadline is 23:59 CET on the respective date.
2525
</p>
2626
</header>

src/app/conf/2025/components/get-your-ticket/ticket-period.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ export function TicketPeriod({
3232
)}
3333
>
3434
<header className="border-b border-pri-lighter p-6">
35-
<h3 className="text-white typography-h3">{name}</h3>
35+
<h3 className="typography-h3 text-white">{name}</h3>
3636
</header>
3737
<div className="flex h-full flex-col justify-end gap-6 p-6">
3838
<div className="flex items-end justify-between gap-2">
39-
<span className="text-white typography-h3 @[356px]:typography-h2">
39+
<span className="typography-h3 text-white @[356px]:typography-h2">
4040
{price}
4141
</span>
4242
{/* eslint-disable-next-line tailwindcss/no-custom-classname */}
43-
<span className="ticket-period--date text-right text-white typography-body-md">
43+
<span className="ticket-period--date typography-body-md text-right text-white">
4444
{Array.isArray(date) ? (
4545
<>
4646
<Time date={date[0]} />

src/app/conf/2025/components/graphql-foundation-card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export function GraphQLFoundationCard({ className }: { className?: string }) {
99
<div className="flex items-center justify-center px-8 py-10 lg:px-16 lg:py-24">
1010
<FoundationWordmark className="h-[68px] text-rhodamine dark:text-current lg:h-[100px] [&_g]:fill-current" />
1111
</div>
12-
<p className="text-pretty px-8 py-10 typography-body-lg max-md:text-center lg:px-16 lg:py-24">
12+
<p className="typography-body-lg text-pretty px-8 py-10 max-md:text-center lg:px-16 lg:py-24">
1313
GraphQLConf is presented by the GraphQL Foundation, uniting the global
1414
GraphQL community to promote education, adoption, and advancement of
1515
GraphQL.

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ export function RegisterSection({ className, ...props }: RegisterSectionProps) {
1616
>
1717
<div>
1818
<h2 className="typography-h2">Register</h2>
19-
<p className="mt-6 typography-body-lg">
19+
<p className="typography-body-lg mt-6">
2020
Join a diverse community of GraphQL developers, architects, and
2121
enthusiasts while experiencing premium content and networking
2222
opportunities in a vendor-neutral environment.
2323
</p>
24-
<p className="mt-6 typography-body-sm md:mt-16">
24+
<p className="typography-body-sm mt-6 md:mt-16">
2525
We never sell attendee lists or contact information, nor do we
2626
authorize others to do so. If you receive an email claiming to sell an
2727
attendee list for a Linux Foundation event, please forward it to
@@ -31,7 +31,7 @@ export function RegisterSection({ className, ...props }: RegisterSectionProps) {
3131
<div className="flex flex-col gap-6 md:gap-8">
3232
<article className="border border-neu-400 p-6">
3333
<h3 className="typography-h3">Speakers</h3>
34-
<p className="mt-6 typography-body-lg">
34+
<p className="typography-body-lg mt-6">
3535
You should have received a registration link in your acceptance
3636
email. If you did not, please contact us for more details:{" "}
3737
<a
@@ -51,7 +51,7 @@ export function RegisterSection({ className, ...props }: RegisterSectionProps) {
5151
</article>
5252
<article className="border border-neu-400 p-6">
5353
<h3 className="typography-h3">Sponsors</h3>
54-
<p className="mt-6 typography-body-lg">
54+
<p className="typography-body-lg mt-6">
5555
A registration link was shared in an email to your company's
5656
sponsorship contact. Please reach out to them if you need to
5757
register as a Sponsor. For further questions, please email us:{" "}
@@ -72,7 +72,7 @@ export function RegisterSection({ className, ...props }: RegisterSectionProps) {
7272
</article>
7373
<article className="border border-neu-400 p-6">
7474
<h3 className="typography-h3">Media</h3>
75-
<p className="mt-6 typography-body-lg">
75+
<p className="typography-body-lg mt-6">
7676
If you are a member of the media interested in attending this event,
7777
write us an email.
7878
</p>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ export function RegisterToday({ className }: RegisterTodayProps) {
2828
/>
2929
<div className="flex flex-col justify-between">
3030
<div>
31-
<h2 className="text-neu-900 typography-h2">
31+
<h2 className="typography-h2 text-neu-900">
3232
Let's celebrate 10 years of GraphQL together
3333
</h2>
34-
<p className="mt-6 text-neu-800 typography-h3 md:mt-10">
34+
<p className="typography-h3 mt-6 text-neu-800 md:mt-10">
3535
Join three transformative days of expert insights and innovation to
3636
shape the next decade of APIs!
3737
</p>

src/app/conf/2025/resources/client-mdx.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default function ResourcesPage() {
1717
h3: (props: React.HTMLAttributes<HTMLHeadingElement>) => {
1818
return (
1919
<h3
20-
className="border-t border-neu-100 pt-2 text-pri-base typography-menu dark:border-neu-50 dark:text-pri-light"
20+
className="typography-menu border-t border-neu-100 pt-2 text-pri-base dark:border-neu-50 dark:text-pri-light"
2121
{...props}
2222
>
2323
{props.children}

src/app/conf/2025/resources/prose.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
--grid-col-content: 1;
55

66
@apply xl:[--grid-col-content:3];
7-
@apply grid grid-cols-1 gap-6 typography-body-md xl:my-12 xl:grid-cols-[auto_1fr_var(--prose-width)_1fr];
7+
@apply typography-body-md grid grid-cols-1 gap-6 xl:my-12 xl:grid-cols-[auto_1fr_var(--prose-width)_1fr];
88

99
& > * {
1010
grid-column: var(--grid-col-content);

src/app/conf/2025/schedule/[id]/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ export default function SessionPage({ params }: SessionProps) {
7373
<main className="gql-all-anchors-focusable gql-conf-navbar-strip text-neu-900 before:bg-neu-50/40 before:dark:bg-blk/30">
7474
<div className="bg-neu-50 dark:bg-neu-0">
7575
<div className="gql-conf-container">
76-
<div className="gql-conf-section max-xs:px-0 !py-0">
77-
<div className="xs:border-x border-neu-200 pt-8 dark:border-neu-100 2xl:pt-16">
76+
<div className="gql-conf-section !py-0 max-xs:px-0">
77+
<div className="border-neu-200 pt-8 dark:border-neu-100 xs:border-x 2xl:pt-16">
7878
<SessionHeader
7979
event={session}
8080
eventTitle={eventTitle}

src/app/conf/2025/speakers/[id]/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ export default function SpeakerPage({ params }: SpeakerProps) {
5656
<main className="gql-all-anchors-focusable gql-conf-navbar-strip text-neu-900 before:bg-neu-50/40 before:dark:bg-blk/30">
5757
<div className="bg-neu-50 dark:bg-neu-0">
5858
<div className="gql-conf-container">
59-
<div className="gql-conf-section max-xs:px-0 !py-0">
60-
<div className="xs:border-x border-neu-200 dark:border-neu-100">
59+
<div className="gql-conf-section !py-0 max-xs:px-0">
60+
<div className="border-neu-200 dark:border-neu-100 xs:border-x">
6161
<SpeakerHeader
6262
speaker={speaker}
6363
year="2025"

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const InfoGrid: React.FC<InfoGridProps> = ({
1414
id,
1515
}) => (
1616
<section id={id}>
17-
<h1 className="mb-4 typography-h2">{title}</h1>
17+
<h1 className="typography-h2 mb-4">{title}</h1>
1818
<p className="typography-body-lg xl:mb-4">{subtitle}</p>
1919
<div
2020
style={{
@@ -24,7 +24,7 @@ export const InfoGrid: React.FC<InfoGridProps> = ({
2424
>
2525
{listItems.map(({ title, description }, index) => (
2626
<div key={index} className="min-w-64 border border-neu-400 p-3">
27-
<h2 className="mb-2 typography-body-lg">{title}</h2>
27+
<h2 className="typography-body-lg mb-2">{title}</h2>
2828
<p
2929
className="typography-body-md [&_a]:typography-link"
3030
dangerouslySetInnerHTML={{ __html: description }}

src/globals.css

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
}
1818

1919
.conf-hero {
20-
background: linear-gradient(
20+
background:
21+
linear-gradient(
2122
360deg,
2223
#0e031c 10.63%,
2324
#0e031c 10.65%,
@@ -228,7 +229,8 @@ div[id^="headlessui-menu-items"] {
228229
}
229230

230231
.code-page {
231-
background: linear-gradient(
232+
background:
233+
linear-gradient(
232234
303.75deg,
233235
rgba(124, 124, 124, 0.2) 0.8%,
234236
rgba(124, 124, 124, 0) 74.17%
@@ -237,7 +239,8 @@ div[id^="headlessui-menu-items"] {
237239
}
238240

239241
.dark .code-page {
240-
background: linear-gradient(
242+
background:
243+
linear-gradient(
241244
303.75deg,
242245
rgba(124, 124, 124, 0.2) 0.8%,
243246
rgba(124, 124, 124, 0) 74.17%
@@ -246,7 +249,8 @@ div[id^="headlessui-menu-items"] {
246249
}
247250

248251
.dark .blog-page {
249-
background: linear-gradient(
252+
background:
253+
linear-gradient(
250254
250.93deg,
251255
rgba(115, 119, 125, 0.1),
252256
rgba(115, 119, 125, 0)
@@ -255,7 +259,8 @@ div[id^="headlessui-menu-items"] {
255259
}
256260

257261
.blog-page {
258-
background: linear-gradient(
262+
background:
263+
linear-gradient(
259264
231.79deg,
260265
rgba(225, 0, 152, 0.4) -23.67%,
261266
rgba(225, 0, 152, 0) 25.9%
@@ -388,15 +393,17 @@ div[id^="headlessui-menu-items"] {
388393
}
389394

390395
.index-bg {
391-
background: linear-gradient(
396+
background:
397+
linear-gradient(
392398
303.75deg,
393399
rgba(124, 124, 124, 0.2) 0.8%,
394400
rgba(124, 124, 124, 0) 74.17%
395401
),
396402
linear-gradient(0deg, #f8f8f8, #f8f8f8);
397403

398404
.dark & {
399-
background: linear-gradient(0deg, #111, #111),
405+
background:
406+
linear-gradient(0deg, #111, #111),
400407
linear-gradient(
401408
303.75deg,
402409
rgba(124, 124, 124, 0.2) 0.8%,

0 commit comments

Comments
 (0)