Skip to content

Fix home cards alignement #1174

Open
@Marchand-Nicolas

Description

@Marchand-Nicolas

Description 📹

In the /quests route, the "Boost Quests" and "Reward Quests" cards are currently not displayed horizontally on large screens. According to the Figma design, they should be aligned side-by-side to enhance the UI layout on wider viewports.
https://www.figma.com/design/fh0OAvj4AS08kHoSxu3DkE/%F0%9F%9A%80-Starknet-Quest?node-id=5827-17656&t=gfqkwecTqFXdffzF-0

Proposed Actions 🛠️

Here’s a checklist of actions to follow for resolving this issue:

  1. Fork and Create Branch:
    Fork the repository and create a new branch using the issue number:
   git checkout -b fix-[issue-number]
  1. Implement Changes:
  • Modify the layout CSS to use flex or grid display for the quest cards on large screens.
  • Ensure that media queries are correctly set to apply horizontal layout for large screen sizes (e.g., min-width: 1024px).
  • Confirm the spacing and alignment match the Figma design.
  1. Run Tests and Commit Changes:
    Make sure your changes don't break existing functionality and commit with a clear message:
   git commit -m "Fix: Align Boost and Reward Quest cards horizontally on large screens"

Required 📋

To keep our workflow smooth, please make sure you follow these guidelines:

  • Assignment: Don't create a pull request if you weren’t assigned to this issue.

  • Timeframe: Complete the task within 3 business days.

  • Closing the Issue: In your PR description, close the issue by writing Close #[issue_id].

  • Review Process:

    • Once you've submitted your PR, change the label to "ready for review".
    • If changes are requested, address them and then update the label back to "ready for review" once done.
  • Testing: Test your PR locally before pushing, and verify that tests and build are working after pushing.

Thank you for your contribution 🙏

⚠️ WARNING: Failure to follow the requirements above may result in being added to the OnlyDust blacklist, affecting your ability to receive future rewards.

Metadata

Metadata

Labels

Good first issueGood for newcomersODHack14Issue reserved for the OD Buildopen for contributionAn issue that is available for an Only Dust contribution🚨 Small bugBug that should be fix

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions