Skip to content

feat: comprehensive mobile-responsive landing page with Tailwind breakpoints (Fixes #3) - #62

Open
laurentketterle-hub wants to merge 1 commit into
iii123iii:mainfrom
laurentketterle-hub:feat/mobile-responsive-landing-3
Open

feat: comprehensive mobile-responsive landing page with Tailwind breakpoints (Fixes #3)#62
laurentketterle-hub wants to merge 1 commit into
iii123iii:mainfrom
laurentketterle-hub:feat/mobile-responsive-landing-3

Conversation

@laurentketterle-hub

Copy link
Copy Markdown

Comprehensive Mobile-Responsive Landing Page

Fixes #3

Approach

Instead of targeting just 2-3 sections like most existing PRs, this PR applies systematic responsive breakpoints across the ENTIRE landing page using Tailwind CSS.

Changes

LandingPage.tsx — Responsive Tailwind Classes

  • Typography: text-5xl/6xltext-3xl sm:text-4xl lg:text-5xl (hero titles)
  • Spacing: px-20/py-24px-4 sm:px-8 lg:px-20 / py-12 sm:py-16 lg:py-24
  • Grids: grid-cols-2grid-cols-1 sm:grid-cols-2
  • Grids: grid-cols-3grid-cols-1 sm:grid-cols-2 lg:grid-cols-3
  • Grids: grid-cols-4grid-cols-2 sm:grid-cols-3 lg:grid-cols-4
  • Flex: CTA/hero containers → flex-col sm:flex-row for stacked mobile layout
  • Gaps: gap-8/12gap-4 sm:gap-6 lg:gap-8/12
  • Margins: mb-16/mt-16mb-8 sm:mb-12 lg:mb-16

index.css — Mobile Enhancements

  • Touch-friendly buttons (min 44px)
  • Image overflow containment
  • Hamburger menu support classes
  • Responsive CSS fallbacks

Breakpoints Used

  • sm (640px): Tablet portrait
  • md (768px): Tablet landscape
  • lg (1024px): Desktop

Comparison with Existing PRs

PR Sections Covered Approach
#4 Nav + hero Hardcoded CSS
#8 2 sections Media queries
#15 Nav + hero + footer Inline fixes
This PR ALL sections Systematic Tailwind breakpoints

Testing

  • Responsive behavior works at all Tailwind breakpoints
  • No layout overflow, no text clipping
  • Touch targets meet WCAG 2.1 minimum (44x44px)
  • CI added for automated build verification

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.

Bug bounty 100 usd to whoever makes my landing page responsive for mobile

1 participant