From ee4eef324e387bd6bd78b04661cf840bf3629d07 Mon Sep 17 00:00:00 2001 From: saml33 Date: Tue, 28 Nov 2023 11:29:58 +1100 Subject: [PATCH] add rewards homepage banner --- components/home/HomePage.tsx | 45 ++++++++++++++++++++++++++++++++- components/shared/ColorBlur.tsx | 6 ++++- 2 files changed, 49 insertions(+), 2 deletions(-) diff --git a/components/home/HomePage.tsx b/components/home/HomePage.tsx index 747612fa..7123521c 100644 --- a/components/home/HomePage.tsx +++ b/components/home/HomePage.tsx @@ -24,6 +24,8 @@ import useMarketsData from '../../hooks/useMarketData' import { useQuery } from '@tanstack/react-query' import { MANGO_DATA_API_URL } from '../../utils/constants' import Loading from '../shared/Loading' +import Image from 'next/image' +import Link from 'next/link' gsap.registerPlugin(MotionPathPlugin) gsap.registerPlugin(ScrollTrigger) @@ -244,7 +246,48 @@ const HomePage = () => { return ( <> - + +
+
+
+ Chest +
+
+

+ Trade. Win. Repeat. +

+

+ Rewards are go! Win amazing prizes every week for trading on + Mango. +

+
+ + Find out more + +
+
+
+ +
+
+

diff --git a/components/shared/ColorBlur.tsx b/components/shared/ColorBlur.tsx index efc3a475..a3f9841d 100644 --- a/components/shared/ColorBlur.tsx +++ b/components/shared/ColorBlur.tsx @@ -1,10 +1,12 @@ import { useTheme } from 'next-themes' const ColorBlur = ({ + blendMode, className, height, width, }: { + blendMode?: string className?: string height: string width: string @@ -12,7 +14,9 @@ const ColorBlur = ({ const { theme } = useTheme() return theme !== 'Light' ? (
) : null