From d45e39e73a71d6a2697eece09f97a089f633219f Mon Sep 17 00:00:00 2001 From: Caio Nogueira Date: Thu, 25 Apr 2024 13:16:22 -0300 Subject: [PATCH] feat: clearFilters adicionado --- components/header/NavItem.tsx | 8 ++--- components/product/ProductCardCustom.tsx | 4 +-- components/search/Filters.tsx | 41 +++++++++++----------- fresh.gen.ts | 2 ++ islands/ClearFilters.tsx | 11 ++++++ sections/Product/CustomOddGrid.tsx | 8 +++++ sections/Product/CustomShelfGrid.tsx | 8 +++++ sections/Product/CustomShelfSlider.tsx | 8 +++++ static/style.css | 44 ++++++++++++++++++++++++ static/tailwind.css | 2 +- 10 files changed, 109 insertions(+), 27 deletions(-) create mode 100644 islands/ClearFilters.tsx diff --git a/components/header/NavItem.tsx b/components/header/NavItem.tsx index 89d712a..d26e017 100644 --- a/components/header/NavItem.tsx +++ b/components/header/NavItem.tsx @@ -37,7 +37,7 @@ function NavItem({ item }: { item: SiteNavigationElement }) { {children && children.length > 0 && (