From 43b241015931bfb4375ecffcba289b69f0931d77 Mon Sep 17 00:00:00 2001 From: compositefellow Date: Thu, 29 Jun 2023 19:02:55 +0800 Subject: [PATCH] Start of change for example. --- src/components/Layout/GlassCard.tsx | 3 +++ src/pages/landing.tsx | 7 +++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/components/Layout/GlassCard.tsx b/src/components/Layout/GlassCard.tsx index fa12276..433207f 100644 --- a/src/components/Layout/GlassCard.tsx +++ b/src/components/Layout/GlassCard.tsx @@ -8,6 +8,7 @@ interface GlassCardProps { body: string icon?: React.ReactNode iconBoxColor: string + children?: React.ReactNode } export const GlassCard = ({ title, @@ -15,6 +16,7 @@ export const GlassCard = ({ body, icon, iconBoxColor, + children }: GlassCardProps): JSX.Element => { const { width } = useWindowSize() const stylesPaddingTotal = 38 * 2 // 38px on each side @@ -75,6 +77,7 @@ export const GlassCard = ({ > {body} + {children} ) diff --git a/src/pages/landing.tsx b/src/pages/landing.tsx index 50900ab..3d1eb06 100644 --- a/src/pages/landing.tsx +++ b/src/pages/landing.tsx @@ -13,7 +13,8 @@ import { } from '@chakra-ui/react' import { GlassCard } from '../components/Layout/GlassCard' import { Lifebuoy, PalmUp, Blocks } from '../components/LandingLogos' -import { Footer } from '../components/Layout/Footer' +import { Yield } from '../components/Stability/Yield' + export default function Landing() { return ( @@ -64,7 +65,9 @@ export default function Landing() { title='Stake' header='Stake LQTY' body='Earn LUSD & ETH' - /> + > + +