Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
sujata
/
Akruti-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 3e2c7270
authored
2026-02-25 17:41:00 +0530
by
Ravindra Kanojiya
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
updated home page
1 parent
558f7ebd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
44 additions
and
4 deletions
container/Home/Collection.js
styles/globals.css
container/Home/Collection.js
View file @
3e2c727
...
@@ -136,12 +136,14 @@ const CollectionSlider = ({CollectionData}) => {
...
@@ -136,12 +136,14 @@ const CollectionSlider = ({CollectionData}) => {
{
CollectionData
?.
item
?.
map
((
item
,
index
)
=>
(
{
CollectionData
?.
item
?.
map
((
item
,
index
)
=>
(
<
SwiperSlide
key
=
{
index
}
>
<
SwiperSlide
key
=
{
index
}
>
<
Link
href
=
{
item
?.
url
||
"#"
}
className
=
"collection-card"
>
<
Link
href
=
{
item
?.
url
||
"#"
}
className
=
"collection-card"
>
<
img
{
/* <div> */
}
<
img
src
=
{
cleanImage
(
item
?.
image
?.
url
)}
src
=
{
cleanImage
(
item
?.
image
?.
url
)}
alt
=
{
item
?.
title
}
alt
=
{
item
?.
title
}
className
=
"img-fluid rounded-lg hover-zooms"
className
=
"img-fluid rounded-lg hover-zooms"
/
>
/
>
<
p
className
=
"mt-3"
>
{
item
?.
title
}
<
/p
>
<
p
className
=
"mt-3"
>
{
item
?.
title
}
<
i
class
=
"fa-solid fa-arrow-right"
><
/i></
p
>
{
/* </div> */
}
<
/Link
>
<
/Link
>
<
/SwiperSlide
>
<
/SwiperSlide
>
))}
))}
...
...
styles/globals.css
View file @
3e2c727
...
@@ -544,7 +544,8 @@ aspect-ratio: 16 / 7;
...
@@ -544,7 +544,8 @@ aspect-ratio: 16 / 7;
.collectionSwiper
.collection-card
{
.collectionSwiper
.collection-card
{
position
:
relative
;
position
:
relative
;
height
:
450px
;
height
:
525px
;
display
:
block
;
}
}
.collectionSwiper
.collection-card
p
{
.collectionSwiper
.collection-card
p
{
font-size
:
1.04vw
;
font-size
:
1.04vw
;
...
@@ -558,7 +559,7 @@ aspect-ratio: 16 / 7;
...
@@ -558,7 +559,7 @@ aspect-ratio: 16 / 7;
object-fit
:
cover
;
object-fit
:
cover
;
display
:
block
;
display
:
block
;
transition
:
height
0.4s
ease
;
/* 👈 add this */
transition
:
height
0.4s
ease
;
/* 👈 add this */
/* position: absolute; */
position
:
absolute
;
}
}
.h-slider
.collectionSwiper
.collection-card
:hover
img
{
.h-slider
.collectionSwiper
.collection-card
:hover
img
{
...
@@ -567,7 +568,44 @@ aspect-ratio: 16 / 7;
...
@@ -567,7 +568,44 @@ aspect-ratio: 16 / 7;
.experience_sec.es-cust
.swiperbtn1
{
.experience_sec.es-cust
.swiperbtn1
{
bottom
:
-6%
;
bottom
:
-6%
;
}
}
.collectionSwiper
.collection-card
p
{
position
:
absolute
;
bottom
:
0
;
}
/**/
.collectionSwiper
.collection-card
p
{
transition
:
all
0.3s
ease
;
white-space
:
nowrap
;
display
:
inline-flex
;
align-items
:
center
;
}
.collectionSwiper
.collection-card
p
:hover
{
}
.collectionSwiper
.collection-card
p
i
{
margin-left
:
0
;
opacity
:
0
;
transform
:
translateX
(
-8px
);
max-width
:
0
;
overflow
:
hidden
;
transition
:
opacity
0.3s
ease
,
transform
0.3s
ease
,
max-width
0.3s
ease
,
margin-left
0.3s
ease
;
}
.collectionSwiper
.collection-card
:hover
i
{
opacity
:
1
;
transform
:
translateX
(
0
);
max-width
:
20px
;
margin-left
:
0.5rem
;
}
/**/
/* ====Blog=== */
/* ====Blog=== */
.blog-date
{
.blog-date
{
...
...
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