We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bcae7e1 commit 86bc664Copy full SHA for 86bc664
1 file changed
frontend/src/components/ProblemCard.tsx
@@ -94,7 +94,8 @@ export default function ProblemCard({ problem }: { problem: Problem }) {
94
{tags.map((tag) => (
95
<span
96
key={tag}
97
- className="px-2 py-0.5 rounded-md text-xs bg-dark-700/50 text-dark-400 border border-dark-600/50"
+ onClick={(e) => { e.preventDefault(); window.location.href = `/problems?search=${encodeURIComponent(tag)}`; }}
98
+ className="px-2 py-0.5 rounded-md text-xs bg-dark-700/50 text-dark-400 border border-dark-600/50 cursor-pointer hover:bg-dark-700 hover:text-dark-200 transition-colors"
99
>
100
{tag}
101
</span>
0 commit comments