Skip to content

Conversation

@jcailly
Copy link
Contributor

@jcailly jcailly commented Jun 20, 2025

This modification fix responsive issue for "Discuter de votre projet" button by reducing text size from lg to md at a custom screen width of 480px.

Capture d'écran 2025-06-20 170816
Capture d'écran 2025-06-20 170830

@vercel
Copy link

vercel bot commented Jun 20, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
onruntime-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 23, 2025 7:04am

@antoinekm
Copy link
Member

We still have the old commits on this one

@antoinekm
Copy link
Member

@jcailly
Copy link
Contributor Author

jcailly commented Jun 23, 2025

I've corrected the commit

@antoinekm antoinekm requested a review from Copilot June 25, 2025 08:42
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR addresses a responsive design issue by adjusting the font size of the "Discuter de votre projet" button at a custom screen width of 480px and enhances layout consistency.

  • Adds an "xs" screen breakpoint at 480px in the Tailwind configuration.
  • Updates the contact CTA component to apply responsive text classes by wrapping the Link with a Button using the asChild prop.
  • Applies a full-width class in the agency page to ensure a consistent container width.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
tailwind.config.ts Added custom "xs" breakpoint at 480px to support responsive design.
src/components/marketing/agency/contact-cta.tsx Modified button structure and applied responsive text size classes for the contact button.
src/app/agency/[city]/page.tsx Added a full-width class to the main element to improve layout consistency.
Comments suppressed due to low confidence (2)

src/components/marketing/agency/contact-cta.tsx:49

  • The responsive text size classes (text-md and xs:text-lg) override the default button size. Please add a comment or update documentation to clearly explain the intended behavior in relation to the button's size prop.
          <Button asChild size="lg" className="text-md xs:text-lg">

src/app/agency/[city]/page.tsx:75

  • Verify that adding the 'w-full' class to the main tag aligns with the overall layout design and does not adversely affect container widths on larger screens.
    <main className="min-h-screen pt-32 pb-16 w-full">

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants