11import React , { useContext } from "react" ;
2- import { Container , Heading } from "@chakra-ui/react" ;
2+ import { Container } from "@chakra-ui/react" ;
33import RouteButton from "../../src/components/RouteButton" ;
44import { getLayout , getLayoutProps } from "../../src/layouts/WideInfoPage" ;
55import { AWS_ASSETS_PATH } from "../../src/core/constants" ;
@@ -8,45 +8,38 @@ import UIContext from "../../src/core/providers/UIProvider/context";
88import AnalyticsContext from "../../src/core/providers/AnalyticsProvider/context" ;
99
1010const assets = {
11- cryptoTraders : `${ AWS_ASSETS_PATH } /crypto+traders .png` ,
12- lender : `${ AWS_ASSETS_PATH } /lender .png` ,
13- DAO : `${ AWS_ASSETS_PATH } /DAO .png` ,
14- NFT : `${ AWS_ASSETS_PATH } /NFT .png` ,
11+ airdrop : `${ AWS_ASSETS_PATH } /airdrop .png` ,
12+ openLootbox : `${ AWS_ASSETS_PATH } /open-lootbox .png` ,
13+ craftingRecipe : `${ AWS_ASSETS_PATH } /crafting-recipe .png` ,
14+ minigame : `${ AWS_ASSETS_PATH } /minigame .png` ,
1515} ;
1616
1717const Features = ( ) => {
1818 const ui = useContext ( UIContext ) ;
1919 const { buttonReport } = useContext ( AnalyticsContext ) ;
2020
2121 return (
22- < Container
23- id = "container"
24- maxW = "container.xl"
25- px = { [ "10%" , "10%" , "7%" , "0" ] }
26- mt = "72px"
27- >
28- < Heading as = "h1" hidden >
29- Moonstream feautes
30- </ Heading >
22+ < Container id = "container" maxW = "1238" mt = "142px" p = "0px" >
3123 { ! ui . isMobileView && (
3224 < RouteButton
33- variant = "orangeAndBlue "
25+ variant = "plainOrange "
3426 onClick = { ( ) => buttonReport ( "Learn More" , "main" ) }
3527 href = { "/discordleed" }
3628 isExternal
3729 minW = { [ "150" , "150" , "150" , "200px" , "300px" , "300px" ] }
3830 fontSize = { [ "md" , "lg" , "xl" , "2xl" , "3xl" , "3xl" ] }
3931 position = "absolute"
4032 bottom = "10px"
41- right = "5px "
33+ right = "10px "
4234 >
4335 Learn More
4436 </ RouteButton >
4537 ) }
4638 < FeatureCard
39+ pt = "0px"
4740 id = "airdrops"
4841 headingText = "Airdrops"
49- image = { assets [ "lender " ] }
42+ image = { assets [ "airdrop " ] }
5043 cardOrder = { 1 }
5144 isMobile = { ui . isMobileView }
5245 onClick = { ( ) => buttonReport ( "Learn More" , "airdrops" ) }
@@ -71,7 +64,7 @@ const Features = () => {
7164 < FeatureCard
7265 id = "minigames"
7366 headingText = "Minigames"
74- image = { assets [ "DAO " ] }
67+ image = { assets [ "minigame " ] }
7568 cardOrder = { - 1 }
7669 isMobile = { ui . isMobileView }
7770 onClick = { ( ) => buttonReport ( "Learn More" , "minigames" ) }
@@ -90,7 +83,7 @@ const Features = () => {
9083 < FeatureCard
9184 id = "lootboxes"
9285 headingText = "Lootboxes"
93- image = { assets [ "cryptoTraders " ] }
86+ image = { assets [ "openLootbox " ] }
9487 cardOrder = { 1 }
9588 isMobile = { ui . isMobileView }
9689 onClick = { ( ) => buttonReport ( "Learn More" , "lootboxes" ) }
@@ -109,9 +102,10 @@ const Features = () => {
109102 < FeatureCard
110103 id = "crafting"
111104 headingText = "Crafting"
112- image = { assets [ "NFT " ] }
105+ image = { assets [ "craftingRecipe " ] }
113106 cardOrder = { - 1 }
114107 isMobile = { ui . isMobileView }
108+ pb = "40px"
115109 onClick = { ( ) => buttonReport ( "Learn More" , "crafting" ) }
116110 >
117111 < >
0 commit comments