Skip to content

Commit e45c502

Browse files
committed
Tweak mobile styles
1 parent 8fb4feb commit e45c502

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export function TestimonialsList({
8282
{testimonials.map((testimonial, i) => (
8383
<div
8484
key={i}
85-
className="flex shrink-0 flex-row-reverse items-center gap-6 max-md:flex-col md:px-10"
85+
className="flex max-w-full shrink-0 flex-row-reverse items-center gap-6 max-md:flex-col md:px-10"
8686
>
8787
<div>
8888
<p className="typography-body-lg max-w-[100vw] !leading-[1.1] max-md:text-center sm:max-w-[calc(100vw-32px)] md:max-w-[544px]">

src/components/index-page/graphql-advantages/optimization.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export function OptimizationFigure() {
66
className="flex w-full bg-gradient-to-b from-[hsla(75,57%,97%,0)] to-white px-[14px] py-[30px] dark:to-neu-100/20 xl:px-[46px] [&_pre]:!h-48"
77
aria-hidden
88
>
9-
<OptimizationSvg />
9+
<OptimizationSvg className="max-w-full max-sm:h-[200px]" />
1010
</div>
1111
)
1212
}

src/components/index-page/join-the-community.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { DiscordIcon } from "@/icons"
55

66
export function JoinTheCommunity() {
77
return (
8-
<section className="gql-section lg:pb-16 xl:pb-24">
8+
<section className="gql-section max-sm:px-0 lg:pb-16 xl:pb-24">
99
<div className="gql-container typography-body-lg flex bg-pri-dark text-white dark:bg-pri-darker max-lg:flex-col">
1010
<div className="border-pri-light p-6 max-lg:border-b lg:border-r lg:p-16">
1111
<h2 className="typography-h2 text-balance">Join the community</h2>

src/components/index-page/powered-by-community.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import ArrowDownIcon from "@/app/conf/_design-system/pixelarticons/arrow-down.sv
44

55
export function PoweredByCommunity() {
66
return (
7-
<section className="gql-section lg:pb-16 xl:pb-24">
7+
<section className="gql-section max-sm:px-0 lg:pb-16 xl:pb-24">
88
<div className="gql-container dark typography-body-lg flex bg-pri-darker text-neu-900 max-lg:flex-col">
99
<div className="border-pri-light p-6 max-lg:border-b lg:border-r lg:p-16">
1010
<h2 className="typography-h2 text-balance">

src/components/index-page/quotes-from-the-industry.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,12 @@ export function QuotesFromTheIndustry() {
6161
return (
6262
<div className="gql-container py-8 max-md:px-4 md:pb-16 md:pt-24 md:[mask-image:linear-gradient(to_right,transparent,black_5%,black_95%,transparent)]">
6363
<div className="gql-section !py-0">
64-
<SectionLabel>Quotes from the industry</SectionLabel>
65-
<h2 className="typography-h2 mt-6">Loved by world-class devs</h2>
64+
<SectionLabel className="max-sm:-ml-1 max-sm:justify-center">
65+
Quotes from the industry
66+
</SectionLabel>
67+
<h2 className="typography-h2 mt-6 text-balance max-sm:text-center">
68+
Loved by world‑class devs
69+
</h2>
6670
</div>
6771
<TestimonialsList
6872
testimonials={testimonials}

0 commit comments

Comments
 (0)