Skip to content

[Frontend] Responsive Grid Layout Scaffold for Bounties#311

Open
armorbreak001 wants to merge 1 commit intoGalactiGuild:mainfrom
armorbreak001:bounty/289-grid-layout
Open

[Frontend] Responsive Grid Layout Scaffold for Bounties#311
armorbreak001 wants to merge 1 commit intoGalactiGuild:mainfrom
armorbreak001:bounty/289-grid-layout

Conversation

@armorbreak001
Copy link
Copy Markdown

Fixes #289

Changes

  • BountyGrid.tsx: New generic wrapper component using CSS Grid
    • grid-cols-1 on mobile (<640px)
    • md:grid-cols-2 on tablet (≥640px)
    • lg:grid-cols-3 on desktop (≥1024px)
    • xl:grid-cols-4 on wide screens (≥1280px)
    • gap-6 for consistent spacing between cards
  • index.ts: Exported BountyGrid from barrel file

Acceptance Criteria Met

  • Add a BountyGrid.tsx generic wrapper component
  • On mobile screens (<640px), limit to 1 column
  • On tablet screens, limit to 2 columns
  • On desktop screens, expand to 3 or 4 columns based on container width
  • Supply a strict gap-6 bridging elements comfortably

How to Verify

  1. Import: import { BountyGrid } from '@/components/ui'
  2. Wrap bounty card children: <BountyGrid><Card>...</Card></BountyGrid>
  3. Resize browser viewport → grid adapts from 1→2→3→4 columns

- Add BountyGrid.tsx component with CSS Grid
- Mobile: 1 col, Tablet: 2 cols, Desktop: 3 cols, Wide: 4 cols
- Strict gap-6 between elements
- Export from components/ui/index.ts

Fixes GalactiGuild#289
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.

[Frontend] Responsive Grid Layout Scaffold for Bounties

1 participant