Skip to content

Commit

Permalink
update filter UI
Browse files Browse the repository at this point in the history
  • Loading branch information
dcts committed Aug 31, 2024
1 parent 6689c9e commit 4f86054
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app/team/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@ function ActivityStatusToggle({ filter }: { filter?: ActivityStatus }) {
const isActive = activityStatusFilter === filter;
return (
<div
className={`cursor-pointer inline-block mx-1 my-3 px-6 py-3 bg-black opacity-25 rounded-badge hover:opacity-100 ${
className={`cursor-pointer inline-block mx-1 my-3 px-4 py-2 bg-black opacity-25 rounded-badge hover:opacity-100 ${
isActive ? "!opacity-100" : ""
}`}
onClick={() =>
dispatch(teamSlice.actions.setActivityStatusFilter(filter))
}
>
<p className="uppercase">{label}</p>
<p className="uppercase text-sm">{label}</p>
</div>
);
}
Expand All @@ -78,12 +78,12 @@ function ExpertiseToggle({ filter }: { filter?: Expertise }) {
const isActive = expertiseFilter === filter;
return (
<div
className={`cursor-pointer inline-block mx-1 my-3 px-6 py-3 bg-black opacity-25 rounded-badge hover:opacity-100 ${
className={`cursor-pointer inline-block mx-1 my-3 px-4 py-2 bg-black opacity-25 rounded-badge hover:opacity-100 ${
isActive ? "!opacity-100" : ""
}`}
onClick={() => dispatch(teamSlice.actions.setExpertiseFilter(filter))}
>
<p className="uppercase">{label}</p>
<p className="uppercase text-sm">{label}</p>
</div>
);
}
Expand Down

0 comments on commit 4f86054

Please sign in to comment.