diff --git a/frontend/pages/index.js b/frontend/pages/index.js index 79e06294..5482af41 100644 --- a/frontend/pages/index.js +++ b/frontend/pages/index.js @@ -10,13 +10,15 @@ import { Flex, Heading, Box, + Container, + Divider, chakra, Stack, + VStack, useMediaQuery, Grid, Text, GridItem, - SimpleGrid, Button, Image as ChakraImage, } from "@chakra-ui/react"; @@ -92,6 +94,28 @@ const carousel_content = [ { title: "immutable x coming soon!", img: assets["immutable"] }, { title: "gnosis chain coming soon!", img: assets["gnosis"] }, ]; + +const Feature = ({ image, altText, heading }) => { + return ( + + + + {heading} + + + ); +}; + const Homepage = () => { const ui = useContext(UIContext); const [background, setBackground] = useState("background720"); @@ -274,7 +298,7 @@ const Homepage = () => { fontWeight="semibold" color="white" > - Building blocks for your blockchain economy + Building blocks for your blockchain game { display="inline-block" color="blue.200" > - Moonstream DAO makes tools that help you build, - manage, and secure your blockchain economy. + We are introducing Moonstream Engine - a + groundbreaking set of tools for game design. { + + + + + + Dive into Engine Features + + + + + + + + Lootboxes, crafting, deck builder, you name it! + Whatever on-chain mechanics you want incorporated in + your project, contact us to help you launch it. It is + fast and secure. Or explore the features to know more. + + + + + + + + + + + + + + + {/* { - Features: + Dive into Engine Features + + Get the full picture of your economy with automated + customizable dashboards. + { - + */} { // mt={["32px", "64px", null]} py={["98px", "128px", null]} colSpan="12" - bgColor="blue.50" + bgColor="blue.700" + textColor="white" > - - Want to check it out? - { // lineHeight="shorter" // color={useColorModeValue("gray.900", "gray.100")} > - - To find out if Moonstream tools can benefit your project, - please contact us on Discord. - - {`You can also explore our analytics on your own! It - helps you get awesome insights into economy you're - interested in. Whether you are a game founder or a - researcher, sign up and get your instant free access.`} - - - {`PS If you need help using it, we'll readily help you - out on Discord.`} + {`Contact us on Discord to discuss your project and keep up with the latest updates on the Moonstream Engine.`} { Sign up */} { shadow="md" variant="solid" colorScheme="orange" + textColor="blue.1200" onClick={() => { if (mixpanel.get_distinct_id()) { mixpanel.track( @@ -733,141 +838,13 @@ const Homepage = () => { }} href={"https://discord.gg/K56VNUQGvA"} > - Learn More on Discord + Join the community on Discord - - - - - - Check out our GitHub repository and join our community on - Discord - - - - } - w="280px" - onClick={() => { - if (mixpanel.get_distinct_id()) { - mixpanel.track(`${MIXPANEL_EVENTS.BUTTON_CLICKED}`, { - full_url: router.nextRouter.asPath, - buttonName: `Join our Discord`, - page: `landing`, - section: `bottom-line`, - }); - } - }} - > - Join our Discord - - { - if (mixpanel.get_distinct_id()) { - mixpanel.track(`${MIXPANEL_EVENTS.BUTTON_CLICKED}`, { - full_url: router.nextRouter.asPath, - buttonName: `git clone moonstream`, - page: `landing`, - section: `bottom-line`, - }); - } - }} - leftIcon={} - > - git clone moonstream - - - - - diff --git a/frontend/src/components/Sidebar.js b/frontend/src/components/Sidebar.js index 16cf8136..b6a77643 100644 --- a/frontend/src/components/Sidebar.js +++ b/frontend/src/components/Sidebar.js @@ -109,12 +109,7 @@ const Sidebar = () => { {item.children.map((child, idx) => { return ( - { - ui.setSidebarToggled(false); - }} - > + {child.title}