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 66080dbb
authored
2024-06-24 13:28:01 +0530
by
jaymehta
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
.
1 parent
eb16a1c2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
components/home/BrowseExperiences.js
components/home/LetDiscover.js
components/home/BrowseExperiences.js
View file @
66080db
...
@@ -16,6 +16,7 @@ import { useRouter } from "next/router.js";
...
@@ -16,6 +16,7 @@ import { useRouter } from "next/router.js";
import
WishlistComponent
from
"../detail/WIshlistComponent.js"
;
import
WishlistComponent
from
"../detail/WIshlistComponent.js"
;
import
{
useSelector
}
from
"react-redux"
;
import
{
useSelector
}
from
"react-redux"
;
import
Link
from
"next/link.js"
;
import
Link
from
"next/link.js"
;
import
ActiveLink
from
"../common/ActiveLink.js"
;
const
BrowseExperiences
=
({
allActivitiesData
})
=>
{
const
BrowseExperiences
=
({
allActivitiesData
})
=>
{
const
{
endUser
}
=
useSelector
(
state
=>
state
.
endUser
);
const
{
endUser
}
=
useSelector
(
state
=>
state
.
endUser
);
...
@@ -35,7 +36,7 @@ const BrowseExperiences = ({ allActivitiesData }) => {
...
@@ -35,7 +36,7 @@ const BrowseExperiences = ({ allActivitiesData }) => {
<
/div
>
<
/div
>
<
/motion.div
>
<
/motion.div
>
<
div
className
=
"view-all-btn"
>
<
div
className
=
"view-all-btn"
>
<
Link
href
=
{
"/listing"
}
prefetch
>
<
Active
Link
href
=
{
"/listing"
}
prefetch
>
<
Button
<
Button
variant
=
"primary"
variant
=
"primary"
// onClick={() => {
// onClick={() => {
...
@@ -44,7 +45,7 @@ const BrowseExperiences = ({ allActivitiesData }) => {
...
@@ -44,7 +45,7 @@ const BrowseExperiences = ({ allActivitiesData }) => {
>
>
View
All
View
All
<
/Button
>
<
/Button
>
<
/
Link
>
<
/Active
Link
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
@@ -120,7 +121,7 @@ const BrowseExperiences = ({ allActivitiesData }) => {
...
@@ -120,7 +121,7 @@ const BrowseExperiences = ({ allActivitiesData }) => {
<
div
className
=
""
>
Includes
taxes
&
Fees
<
/div
>
<
div
className
=
""
>
Includes
taxes
&
Fees
<
/div
>
<
/div
>
<
/div
>
<
div
className
=
"explore-now"
>
<
div
className
=
"explore-now"
>
<
Link
href
=
{
`/activities/
${
data
.
id
}
`
}
prefetch
>
<
Active
Link
href
=
{
`/activities/
${
data
.
id
}
`
}
prefetch
>
<
Button
<
Button
// onClick={() => {
// onClick={() => {
// router.push(`/activities/${data.id}`);
// router.push(`/activities/${data.id}`);
...
@@ -129,7 +130,7 @@ const BrowseExperiences = ({ allActivitiesData }) => {
...
@@ -129,7 +130,7 @@ const BrowseExperiences = ({ allActivitiesData }) => {
>
>
Explore
Now
Explore
Now
<
/Button
>
<
/Button
>
<
/
Link
>
<
/Active
Link
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
...
components/home/LetDiscover.js
View file @
66080db
...
@@ -14,6 +14,7 @@ import "swiper/css/navigation";
...
@@ -14,6 +14,7 @@ import "swiper/css/navigation";
import
{
cleanImage
}
from
"../../services/imageHandling.js"
;
import
{
cleanImage
}
from
"../../services/imageHandling.js"
;
import
{
useRouter
}
from
"next/router.js"
;
import
{
useRouter
}
from
"next/router.js"
;
import
Link
from
"next/link.js"
;
import
Link
from
"next/link.js"
;
import
ActiveLink
from
"../common/ActiveLink.js"
;
const
LetDiscover
=
({
categories
})
=>
{
const
LetDiscover
=
({
categories
})
=>
{
const
router
=
useRouter
();
const
router
=
useRouter
();
return
(
return
(
...
@@ -33,7 +34,7 @@ const LetDiscover = ({ categories }) => {
...
@@ -33,7 +34,7 @@ const LetDiscover = ({ categories }) => {
<
/div
>
<
/div
>
<
/motion.div
>
<
/motion.div
>
<
div
className
=
"view-all-btn"
>
<
div
className
=
"view-all-btn"
>
<
Link
href
=
{
"/listing"
}
prefetch
>
<
Active
Link
href
=
{
"/listing"
}
prefetch
>
<
Button
<
Button
// onClick={() => {
// onClick={() => {
// router.push("/listing");
// router.push("/listing");
...
@@ -42,7 +43,7 @@ const LetDiscover = ({ categories }) => {
...
@@ -42,7 +43,7 @@ const LetDiscover = ({ categories }) => {
>
>
View
All
View
All
<
/Button
>
<
/Button
>
<
/Link
>
<
/
Active
Link
>
<
/div
>
<
/div
>
<
/div
>
<
/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