Skip to content

Commit 345c5a3

Browse files
committed
responsive fix on cover img
1 parent 57a652f commit 345c5a3

File tree

2 files changed

+6
-14
lines changed

2 files changed

+6
-14
lines changed

src/Pages/Dashboard/AllSeller/AllSeller.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,7 @@ const AllSeller = () => {
5757
});
5858
}
5959

60-
const verifyUserInProduct = (user) => {
61-
fetch(`http://localhost:5000/products?email=${user?.email}`, {
62-
method: 'get',
63-
headers: {
64-
"content-type": "application/json",
65-
},
66-
// body: JSON.stringify({ isVerified: toggle }),
67-
})
68-
}
60+
6961

7062
const deleteUserHndler = (user) => {
7163
fetch(`http://localhost:5000/users/${user?._id}`, {

src/Pages/Home/HomeBanner/BannerItem.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ const BannerItem = ({ slider }) => {
77
const { image, prev, id, next } = slider;
88

99
return (
10-
<div id={`slide${id}`} className=" carousel-item relative min-w-full max-h-[650px]">
11-
<div className="carousel-image-overly min-w-full max-h-[650px]">
12-
<img src={image} alt="" className="min-w-full max-h-[650px]" />
10+
<div id={`slide${id}`} className=" carousel-item relative w-full md:min-w-full md:max-h-[650px]">
11+
<div className="carousel-image-overly md:min-w-full md:max-h-[650px]">
12+
<img src={image} alt="" className="w-full md:min-w-full md:max-h-[650px]" />
1313
</div>
1414
<div className="absolute flex justify-between transform -translate-y-1/2 left-5 right-5 top-1/2 ">
1515
<a href={`#slide${prev}`} className="text-5xl text-secondary ">
@@ -21,7 +21,7 @@ const BannerItem = ({ slider }) => {
2121
</div>
2222

2323
<div className="absolute flex text-white transform -translate-y-1/2 gap-8 left-24 top-1/4">
24-
<h1 className="text-6xl font-bold">
24+
<h1 className="text-4xl md:text-6xl font-bold">
2525
The Best Place to
2626
<Typewriter
2727
options={{
@@ -33,7 +33,7 @@ const BannerItem = ({ slider }) => {
3333
</h1>
3434
</div>
3535

36-
<div className="absolute flex text-white transform -translate-y-1/2 gap-8 left-24 bottom-1/3 text-xl w-1/2">
36+
<div className="absolute hidden md:flex text-white transform -translate-y-1/2 gap-8 left-24 bottom-1/3 md:text-xl w-1/2">
3737
<p>
3838
We have the most desired solution for you. With over 1.5 lac+ listings, 2 lacs+ users. Indirect is here with everything you have been looking for with the largest real estate marketing portal in Bangladesh.
3939
</p>

0 commit comments

Comments
 (0)