diff --git a/frontend/pages/index.js b/frontend/pages/index.js index 7393de7a..3940e399 100644 --- a/frontend/pages/index.js +++ b/frontend/pages/index.js @@ -1,4 +1,4 @@ -import React, { useState, Suspense, useEffect, useContext } from "react"; +import React, { Suspense, useEffect, useContext } from "react"; import { Fade, Flex, @@ -8,14 +8,13 @@ import { Stack, Link, Center, - useMediaQuery, Grid, Text, GridItem, SimpleGrid, Image as ChakraImage, - HStack, VStack, + HStack, Accordion, Icon, Spacer, @@ -72,25 +71,8 @@ const assets = { }; const Homepage = () => { - const [background, setBackground] = useState("background720"); - const [backgroundLoaded720, setBackgroundLoaded720] = useState(false); - const [backgroundLoaded1920, setBackgroundLoaded1920] = useState(false); - const [backgroundLoaded2880, setBackgroundLoaded2880] = useState(false); - const [backgroundLoaded3840, setBackgroundLoaded3840] = useState(false); - const router = useRouter(); const { isInit } = useUser(); - const [ - isLargerThan720px, - isLargerThan1920px, - isLargerThan2880px, - isLargerThan3840px, - ] = useMediaQuery([ - "(min-width: 720px)", - "(min-width: 1920px)", - "(min-width: 2880px)", - "(min-width: 3840px)", - ]); const { buttonReport } = useContext(AnalyticsContext); @@ -276,11 +258,14 @@ const Homepage = () => { - - -
+ + + - + { > >$4b - + transaction volume.
And growing
-
+
- + { > >44k - + active users in game economies
built with our engine @@ -337,7 +341,7 @@ const Homepage = () => { @@ -486,13 +490,17 @@ const Homepage = () => { Features -
+
- - {`Lootboxes, crafting recipes, deck building, you name it! With Moonstream Engine you can deploy`} - - - {`on-chain mechanics with one click. Read our Use Cases or explore the features to know more.`} + + Lootboxes, crafting recipes, deck building, you name it! + With Moonstream Engine you can deploy on-chain mechanics + with one click. Read our Use Cases or explore the features + to know more.
diff --git a/frontend/src/components/Footer.js b/frontend/src/components/Footer.js index 17ca3aff..31ec79c1 100644 --- a/frontend/src/components/Footer.js +++ b/frontend/src/components/Footer.js @@ -74,10 +74,7 @@ const Footer = () => ( diff --git a/frontend/src/components/LandingNavbar.js b/frontend/src/components/LandingNavbar.js index 874babaf..c1282547 100644 --- a/frontend/src/components/LandingNavbar.js +++ b/frontend/src/components/LandingNavbar.js @@ -46,12 +46,12 @@ const LandingNavbar = () => { )}