SFU-Blueprint / Pedals

Apache License 2.0
0 stars 0 forks source link

/manage/people Radio Button Group UI Refactoring #50

Closed dangminhduc1101 closed 1 month ago

dangminhduc1101 commented 1 month ago

Problem

The radio button group at /manage/people does not match the Figma design.

Expected Design

Current Design

{234C575F-DA3B-441A-88AB-16D28F917ED3}

Current Code

In manage/people/page.tsx:

<div className="flex items-center gap-4">
  <label className="font-mono uppercase" htmlFor="select-all">
    <input
      type="radio"
      name="options"
      value="option1"
      className="mr-2"
    />
    Select All
  </label>
  <label className="font-mono uppercase" htmlFor="inactive">
    <input
      type="radio"
      name="options"
      value="option2"
      className="mr-2"
    />
    Inactive
  </label>
</div>

Instructions

  1. Pull the latest changes from the develop branch.
  2. Start the server with npm run dev (navigate to src/ and run npm ci if needed), then visit localhost:3000/manage/people.
  3. Edit the code in manage/people/page.tsx. Try styling the <input type="radio" /> components. If that doesn't work, create a custom radio button group using a <button /> alongside a <label />.
  4. Submit a pull request and tag @dangminhduc1101 for review.

Notes

Since this involves CSS styling, please add a comment explaining any specific CSS/Tailwind changes you made. This task may be a bit challenging, so if you run into issues, leave a comment detailing what you've tried and tag @dangminhduc1101 for help.