Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
AditiSharma00 committed Apr 2, 2023
1 parent d9cb993 commit 30dcf96
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions pharmeasy/src/Components/HomePage/Content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ const Articles = [
];
export default function Content() {
return (
<div className={content.mainBox}>
<div className={content.mainBox} key={Math.random()}>
<div id="search_box">
<div style={{ marginTop: "50px" }}>
<h1 style={{ fontSize: "30px", marginLeft: "30%" }}>
Expand Down Expand Up @@ -339,7 +339,7 @@ export default function Content() {
<h1 className={content.Heading}>Shop by Categories</h1>
<div className={content.ShopByCategory}>
{ShopByCategory.map((e) => (
<Category img={e.img} name={e.name} />
<Category key={e.id} img={e.img} name={e.name} />
))}
</div>
</div>
Expand All @@ -355,6 +355,7 @@ export default function Content() {
<div className={content.NewLaunch}>
{newLaunch.map((e) => (
<Launches
key={e.id}
img={e.img}
details={e.details}
mrp={e.mrp}
Expand All @@ -379,6 +380,7 @@ export default function Content() {
mrp={e.mrp}
price={e.price}
off={e.off}
key={e.id}
/>
))}
</div>
Expand All @@ -399,7 +401,7 @@ export default function Content() {
<div className={content.SubPurpleBoxMid}>
<p>
Save 5% on allopathic medicines, 50% on lab tests & get FREE
delivery with PLUS membership Know more >
delivery with PLUS membership Know more
</p>
<Button colorScheme="orange">Explore Now</Button>
</div>
Expand Down Expand Up @@ -461,7 +463,6 @@ export default function Content() {
}}
>
<div>
{" "}
<p>
<b>Top-Selling Healthcare Products:</b> Accu-Chek Active - 100
Strips | Supradyn Multivitamin Tablets | DR Morepen BG 03 - 50
Expand All @@ -484,7 +485,7 @@ export default function Content() {
<h1>
<b>Your One-Stop Online Pharmacy - PharmEasy</b>
</h1>
<p>
<div>
<b>We've got India Covered!</b>
<p>
We now deliver in 1000+ cities and towns across 22000+ pin codes.
Expand All @@ -494,7 +495,7 @@ export default function Content() {
Gurgaon, Navi Mumbai, Jaipur, Noida, Lucknow, Ghaziabad &
Vadodara.
</p>
</p>
</div>
<p>
<b>
How Are We Making Lives Simpler With Our Online Medical Store?
Expand Down

0 comments on commit 30dcf96

Please sign in to comment.