Skip to content

fix(welcome): mobile layout for landing page#54

Merged
dotMavriQ merged 1 commit into
mainfrom
fix/landing-mobile
Jun 6, 2026
Merged

fix(welcome): mobile layout for landing page#54
dotMavriQ merged 1 commit into
mainfrom
fix/landing-mobile

Conversation

@dotMavriQ

@dotMavriQ dotMavriQ commented Jun 6, 2026

Copy link
Copy Markdown
Owner

What

The marketing landing page (teal.dotmavriq.life, resources/views/welcome.blade.php) overflowed horizontally and looked unoptimised on phones — specifically the terminal/code block and the bottom button row.

Fixes

  • .nav-actions wraps (flex-wrap) so the bottom Support / Star on GitHub / Log in row can no longer overflow the viewport (it was forcing page-level horizontal scroll).
  • New 560px breakpoint:
    • Bottom CTAs + hero CTAs become full-width stacked (bigger tap targets).
    • Top-nav actions wrap onto their own line; nav height becomes auto.
    • Footer stacks the wordmark above its links and drops the margin-left hack.
  • Terminal code block: the long git clone … URL now wraps once the layout stacks (pre-wrap + overflow-wrap) instead of inner horizontal scrolling, with smaller/tighter mono type on phones.

Verification

Rendered at 390px (iPhone width) via Playwright — 0px horizontal overflow; nav, terminal, bottom CTAs and footer all confirmed visually. CSS-only change inside the page's inline <style>, no Vite rebuild required.

🤖 Generated with Claude Code

Summary by CodeRabbit

Release Notes

  • Chores
    • Improved responsive design for mobile devices. Navigation items now wrap properly on smaller screens, and content displays better without requiring horizontal scrolling. Layout adjustments at smaller viewport sizes ensure full-width call-to-action buttons and optimized footer spacing for improved mobile usability.

The marketing landing page (teal.dotmavriq.life) overflowed and looked
unoptimised on phones. Three fixes:

- .nav-actions now wraps (flex-wrap) so the bottom "Support / Star / Log in"
  row can't overflow the viewport (was causing horizontal scroll).
- Add a 560px breakpoint: bottom CTAs and hero CTAs go full-width stacked
  (bigger tap targets), top nav actions wrap onto their own line, footer
  stacks wordmark above links.
- Terminal code block wraps the long `git clone` URL once stacked (no inner
  horizontal scroll) and uses smaller, tighter type on phones.

Verified at 390px: zero horizontal overflow.
@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@coderabbitai

coderabbitai Bot commented Jun 6, 2026

Copy link
Copy Markdown

Review Change Stack

Note

.coderabbit.yaml has unrecognized properties

CodeRabbit is using all valid settings from your configuration. Unrecognized properties (listed below) have been ignored and may indicate typos or deprecated fields that can be removed.

⚠️ Parsing warnings (1)
Validation error: Unrecognized key: "tools"
⚙️ Configuration instructions
  • Please see the configuration documentation for more information.
  • You can also validate your configuration using the online YAML validator.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: c2121ac3-b341-4e7a-a995-6cb8c0ae385b

📥 Commits

Reviewing files that changed from the base of the PR and between d669b65 and 7d38cfc.

📒 Files selected for processing (1)
  • resources/views/welcome.blade.php

📝 Walkthrough

Walkthrough

Single-file CSS and layout update to the welcome view. Navigation flex wrapping enabled; responsive breakpoint added for small screens (≤560px) to reflow navigation actions, CTA buttons, terminal code blocks, and footer layout with appropriate spacing adjustments.

Changes

Mobile Responsive Styling

Layer / File(s) Summary
Flex wrapping and responsive CSS
resources/views/welcome.blade.php
Navigation container flex wrapping enabled to allow nav actions to wrap onto multiple lines. Small-screen responsive CSS added for ≤560px: terminal code blocks wrap long lines, nav/CTA groups reflow with centered alignment and full-width CTAs, terminal sizing is tightened, and footer layout stacks wordmark and links while removing left-margin spacing.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Poem

Wrap the nav, tighten the box,
Stack and center on small-screen blocks,
Terminal flows, footer aligns true—
Mobile-first polish, responsive and new.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title directly matches the PR's primary objective: fixing mobile layout issues on the landing page. It's specific, concise, and accurately summarizes the main change.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/landing-mobile

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@dotMavriQ dotMavriQ merged commit f513cdc into main Jun 6, 2026
6 checks passed
@dotMavriQ dotMavriQ deleted the fix/landing-mobile branch June 6, 2026 11:30
@dotMavriQ dotMavriQ mentioned this pull request Jun 6, 2026
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.

1 participant