Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Jay Mehta
/
zango-frontend
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Registry
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 2f53fef8
authored
2024-06-18 11:28:07 +0530
by
jaymehta
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
.
1 parent
98b6b50c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
components/home/LetDiscover.js
components/home/LetDiscover.js
View file @
2f53fef
...
...
@@ -13,6 +13,7 @@ import "swiper/css/pagination";
import
"swiper/css/navigation"
;
import
{
cleanImage
}
from
"../../services/imageHandling.js"
;
import
{
useRouter
}
from
"next/router.js"
;
import
Link
from
"next/link.js"
;
const
LetDiscover
=
({
categories
})
=>
{
const
router
=
useRouter
();
return
(
...
...
@@ -32,14 +33,16 @@ const LetDiscover = ({ categories }) => {
<
/div
>
<
/motion.div
>
<
div
className
=
"view-all-btn"
>
<
Link
href
=
{
"/listing"
}
>
<
Button
onClick
=
{()
=>
{
router
.
push
(
"/listing"
);
}}
//
onClick={() => {
//
router.push("/listing");
//
}}
variant
=
"primary"
>
View
All
<
/Button
>
<
/Link
>
<
/div
>
<
/div
>
<
/div
>
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment