Skip to content

Comments

feat(challenges): created challenges pages#29

Merged
magali-la merged 2 commits intomainfrom
feat/challenges
Nov 28, 2025
Merged

feat(challenges): created challenges pages#29
magali-la merged 2 commits intomainfrom
feat/challenges

Conversation

@magali-la
Copy link
Collaborator

🎯Type of Change:

  • Feat ✨: New feature or functionality.

This PR...

Adds challenge selection page and challenge tile component variants


📝 What I Did:

  • Created ChallengeTile.jsx component with Tailwind Variants
  • Added responsive height for large tile variant in tablet and mobile screens for uniformity
  • Created responsive grid layout for the tiles
  • Added flex-1 property on the tags paragraph to avoid the circle nav button from shrinking in width on large tiles

🧪 How to Test:

  1. Navigate to /challenges page in the Netlify preview.
  2. Go to inspect to check responsiveness, ensure all tiles are the same height in column layout
  3. Ensure Daily journal tile button routes to the journal page

🤔 What I learned:

Learned how flex-1 works in a flex row to distribute space and allow sibling elements from shrinking. Due to the tags being much longer on the large tiles, the flex container was shrinking the button width and looked oval-shaped. Adding the property to the tags

allowed the tags to take up any remaining space without shrinking the button

@netlify
Copy link

netlify bot commented Nov 23, 2025

Deploy Preview for mint-chip ready!

Name Link
🔨 Latest commit 057b5c4
🔍 Latest deploy log https://app.netlify.com/projects/mint-chip/deploys/69232ea97e4bed00082677f7
😎 Deploy Preview https://deploy-preview-29--mint-chip.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@magali-la magali-la merged commit 8009816 into main Nov 28, 2025
5 checks passed
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.

3 participants