moonstream/frontend/pages/index.js

1114 wiersze
43 KiB
JavaScript
Czysty Zwykły widok Historia

2022-10-13 17:33:27 +00:00
import React, { Suspense, useEffect, useContext } from "react";
2021-07-30 11:25:17 +00:00
import {
2021-08-05 15:01:02 +00:00
Fade,
2021-07-30 11:25:17 +00:00
Flex,
Heading,
Box,
chakra,
Stack,
Link,
2022-05-05 15:35:42 +00:00
Center,
2021-08-05 15:01:02 +00:00
Grid,
Text,
2021-08-05 15:01:02 +00:00
GridItem,
2022-04-28 18:05:13 +00:00
SimpleGrid,
2021-10-13 15:23:49 +00:00
Image as ChakraImage,
VStack,
2022-10-13 17:33:27 +00:00
HStack,
Accordion,
2022-10-13 03:11:21 +00:00
Icon,
Spacer,
2021-07-30 11:25:17 +00:00
} from "@chakra-ui/react";
2022-10-13 03:11:21 +00:00
import { HiOutlineChatAlt2 } from "react-icons/hi";
2021-08-05 15:01:02 +00:00
import useUser from "../src/core/hooks/useUser";
import useRouter from "../src/core/hooks/useRouter";
import {
AWS_ASSETS_PATH,
DEFAULT_METATAGS,
BACKGROUND_COLOR,
} from "../src/core/constants";
2021-11-01 13:55:29 +00:00
import TrustedBadge from "../src/components/TrustedBadge";
2021-11-08 11:58:29 +00:00
import RouteButton from "../src/components/RouteButton";
import AnalyticsContext from "../src/core/providers/AnalyticsProvider/context";
import RouterLink from "next/link";
import FAQCard from "../src/components/FAQCard";
2022-02-21 11:48:48 +00:00
2021-07-30 11:25:17 +00:00
const HEADING_PROPS = {
fontWeight: "700",
2022-02-21 11:48:48 +00:00
fontSize: ["4xl", "5xl", "5xl", "5xl", "6xl", "7xl"],
2021-07-30 11:25:17 +00:00
};
const assets = {
airdrop: `${AWS_ASSETS_PATH}/airdrop.png`,
arbitrum: `${AWS_ASSETS_PATH}/arbitrum_logo.png`,
background720: `${AWS_ASSETS_PATH}/background720.png`,
background1920: `${AWS_ASSETS_PATH}/background720.png`,
background2880: `${AWS_ASSETS_PATH}/background720.png`,
background3840: `${AWS_ASSETS_PATH}/background720.png`,
2022-10-13 03:11:21 +00:00
bc101: `${AWS_ASSETS_PATH}/featured_by/blockchain-101-white.png`,
bulliverse: `${AWS_ASSETS_PATH}/bullieverse_logo.png`,
cgcConference: `${AWS_ASSETS_PATH}/featured_by/cgc_conference_2022_logo.jpg`,
championsAscension: `${AWS_ASSETS_PATH}/featured_by/champions.png`,
2022-10-13 03:11:21 +00:00
cointelegraph: `${AWS_ASSETS_PATH}/featured_by/cointelegraph-white.png`,
craftingRecipe: `${AWS_ASSETS_PATH}/crafting-recipe.png`,
cryptoGuilds: `${AWS_ASSETS_PATH}/crypto_guilds_logo.png`,
2022-10-13 03:11:21 +00:00
cryptoinsiders: `${AWS_ASSETS_PATH}/featured_by/crypto-insiders-white.png`,
cryptoslate: `${AWS_ASSETS_PATH}/featured_by/cryptoslate-white.png`,
cryptoUnicorns: `${AWS_ASSETS_PATH}/crypto_unicorns_logo.png`,
2022-10-13 03:11:21 +00:00
educativesessions: `${AWS_ASSETS_PATH}/featured_by/educative-white.png`,
ethereum_blockchain: `${AWS_ASSETS_PATH}/ethereum_blockchain_logo.png`,
evmos: `${AWS_ASSETS_PATH}/evmos_logo.png`,
forte: `${AWS_ASSETS_PATH}/forte_logo.png`,
2022-02-17 18:07:27 +00:00
game7io: `${AWS_ASSETS_PATH}/featured_by/game7io_logo.png`,
gnosis: `${AWS_ASSETS_PATH}/gnosis_chain_logo.png`,
laguna: `${AWS_ASSETS_PATH}/featured_by/laguna_logo.svg`,
2022-10-13 03:11:21 +00:00
meetup: `${AWS_ASSETS_PATH}/featured_by/meetup-white.png`,
minigame: `${AWS_ASSETS_PATH}/minigame.png`,
openLootbox: `${AWS_ASSETS_PATH}/open-lootbox.png`,
optimism: `${AWS_ASSETS_PATH}/optimism_logo.png`,
orangedao: `${AWS_ASSETS_PATH}/featured_by/orangedao_logo.png`,
polygon: `${AWS_ASSETS_PATH}/polygon_blockchain_logo.png`,
2021-07-30 11:25:17 +00:00
};
2021-11-01 13:55:29 +00:00
2021-07-30 11:25:17 +00:00
const Homepage = () => {
const router = useRouter();
2021-07-30 11:25:17 +00:00
const { isInit } = useUser();
const { buttonReport } = useContext(AnalyticsContext);
2021-07-30 11:25:17 +00:00
useEffect(() => {
if (
router.nextRouter.asPath !== "/" &&
router.nextRouter.asPath.slice(0, 2) !== "/?" &&
2021-08-05 09:49:18 +00:00
router.nextRouter.asPath.slice(0, 2) !== "/#" &&
router.nextRouter.asPath.slice(0, 11) !== "/index.html"
2021-07-30 11:25:17 +00:00
) {
2021-08-05 10:03:42 +00:00
console.warn("redirect attempt..");
if (typeof window !== "undefined") {
2021-08-05 11:15:57 +00:00
console.warn("window present:", window.location.pathname);
router.replace(router.nextRouter.asPath, router.nextRouter.asPath, {
shallow: false,
});
2021-08-05 10:03:42 +00:00
}
2021-07-30 11:25:17 +00:00
}
}, [isInit, router]);
2022-10-13 03:11:21 +00:00
const lightOrangeColor = "#F56646";
const cardBackgroundColor = "#353535";
const Feature = ({ title, altText, image, ...props }) => {
return (
<Box onClick={props.onClick}>
<RouterLink href={props.href}>
<Stack
transition={"1s"}
spacing={1}
2022-10-13 03:11:21 +00:00
px={2}
py={4}
alignItems="center"
borderRadius="12px"
borderColor="white"
bgColor={cardBackgroundColor}
borderWidth={"1px"}
_hover={{ transform: "scale(1.05)", transition: "0.42s" }}
cursor="pointer"
2022-10-13 18:36:23 +00:00
m={2}
minW={["120px", "120px", "200px", "240px"]}
h={["200px", "200px", "300px"]}
>
<ChakraImage
2022-10-13 18:36:23 +00:00
boxSize={["120px", "120px", "200px", null]}
objectFit="contain"
src={image}
alt={altText}
/>
<Heading
textAlign="center"
2022-10-13 14:25:23 +00:00
fontSize={["md", "md", "lg", "lg", null]}
fontWeight="normal"
>
{title}
</Heading>
</Stack>
</RouterLink>
</Box>
);
};
2021-07-30 11:25:17 +00:00
return (
2021-08-06 12:24:18 +00:00
<Suspense fallback="">
<Fade in>
<Box
width="100%"
flexDirection="column"
sx={{ scrollBehavior: "smooth" }}
bgSize="cover"
2022-04-07 11:30:02 +00:00
id="page:landing"
bgColor={BACKGROUND_COLOR}
2022-10-13 03:11:21 +00:00
textColor="white"
2021-07-30 11:25:17 +00:00
>
2021-08-06 12:24:18 +00:00
<Flex
direction="column"
h="auto"
position="relative"
w="100%"
overflow="initial"
pt={0}
>
2021-08-06 12:24:18 +00:00
<Suspense fallback={""}></Suspense>
<Grid
templateColumns="repeat(12,1fr)"
mt={0}
2021-08-06 12:24:18 +00:00
border="none"
boxSizing="content-box"
>
<GridItem
colSpan="12"
bgColor={BACKGROUND_COLOR}
id="Header grid item"
>
2022-10-13 14:25:23 +00:00
<chakra.header boxSize="full" mb={0}>
2022-10-13 15:01:10 +00:00
<Box bgPos="bottom" bgSize="cover" boxSize="full">
<Flex
align="center"
justify="center"
boxSize="full"
2022-10-13 14:25:23 +00:00
pt={["90px", "120px"]}
pb={10}
px="5%"
flexDir="column"
>
2021-08-06 12:24:18 +00:00
<Stack
textAlign="center"
alignItems="center"
spacing={6}
maxW={["1620px", null, null, null, "1620px", "2222px"]}
2021-11-01 13:55:29 +00:00
w="100%"
2021-07-30 11:25:17 +00:00
>
<Heading
2022-10-13 14:25:23 +00:00
fontSize={["4xl", "4xl", "5xl", "5xl", "5xl", "6xl"]}
fontWeight="bold"
color="white"
2022-05-23 11:59:10 +00:00
as="h1"
2022-10-13 14:25:23 +00:00
pb={[2, 4]}
maxW={[null, "90%", "80%", "40%"]}
>
{DEFAULT_METATAGS.title}
2021-08-06 12:24:18 +00:00
</Heading>
<chakra.span
2022-10-13 14:25:23 +00:00
pb={[2, 6]}
fontSize={["md", "md", "md", "md", null]}
2021-08-06 12:24:18 +00:00
display="inline-block"
color="white"
2022-10-13 14:25:23 +00:00
maxW={[null, "85%", "75%", "55%"]}
2021-08-06 12:24:18 +00:00
>
{DEFAULT_METATAGS.description}
2022-02-17 18:07:27 +00:00
</chakra.span>
<Stack
direction={[
"column",
2022-10-13 14:25:23 +00:00
"row",
"row",
"row",
"row",
"row",
]}
2022-10-13 14:25:23 +00:00
pb={10}
>
<Center>
<RouteButton
variant="whiteOnOrange"
2022-10-13 03:11:21 +00:00
bg={
"linear-gradient(92.26deg, #F56646 8.41%, #FFFFFF 255.37%);"
}
2022-10-13 14:25:23 +00:00
minW={["320px", "150px", null]}
onClick={() => {
buttonReport(
"Boost",
"front-and-center",
"landing"
);
}}
href={"/contact"}
>
2022-10-13 03:11:21 +00:00
Get Started
</RouteButton>
</Center>
<Center>
<RouteButton
variant="orangeAndBlue"
bg="transparent"
borderWidth="2px"
borderColor="white"
textColor="white"
2022-10-13 14:25:23 +00:00
minW={["320px", "200px", null]}
onClick={() => {
buttonReport(
"Discord",
"front-and-center",
"landing"
);
}}
href={"/discordleed"}
isExternal
>
Join our Discord
</RouteButton>
</Center>
</Stack>
2021-08-06 12:24:18 +00:00
</Stack>
2022-10-13 17:33:27 +00:00
<Box w={["100%", "70%", "60%"]}>
<HStack h="100%" alignItems="flex-start">
<Flex w={["50%", "43%"]} h={["auto", "100%"]}>
<Flex w="100%">
2022-10-13 17:33:27 +00:00
<Stack
direction={["column", "column", "row"]}
textAlign="center"
>
<Text
fontSize={[
2022-10-13 03:11:21 +00:00
"xl",
"xl",
"2xl",
"5xl",
"5xl",
"5xl",
]}
2022-10-13 03:11:21 +00:00
fontWeight="medium"
pr={4}
>
&gt;$4b
</Text>
2022-10-13 17:33:27 +00:00
<Text
w="100%"
alignSelf={[
"flex-start",
"flex-start",
"center",
]}
fontSize={["sm", "md"]}
>
2022-10-13 18:44:57 +00:00
transaction volume
<br />
2022-10-13 18:44:57 +00:00
and growing
</Text>
2022-10-13 03:11:21 +00:00
</Stack>
</Flex>
2022-10-13 17:33:27 +00:00
</Flex>
2022-10-13 03:11:21 +00:00
<Center w={["50%", "57%"]} h="100%">
<Flex w="100%" justifyContent="right">
2022-10-13 17:33:27 +00:00
<Stack
direction={["column", "column", "row"]}
textAlign="center"
>
<Text
fontSize={[
2022-10-13 03:11:21 +00:00
"xl",
"xl",
"2xl",
"5xl",
"5xl",
"5xl",
]}
2022-10-13 03:11:21 +00:00
fontWeight="medium"
pr={4}
>
&gt;44k
</Text>
2022-10-13 17:33:27 +00:00
<Text
w="100%"
alignSelf={[
"flex-start",
"flex-start",
"center",
]}
fontSize={["sm", "md"]}
>
active users in game economies
<br />
built with our engine
</Text>
2022-10-13 03:11:21 +00:00
</Stack>
</Flex>
</Center>
</HStack>
</Box>
2021-08-06 12:24:18 +00:00
</Flex>
</Box>
</chakra.header>
</GridItem>
2021-07-30 11:25:17 +00:00
2022-10-13 03:11:21 +00:00
<GridItem
px={["5%", null, "12%", "15%"]}
2022-10-13 17:33:27 +00:00
py={(4, 8)}
2022-10-13 03:11:21 +00:00
colSpan="12"
bgColor={BACKGROUND_COLOR}
>
<VStack
bgColor="white"
rounded="3xl"
textColor="#1A1D22"
py={10}
>
<Heading
as="h3"
{...HEADING_PROPS}
2022-10-13 14:25:23 +00:00
fontSize={["2xl", null]}
fontWeight="semibold"
textAlign="center"
2022-10-13 14:25:23 +00:00
px="20px"
>
2022-10-13 14:25:23 +00:00
<Text>Trusted by visionaries</Text>
<Text>in the industry</Text>
</Heading>
<Flex
wrap="wrap"
direction="row"
justifyContent="center"
2022-10-13 14:25:23 +00:00
pb={[4, 10]}
>
<Suspense fallback={""}>
<TrustedBadge
2022-10-13 03:11:21 +00:00
scaling={0.8}
name="Champions Ascension"
ImgURL={assets["championsAscension"]}
boxURL="https://www.champions.io/"
/>
<TrustedBadge
2022-10-13 03:11:21 +00:00
scaling={0.8}
name="Crypto Guilds"
ImgURL={assets["cryptoGuilds"]}
boxURL="https://crypto-guilds.com/"
/>
<TrustedBadge
2022-10-13 03:11:21 +00:00
scaling={0.8}
name="Crypto Unicorns"
ImgURL={assets["cryptoUnicorns"]}
boxURL="https://www.cryptounicorns.fun/"
/>
<TrustedBadge
2022-10-13 03:11:21 +00:00
scaling={0.8}
name="game7io"
ImgURL={assets["game7io"]}
boxURL="https://game7.io/"
/>
<TrustedBadge
2022-10-13 03:11:21 +00:00
scaling={0.8}
name="orangedao"
ImgURL={assets["orangedao"]}
boxURL="https://lfg.orangedao.xyz/"
/>
</Suspense>
</Flex>
<Heading
as="h3"
{...HEADING_PROPS}
2022-10-13 14:25:23 +00:00
fontSize={["2xl", null]}
fontWeight="semibold"
textAlign="center"
2022-10-13 14:25:23 +00:00
px="20px"
>
Supported blockchains
</Heading>
<Flex
wrap="wrap"
direction="row"
justifyContent="center"
2022-10-13 14:25:23 +00:00
pb={[4, 10]}
>
<Suspense fallback={""}>
<TrustedBadge
2022-10-13 03:11:21 +00:00
scaling={0.5}
pt="10px"
name="polygon"
ImgURL={assets["polygon"]}
boxURL="https://polygon.technology/"
/>
<TrustedBadge
scaling={0.8}
name="ethereum"
ImgURL={assets["ethereum_blockchain"]}
boxURL="https://ethereum.org/"
/>
<TrustedBadge
2022-10-13 03:11:21 +00:00
scaling={0.6}
pt="8px"
name="gnosis"
ImgURL={assets["gnosis"]}
boxURL="https://gnosis.io/"
/>
</Suspense>
</Flex>
<Heading
as="h3"
{...HEADING_PROPS}
2022-10-13 14:25:23 +00:00
fontSize={["2xl", null]}
fontWeight="semibold"
textAlign="center"
2022-10-13 14:25:23 +00:00
px="20px"
>
Upcoming Integrations
</Heading>
<Flex wrap="wrap" direction="row" justifyContent="center">
<Suspense fallback={""}>
<TrustedBadge
2022-10-13 14:25:23 +00:00
scaling={0.8}
name="forte"
ImgURL={assets["forte"]}
boxURL="https://www.forte.io/"
/>
<TrustedBadge
2022-10-13 03:11:21 +00:00
scaling={0.6}
name="optimism"
ImgURL={assets["optimism"]}
boxURL="https://www.optimism.io/"
/>
2022-10-13 03:11:21 +00:00
<TrustedBadge
scaling={0.6}
name="evmos"
ImgURL={assets["evmos"]}
boxURL="https://evmos.org/"
/>
<TrustedBadge
scaling={0.6}
name="arbitrum"
ImgURL={assets["arbitrum"]}
boxURL="https://bridge.arbitrum.io/"
/>
</Suspense>
</Flex>
</VStack>
2022-04-28 11:35:39 +00:00
</GridItem>
<GridItem
2022-10-13 14:25:23 +00:00
px={["5%", null, "12%", "15%"]}
2022-04-28 14:39:16 +00:00
colSpan="12"
pt={12}
bgColor={BACKGROUND_COLOR}
2022-04-28 14:39:16 +00:00
textColor="white"
>
<Heading {...HEADING_PROPS} textAlign="center" pb={6} as="h2">
2022-05-05 15:35:42 +00:00
Features
</Heading>
2022-10-13 17:33:27 +00:00
<Center fontSize={["md", "md", null]} py={4}>
2022-10-13 14:25:23 +00:00
<VStack>
2022-10-13 17:33:27 +00:00
<Text
textAlign="center"
display="inline-block"
w={["100%", "100%", "70%"]}
>
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.
2022-10-13 14:25:23 +00:00
</Text>
</VStack>
</Center>
2022-04-28 18:05:13 +00:00
<SimpleGrid
2022-10-13 03:11:21 +00:00
columns={[2, 2, 4, null]}
2022-10-13 14:25:23 +00:00
justifyContent={["flex-end", "flex-end", "center"]}
2022-04-28 18:05:13 +00:00
w="100%"
2022-10-13 03:11:21 +00:00
spacing={["0px", "40px"]}
paddingTop="20px"
2022-04-28 18:05:13 +00:00
>
<Feature
title="Assemble Lootboxes"
altText="Lootboxes"
path="/features/#lootboxes"
image={assets["openLootbox"]}
href="/features/#lootboxes"
onClick={() => {
buttonReport("Lootboxes", "features", "landing");
}}
2022-04-28 18:05:13 +00:00
/>
<Feature
title="Create Crafting Recipes"
altText="Crafting Recipes"
path="/features/#crafting"
image={assets["craftingRecipe"]}
href="/features/#crafting"
onClick={() => {
buttonReport("Crafting Recipes", "features", "landing");
}}
2022-04-28 18:05:13 +00:00
/>
<Feature
title="Deploy Minigames"
altText="Minigames"
path="/features/#minigames"
image={assets["minigame"]}
href="/features/#minigames"
onClick={() => {
buttonReport("Minigames", "features", "landing");
}}
2022-04-28 18:05:13 +00:00
/>
<Feature
title="Manage Airdrops"
altText="Airdrops"
path="/features/#airdrops"
image={assets["airdrop"]}
href="/features/#airdrops"
onClick={() => {
buttonReport("Airdrops", "features", "landing");
}}
2022-04-28 18:05:13 +00:00
/>
2021-08-06 12:24:18 +00:00
</SimpleGrid>
<Center py={8}>
<Stack
direction={["column", "column", "row", "row", "row", "row"]}
pb={4}
>
<Center>
<RouteButton
variant="whiteOnOrange"
backgroundColor="#F56646"
2022-10-13 14:25:23 +00:00
minW={["320px", "300px", null]}
onClick={() => {
buttonReport("Features", "features", "landing");
}}
href={"/features"}
>
Learn more about our features
</RouteButton>
</Center>
<Center>
<RouteButton
variant="orangeAndBlue"
bg="transparent"
borderWidth="2px"
borderColor="white"
textColor="white"
2022-10-13 14:25:23 +00:00
minW={["320px", "300px", null]}
onClick={() => {
buttonReport("Use Cases", "features", "landing");
}}
href={
"https://docs.google.com/document/d/1mjfF8SgRrAZvtCVVxB2qNSUcbbmrH6dTEYSMfHKdEgc/view"
}
isExternal
>
Explore the use cases
</RouteButton>
</Center>
</Stack>
</Center>
2022-04-28 18:05:13 +00:00
</GridItem>
2022-10-13 03:11:21 +00:00
<GridItem
px={["7%", null, "12%", "15%"]}
2022-10-13 14:25:23 +00:00
py={[4, 10]}
2022-10-13 03:11:21 +00:00
colSpan="12"
bgColor={BACKGROUND_COLOR}
>
<Heading
{...HEADING_PROPS}
textAlign="center"
pb={[4, 14]}
as="h2"
>
Our Workflow
</Heading>
2022-10-13 14:25:23 +00:00
<Stack
textAlign="center"
direction={["column", "column", "row"]}
>
2022-10-13 03:11:21 +00:00
<VStack alignItems="center" px={4} py={4}>
<Flex mb={5}>
<Heading
as="h3"
2022-10-13 14:25:23 +00:00
fontSize={["lg", "lg", null]}
2022-10-13 03:11:21 +00:00
display="inline-block"
fontWeight="semibold"
>
Step 1
</Heading>
</Flex>
<Flex>
<chakra.span
2022-10-13 14:25:23 +00:00
fontSize={["md", "md", null]}
2022-10-13 03:11:21 +00:00
display="inline-block"
>
So you decided to build a healthy economy on the
blockchain. You are on the right path, traveler!
</chakra.span>
</Flex>
</VStack>
<VStack alignItems="center" px={4} py={4}>
<Flex mb={5}>
<Heading
as="h3"
2022-10-13 14:25:23 +00:00
fontSize={["lg", "lg", null]}
2022-10-13 03:11:21 +00:00
display="inline-block"
fontWeight="semibold"
>
Step 2
</Heading>
</Flex>
<Flex>
<chakra.span
2022-10-13 14:25:23 +00:00
fontSize={["md", "md", null]}
2022-10-13 03:11:21 +00:00
display="inline-block"
>
Sign up to get whitelisted. We&apos;ll reach out to you
within 3 days to schedule a call or make a partnership
proposal.
</chakra.span>
</Flex>
</VStack>
<VStack alignItems="center" px={4} py={4}>
<Flex mb={5}>
<Heading
as="h3"
2022-10-13 14:25:23 +00:00
fontSize={["lg", "lg", null]}
2022-10-13 03:11:21 +00:00
display="inline-block"
fontWeight="semibold"
>
Step 3
</Heading>
</Flex>
<Flex mb={5}>
<chakra.span
2022-10-13 14:25:23 +00:00
fontSize={["md", "md", null]}
2022-10-13 03:11:21 +00:00
display="inline-block"
>
During onboarding pick game mechanics that you&apos;d
like to deploy. Moonstream Engine provides you with
back-end tools to put them on the blockchain.
</chakra.span>
</Flex>
</VStack>
<VStack alignItems="center" px={4} py={4}>
<Center
mb={5}
w="100%"
bg="linear-gradient(92.04deg, #FFD337 36.28%, rgba(48, 222, 76, 0.871875) 43.18%, rgba(114, 162, 255, 0.91) 50.43%, rgba(255, 160, 245, 0.86) 55.02%, rgba(255, 101, 157, 0.71) 60.64%, rgba(255, 97, 154, 0.59) 64.7%), #1A1D22;"
backgroundClip="text"
>
<Heading
as="h3"
2022-10-13 14:25:23 +00:00
fontSize={["lg", "lg", null]}
2022-10-13 03:11:21 +00:00
display="inline-block"
fontWeight="semibold"
>
Enjoy
</Heading>
</Center>
<Flex>
<chakra.span
2022-10-13 14:25:23 +00:00
fontSize={["md", "md", null]}
2022-10-13 03:11:21 +00:00
display="inline-block"
>
You&apos;re at the end of your blockchain development
journey now, traveler. Time to watch your game economy
grow!
</chakra.span>
</Flex>
</VStack>
</Stack>
<Center pt={14}>
<Icon as={HiOutlineChatAlt2} mr={2}></Icon>
2022-10-13 14:25:23 +00:00
<Text fontSize={["xs", "sm", "md", "md", null]}>
2022-10-13 03:11:21 +00:00
Have something to discuss before signing up?{" "}
<Link
href="/discordleed"
onClick={() => {
buttonReport("Discord", "workflow", "landing");
}}
isExternal
>
<u>Join our Discord</u>{" "}
</Link>
to get in touch with the team (@zomglings).
</Text>
</Center>
</GridItem>
<GridItem
2022-10-13 14:25:23 +00:00
px={["5%", null, "12%", "15%"]}
py={[4, 10]}
colSpan="12"
bgColor={BACKGROUND_COLOR}
>
<Heading {...HEADING_PROPS} textAlign="center" as="h2" pb={10}>
FAQ
</Heading>
<Accordion defaultIndex={[0]} allowMultiple allowToggle>
<FAQCard
heading="Im a game designer. What can Moonstream engine do for me?"
headingProps={HEADING_PROPS}
panelContent={
<>
{" "}
Moonstream is a hassle-free way to ultimate game design
and superb user experience. Youll be able to add
on-chain mechanics from our web app into your project
within a click.
<br />
<br />
Imagine you had a menu of ready-to-use game
functionalities... Thats what Moonstream Engine is
about.
</>
}
/>
<FAQCard
heading="What on-chain mechanics are we talking about?"
headingProps={HEADING_PROPS}
panelContent={
<>
{" "}
Use Moonstream to add minigames, in-game items,
airdrops, lootboxes, loyalty programs, leaderboards,
crafting, and some other mechanics into your game. If
you want to add something thats not on the list - feel
free to discuss it with the team.
<br />
<br />
Once you contact us to discuss your project, well
provide you with options.
</>
}
/>
<FAQCard
heading="Im a game developer. How will I benefit?"
headingProps={HEADING_PROPS}
panelContent={
<>
{" "}
Moonstream removes the complexity of smart contact
development. It will save you weeks of time. Moonstream
Engine is your backend.
<br />
<br />
You can find code examples below on this page.
Integration is easy even if you have no experience with
web3.
</>
}
/>
<FAQCard
heading="Is it free?"
headingProps={HEADING_PROPS}
panelContent={
<>
{" "}
Everything we build is open source and free to self-host
or modify.
<Link
href="https://github.com/bugout-dev/moonstream"
onClick={() => {
buttonReport("Moonstream Github", "faq", "landing");
}}
2022-10-13 14:25:23 +00:00
textColor="white"
isExternal
>
{" "}
<u>Here&apos;s</u>{" "}
</Link>
our GitHub. Well be happy to help you get set up.
<br />
<br />
We also have a managed option, where we manage the smart
contracts and the APIs. This is free for indie projects.
For larger projects, please reach out to @zomglings on
Discord for a quote.
</>
}
/>
<FAQCard
heading="Im a data scientist. Can I use Moonstream for research?"
headingProps={HEADING_PROPS}
panelContent={
<>
You can use{" "}
<Link
href="https://github.com/bugout-dev/moonworm"
onClick={() => {
buttonReport("Moonworm Github", "faq", "landing");
}}
isExternal
>
<u>Moonworm</u>
</Link>
, our free open source tool, to build datasets of
on-chain data related to market activity.
<br />
<br />
We also have a dataset with on-chain activity from the
Ethereum NFT market (April 1 to September 25, 2021){" "}
<Link
href="https://www.kaggle.com/datasets/simiotic/ethereum-nfts"
onClick={() => {
buttonReport("Dataset", "faq", "landing");
}}
isExternal
>
<u>here</u>
</Link>
. And{" "}
<Link
href="https://github.com/bugout-dev/moonstream/blob/main/datasets/nfts/papers/ethereum-nfts.pdf"
onClick={() => {
buttonReport("Dataset Report", "faq", "landing");
}}
isExternal
>
<u>here</u>
</Link>{" "}
is our full report on it.
<br />
<br />
Were working on V2 of the dataset above. You can
collaborate with us and become a co-author, just
@moonstream on Discord to connect with the team.{" "}
<Link
href="https://scratched-molybdenum-f03.notion.site/NFT-dataset-v2-33a2900cce3840c0bc048bbc4a0425f8"
onClick={() => {
buttonReport("Sample Dataset", "faq", "landing");
}}
isExternal
>
<u>Here</u>
</Link>{" "}
you can find sample V2 datasets.
</>
}
/>
<FAQCard
heading="What is the Sign Up button for?"
headingProps={HEADING_PROPS}
panelContent={
<>
One of the tools we built is the Analytics platform.
With it game designers, developers, data scientists and
crypto enthusiasts can create dashboards to track
on-chain activity and gain insights into web3 economy
and its health.
<br />
<br />
<Link
href="https://voracious-gerbil-120.notion.site/Creating-dashboard-for-a-smart-contract-288b1bfa64984b109b79895f69129fce"
onClick={() => {
buttonReport("Tutorial", "faq", "landing");
}}
isExternal
>
<u>Here&apos;s</u>
</Link>{" "}
a tutorial on how to use the tool.
<br />
<br />
You can get access to our analytics platform by signing
up for a Moonstream account on our website. Its free.
</>
}
/>
<FAQCard
heading="Im a player. Does Moonstream have anything for me?"
headingProps={HEADING_PROPS}
panelContent={
<>
The next big thing coming out soon is for players.{" "}
<Link
href="/discordleed"
onClick={() => {
buttonReport("Discord", "faq", "landing");
}}
isExternal
>
<u>Join us on Discord</u>{" "}
</Link>
for early access.
</>
}
/>
</Accordion>
</GridItem>
<GridItem
2022-10-13 03:11:21 +00:00
px={["5%", null, "12%", "15%"]}
py={10}
colSpan="12"
bgColor={BACKGROUND_COLOR}
2022-05-05 15:35:42 +00:00
textColor="white"
2022-02-17 18:07:27 +00:00
>
2022-10-13 03:11:21 +00:00
<Heading
as="h2"
{...HEADING_PROPS}
textAlign="center"
pb={10}
fontWeight="semibold"
>
2022-02-17 18:07:27 +00:00
Featured by{" "}
</Heading>
<Center>
<Flex
wrap="wrap"
direction="row"
rounded={["lg", "xl", "2xl", "3xl", "4xl", "4xl"]}
2022-10-13 14:25:23 +00:00
justifyContent="center"
>
<Suspense fallback={""}>
<TrustedBadge
2022-10-13 03:11:21 +00:00
scaling={0.5}
name="cointelegraph"
caseURL=""
ImgURL={assets["cointelegraph"]}
boxURL="https://cointelegraph.com/news/17-of-addresses-snapped-up-80-of-all-ethereum-nfts-since-april"
/>
<TrustedBadge
2022-10-13 03:11:21 +00:00
scaling={0.5}
name="CryptoInsiders"
ImgURL={assets["cryptoinsiders"]}
boxURL="https://www.crypto-insiders.nl/nieuws/altcoin/17-van-ethereum-whales-bezitten-meer-dan-80-van-alle-nfts-op-de-blockchain/"
/>
<TrustedBadge
2022-10-13 03:11:21 +00:00
scaling={0.5}
name="cryptoslate"
ImgURL={assets["cryptoslate"]}
boxURL="https://cryptoslate.com/should-investors-care-80-of-all-nfts-belong-to-17-of-addresses/"
/>
<TrustedBadge
2022-10-13 03:11:21 +00:00
scaling={0.5}
name="bc101"
ImgURL={assets["meetup"]}
boxURL="https://www.meetup.com/SF-Bay-Area-Data-Science-Initiative/events/283215538/"
/>
<TrustedBadge
name="educative sessions"
2022-10-13 03:11:21 +00:00
scaling={0.5}
ImgURL={assets["educativesessions"]}
boxURL="https://youtu.be/DN8zRzJuy0M"
/>
<TrustedBadge
2022-10-13 03:11:21 +00:00
scaling={0.5}
name="bc101"
ImgURL={assets["bc101"]}
boxURL="https://blockchain101.com/"
/>
<TrustedBadge
2022-10-13 03:11:21 +00:00
scaling={0.5}
name="cgc2022"
ImgURL={assets["cgcConference"]}
boxURL="https://www.cgc.one/"
/>
</Suspense>
</Flex>
</Center>
2022-02-17 18:07:27 +00:00
</GridItem>
2022-04-22 09:30:05 +00:00
<GridItem
2022-10-13 14:25:23 +00:00
px={["5%", null, "12%", "15%"]}
pt={10}
pb={20}
2022-04-22 09:30:05 +00:00
colSpan="12"
bgColor={BACKGROUND_COLOR}
2022-04-22 09:30:05 +00:00
>
2022-10-13 03:11:21 +00:00
<Stack
2022-10-13 14:25:23 +00:00
direction={["column", "column", "row"]}
alignItems="center"
2022-10-13 03:11:21 +00:00
bgColor={lightOrangeColor}
borderWidth="2px"
borderColor="white"
borderRadius="30px"
textColor="white"
2022-10-13 14:25:23 +00:00
px={[0, 10]}
py={6}
mb={8}
>
2022-10-13 03:11:21 +00:00
<Box>
<Heading
as="h2"
2022-10-13 14:25:23 +00:00
fontSize={["4xl", "4xl", null]}
2022-10-13 03:11:21 +00:00
letterSpacing="wide"
2022-10-13 14:25:23 +00:00
px={2}
pb={1}
2022-10-13 03:11:21 +00:00
textAlign={["center", "left"]}
>
Sign up to grow your economy
</Heading>
<Text
fontSize={["sm", "sm", "md", "md", null]}
2022-10-13 14:25:23 +00:00
px={2}
2022-10-13 03:11:21 +00:00
py={4}
textAlign={["center", "left"]}
>
{`Answer 5 questions about your project to get whitelisted.`}
</Text>
</Box>
<Spacer />
<RouteButton
variant="orangeAndBlue"
2022-10-13 03:11:21 +00:00
bg="white"
minW={["250px", "250px", null]}
2022-10-13 14:25:23 +00:00
textColor={BACKGROUND_COLOR}
onClick={() => {
buttonReport("Boost", "page-bottom", "landing");
}}
href={"/contact"}
>
2022-10-13 03:11:21 +00:00
Boost my game economy
</RouteButton>
2022-10-13 03:11:21 +00:00
</Stack>
2022-04-22 09:30:05 +00:00
<Flex
2022-04-28 18:05:13 +00:00
w="100%"
2022-04-22 09:30:05 +00:00
alignItems="center"
justifyContent="center"
2022-04-28 18:05:13 +00:00
direction={["column", "column", "row"]}
2022-10-13 03:11:21 +00:00
borderWidth="2px"
borderColor={lightOrangeColor}
borderRadius="30px"
bgColor="white"
textColor="black"
px={10}
2022-10-13 03:11:21 +00:00
py={6}
2022-04-22 09:30:05 +00:00
>
2022-10-13 03:11:21 +00:00
<Text
display="block"
2022-10-13 03:11:21 +00:00
fontSize={["sm", "sm", "md", "md", null]}
textAlign={["center", "left"]}
mr={[0, 0, 14]}
2022-10-13 03:11:21 +00:00
pb={[4, 0]}
2022-04-22 09:30:05 +00:00
letterSpacing="tight"
>
{`Learn more about crypto, NFT and DAOs, find links to educational resources, discuss gaming projects, and laugh at memes.`}
2022-10-13 03:11:21 +00:00
</Text>
2022-04-28 18:05:13 +00:00
<RouteButton
variant="orangeAndBlue"
bg="white"
borderColor={lightOrangeColor}
2022-10-13 03:11:21 +00:00
textColor={lightOrangeColor}
minW={["200px", "250px", "250px", "250px", null]}
onClick={() => {
buttonReport("Discord", "page-bottom", "landing");
}}
href={"/discordleed"}
isExternal
>
Join our Discord
</RouteButton>
2022-04-22 09:30:05 +00:00
</Flex>
</GridItem>
2021-08-06 12:24:18 +00:00
</Grid>
</Flex>
</Box>
</Fade>
</Suspense>
2021-07-30 11:25:17 +00:00
);
};
export async function getStaticProps() {
const assetPreload = Object.keys(assets).map((key) => {
return {
rel: "preload",
href: assets[key],
as: "image",
};
});
2021-08-02 12:49:09 +00:00
const preconnects = [{ rel: "preconnect", href: "https://s3.amazonaws.com" }];
2021-07-30 11:25:17 +00:00
const preloads = assetPreload.concat(preconnects);
return {
2021-11-04 16:15:42 +00:00
props: { metaTags: DEFAULT_METATAGS, preloads },
2021-07-30 11:25:17 +00:00
};
}
export default Homepage;