-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into 144-145-complete-profile
- Loading branch information
Showing
5 changed files
with
8,170 additions
and
68 deletions.
There are no files selected for viewing
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,20 @@ | ||
import ReferralModalTrigger from "@/components/ReferralModalTrigger"; | ||
|
||
function Xmas(props) { | ||
const { session, data, user } = props; | ||
|
||
return ( | ||
<div className="background-animate w-full font-sans py-5 flex justify-center items-center space-x-2 bg-gradient-to-r from-orange-600 via-red-500 to-red-600"> | ||
<h3 className="text-white font-semibold text-lg"> | ||
🎄 12 days of Christmas Giveaway! 👉 | ||
</h3> | ||
<ReferralModalTrigger session={session} data={data} user={user}> | ||
<button className="text-amber-900 px-3 py-2 font-bold font-mono rounded-full bg-amber-300 hover:bg-amber-400"> | ||
Unlock! | ||
</button> | ||
</ReferralModalTrigger> | ||
</div> | ||
); | ||
} | ||
|
||
export default Xmas; |
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,56 @@ | ||
import assets from "@/assets"; | ||
|
||
function XmasPoster() { | ||
return ( | ||
<div className="overflow-hidden bg-white py-24 sm:py-32"> | ||
<div className="mx-auto max-w-7xl md:px-6 lg:px-8"> | ||
<div className="grid grid-cols-1 gap-x-8 gap-y-16 sm:gap-y-20 lg:grid-cols-2 lg:items-start"> | ||
<div className={`px-6 lg:px-0 lg:pr-4 lg:pt-4 order-last`}> | ||
<div className="mx-auto max-w-2xl lg:mx-0 lg:max-w-lg"> | ||
<h1 className="text-3xl font-bold tracking-tight text-gray-900 sm:text-4xl"> | ||
12 Days of Christmas Giveaways! | ||
</h1> | ||
<div className="mt-6 text-lg leading-8 text-gray-600"> | ||
<p> | ||
Starting on 12th December, InLight Zambia will be offering 12 | ||
days of giveaways! That’s 12 days of unlimited access to | ||
opportunities, 12 days of insightful information shared by our | ||
team, and a chance to win an InLight Zambia branded tie dye | ||
shirt, followed by a K250 and K500 voucher to Shoprite. The | ||
more you refer, the better chance you have at winning! | ||
</p> | ||
<p className="mt-4"> | ||
<strong>Entry Requirements:</strong> | ||
</p> | ||
<ul className="list-disc pl-6 mt-2"> | ||
<li>Sign Up on InLight Zambia and confirm your email.</li> | ||
<li> | ||
Navigate to your profile and upload a resume to access your | ||
referral code. | ||
</li> | ||
<li>Refer friends!</li> | ||
</ul> | ||
<p className="mt-4"> | ||
<strong>Closing Date:</strong> 24th December, 2023. | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
<div className="sm:px-6 lg:px-0"> | ||
<div className="mx-auto max-w-2xl sm:mx-0 sm:max-w-none"> | ||
<a href="#/"> | ||
<img | ||
className="h-2/3 object-cover md:h-full ring-1 ring-white/10 rounded-tl-xl" | ||
src={assets.christmas.src} | ||
alt="Christmas Banner" | ||
/> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
export default XmasPoster; |
Oops, something went wrong.