generated from deco-sites/storefront
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b0373ac
commit d45e39e
Showing
10 changed files
with
109 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
function ClearFilters() { | ||
const resetParams = () => { | ||
const urlParam = globalThis.location.href.split(/[?#]/)[0]; | ||
globalThis.location.href = urlParam; | ||
} | ||
return ( | ||
<button class="btn btn-block" onClick={resetParams}>LIMPAR TODOS OS FILTROS</button> | ||
) | ||
} | ||
|
||
export default ClearFilters; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,9 @@ | ||
export { default } from "$store/components/product/CustomOddGrid.tsx"; | ||
|
||
export function LoadingFallback() { | ||
return ( | ||
<div style={{ height: "716px" }} class="flex justify-center items-center"> | ||
<span class="loading loading-spinner" /> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,9 @@ | ||
export { default } from "$store/components/product/CustomShelfGrid.tsx"; | ||
|
||
export function LoadingFallback() { | ||
return ( | ||
<div style={{ height: "716px" }} class="flex justify-center items-center"> | ||
<span class="loading loading-spinner" /> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,9 @@ | ||
export { default } from "$store/components/product/CustomShelfSlider.tsx"; | ||
|
||
export function LoadingFallback() { | ||
return ( | ||
<div style={{ height: "716px" }} class="flex justify-center items-center"> | ||
<span class="loading loading-spinner" /> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.