-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d92d586
commit 94b3d92
Showing
11 changed files
with
54 additions
and
4 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import React from 'react' | ||
import FreeDeliveryIMG from "../../images/free-delivery.png"; | ||
import CashBackIMG from "../../images/cash-back.png"; | ||
import QualityProductIMG from "../../images/quality-product.png"; | ||
import Support from "../../images/24-7-support.png"; | ||
import { ShopOfferContent } from '../../types/public.types'; | ||
|
||
const ShopOffers = () => { | ||
const content: ShopOfferContent[] = [ | ||
{text: "For orders above 50%, we will have free shipping.", title: "Free Delivery", image: FreeDeliveryIMG}, | ||
{text: "If you are not satisfied, we will refund your money.", title: "100% Cash Back", image: CashBackIMG}, | ||
{text: "The quality of all products is checked at the time of entry", title: "Quality Product", image: QualityProductIMG}, | ||
{text: "24/7 support to respond to customers", title: "24/7 Support", image: Support} | ||
] | ||
|
||
return ( | ||
<div className='mt-14 mb-40'> | ||
<div className='container mx-auto'> | ||
<h1 className='font-JosefinSans text-center text-[#1A0B5B] text-[42px] font-bold mb-20'>What's Hekto Offer?</h1> | ||
<div className='flex items-center justify-center'> | ||
<div className='columns-4 gap-y-4'> | ||
{ | ||
content.map(item => ( | ||
<div className='flex flex-col items-center justify-center h-[320px] drop-shadow-[0_8px_40px_rgba(49,32,138,0.05)] bg-white px-7'> | ||
<img src={item.image} alt="" className='mb-2' /> | ||
<h4 className='mb-4 font-JosefinSans font-[22px] text-navy-blue'>{item.title}</h4> | ||
<p className='text-center font-Lato font-bold text-base text-[#1A0B5B4D]'>{item.text}</p> | ||
</div> | ||
)) | ||
} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
||
export default ShopOffers; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
declare module '*.jpg'; | ||
declare module '*.jpeg'; | ||
declare module '*.png'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters