Skip to content

Mobile-responsive homepage with drawer navigation and form scaling#627

Open
Rballesteros wants to merge 6 commits intomainfrom
Rballesteros/homepage-layout-navigation-forms
Open

Mobile-responsive homepage with drawer navigation and form scaling#627
Rballesteros wants to merge 6 commits intomainfrom
Rballesteros/homepage-layout-navigation-forms

Conversation

@Rballesteros
Copy link
Copy Markdown
Collaborator

Layout (page.tsx)

  • Homepage grid switches from 3-column (desktop) to single-column (mobile)
  • Mobile column order: Play Mode → News → Public Games
  • Disclaimer text repositioned and scaled for mobile

Banner (Banner.tsx)

  • Taller banner on mobile (450px vs 316px)
  • Larger, wider text overlay with text shadow for readability
  • Simplified clip path on mobile (nearly rectangular)
  • Replaced @media queries with MUI breakpoint objects

Navigation (ControlHub.tsx)

  • Desktop nav bar hidden on mobile
  • Added hamburger menu icon that opens a right-side drawer
  • Drawer includes all nav links, mod page (conditional), log in/out, and social icons
  • Styled with blur background, gold header, and hover animations

Forms (CreateGameForm.tsx, QuickGameForm.tsx)

  • Scaled up font sizes on mobile (~1.5rem vs ~1rem) for labels, inputs, dropdowns, and buttons
  • Restyled "Manage Decks" button with dark gradient and hover glow
  • Changed deck link label from <Box> to <Typography> for semantics

@Rballesteros Rballesteros force-pushed the Rballesteros/homepage-layout-navigation-forms branch 3 times, most recently from a38e7e2 to 8d3372b Compare February 17, 2026 06:15
…nd form optimization

This PR implements the structural layout changes for the mobile homepage redesign:

- Responsive Grid Layout: Mobile-first grid with column stacking and reordering
- Mobile Drawer Navigation: Hamburger menu with glassmorphic drawer
- Responsive Banner: Adaptive height and clip paths for mobile/desktop
- Form Mobile Optimization: Prevents iOS auto-zoom with responsive font sizing
- Font Sizing Foundation: CSS variables and breakpoint-based sizing
…mplement dark theme styling for MuiButton components.
@Rballesteros Rballesteros force-pushed the Rballesteros/homepage-layout-navigation-forms branch from 8d3372b to 0ae3fee Compare February 17, 2026 16:15
flexItem
sx={{ borderColor: '#ffffff4D', mx: 1 }}
/>
<Divider orientation="vertical" flexItem sx={{ borderColor: '#ffffff4D', mx: 1 }} />
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

nit: We could just add this sx as a class so we can reuse it on dividers elswhere

}
disabled={userLoading}
placeholder="Favorite Decks"
SelectProps={{ sx: { fontSize: { xs: '1.5rem', md: '1rem' } } }}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

nit: same comment as above lets make this into a class since i noticed it being reused later on.

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.

2 participants