Skip to content

Commit 81630f6

Browse files
committed
📱 fix responsive issue on contact button
1 parent 58374de commit 81630f6

3 files changed

Lines changed: 13 additions & 10 deletions

File tree

‎src/app/agency/[city]/page.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export default async function CityPage({ params }: AgencyPageProps) {
7272
];
7373

7474
return (
75-
<main className="min-h-screen pt-32 pb-16">
75+
<main className="min-h-screen pt-32 pb-16 w-full">
7676

7777
<LocalBusinessSchema
7878
type="ProfessionalService"

‎src/components/marketing/agency/contact-cta.tsx‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,17 @@ const ContactCTA: React.FC<ContactCTAProps> = ({ agency }) => {
4646
</div>
4747

4848
<div className="flex flex-wrap gap-4">
49-
<Link href={Routes.contact}>
50-
<Button size="lg">
49+
<Button asChild size="lg" className="text-md xs:text-lg">
50+
<Link href={Routes.contact}>
5151
Discuter de votre projet
5252
<ArrowRight className="ml-2 w-5 h-5" />
53-
</Button>
54-
</Link>
55-
<Link href={Routes.services}>
56-
<Button variant="outline" size="lg">
57-
Découvrir nos services
58-
</Button>
59-
</Link>
53+
</Link>
54+
</Button>
55+
<Button asChild variant="outline" size="lg">
56+
<Link href={Routes.services}>
57+
Découvrir nos services
58+
</Link>
59+
</Button>
6060
</div>
6161
</div>
6262
</div>

‎tailwind.config.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ export default {
1010
],
1111
theme: {
1212
extend: {
13+
screens: {
14+
'xs': '480px'
15+
},
1316
fontFamily: {
1417
sans: ["var(--font-figtree)"],
1518
},

0 commit comments

Comments
 (0)