engagingnewsproject / misinfo-dashboard

1 stars 0 forks source link

<Button> Continuity #24

Open luukee opened 1 month ago

luukee commented 1 month ago

All buttons across the app need to be the Material Tailwind style button. Could be a regular button, button with icon or outlined button.

Refer to the above links for Material Tailwind docs.

Example (see this commit for code):

<button className={style.button} onClick={handleAddNewAgencyModal}>
  <FaPlus className="text-blue-600 mr-2" size={12}/>
  Add Agency
</button>

should be changed to :

<Button onClick={handleAddNewAgencyModal}>
  <FaPlus size={12} />
  Add Agency
</Button>

Suggestion: Do a codebase search (Shift + Command + F) for: <button. And change each.

luukee commented 1 month ago

@risha-van Thanks again for working on this project Risha :) Excited to see!