Skip to content

Commit

Permalink
Merge pull request #46 from deco-sites/lucis/no-follow-links
Browse files Browse the repository at this point in the history
Adding rel nofollow to Filters
  • Loading branch information
tlgimenes authored Oct 24, 2023
2 parents 94a5fc4 + 67a2180 commit c945171
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/search/Filters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function ValueItem(
{ url, selected, label, quantity }: FilterToggleValue,
) {
return (
<a href={url} class="flex items-center gap-2">
<a href={url} rel="nofollow" class="flex items-center gap-2">
<div aria-checked={selected} class="checkbox" />
<span class="text-sm">{label}</span>
{quantity > 0 && <span class="text-sm text-base-300">({quantity})</span>}
Expand All @@ -39,7 +39,7 @@ function FilterValues({ key, values }: FilterToggle) {

if (key === "cor" || key === "tamanho") {
return (
<a href={url}>
<a href={url} rel="nofollow">
<Avatar
content={value}
variant={selected ? "active" : "default"}
Expand Down

0 comments on commit c945171

Please sign in to comment.