diff --git a/web/package-lock.json b/web/package-lock.json
index 12166edf..01f69719 100644
--- a/web/package-lock.json
+++ b/web/package-lock.json
@@ -6,6 +6,7 @@
"": {
"name": "mantic",
"dependencies": {
+ "@heroicons/react": "^1.0.5",
"@nivo/core": "0.74.0",
"@nivo/line": "0.74.0",
"clsx": "1.1.1",
@@ -1585,6 +1586,14 @@
"resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.2.1.tgz",
"integrity": "sha512-gfta+H8aziZsm8pZa0vj04KO6biEiisppNgA1kbJvFrrWu9Vm7eaUEy76DIxsuTaWvti5fkJVhllWc6ZTE+Mdw=="
},
+ "node_modules/@heroicons/react": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/@heroicons/react/-/react-1.0.5.tgz",
+ "integrity": "sha512-UDMyLM2KavIu2vlWfMspapw9yii7aoLwzI2Hudx4fyoPwfKfxU8r3cL8dEBXOjcLG0/oOONZzbT14M1HoNtEcg==",
+ "peerDependencies": {
+ "react": ">= 16"
+ }
+ },
"node_modules/@humanwhocodes/config-array": {
"version": "0.5.0",
"resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.5.0.tgz",
@@ -9439,6 +9448,12 @@
"resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.2.1.tgz",
"integrity": "sha512-gfta+H8aziZsm8pZa0vj04KO6biEiisppNgA1kbJvFrrWu9Vm7eaUEy76DIxsuTaWvti5fkJVhllWc6ZTE+Mdw=="
},
+ "@heroicons/react": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/@heroicons/react/-/react-1.0.5.tgz",
+ "integrity": "sha512-UDMyLM2KavIu2vlWfMspapw9yii7aoLwzI2Hudx4fyoPwfKfxU8r3cL8dEBXOjcLG0/oOONZzbT14M1HoNtEcg==",
+ "requires": {}
+ },
"@humanwhocodes/config-array": {
"version": "0.5.0",
"resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.5.0.tgz",
diff --git a/web/package.json b/web/package.json
index 5d3ca4ce..9a53a852 100644
--- a/web/package.json
+++ b/web/package.json
@@ -10,6 +10,7 @@
"prepare": "cd .. && husky install web/.husky"
},
"dependencies": {
+ "@heroicons/react": "^1.0.5",
"@nivo/core": "0.74.0",
"@nivo/line": "0.74.0",
"clsx": "1.1.1",
diff --git a/web/pages/index.tsx b/web/pages/index.tsx
index 2c018ffa..d86a2c05 100644
--- a/web/pages/index.tsx
+++ b/web/pages/index.tsx
@@ -1,4 +1,10 @@
import React from 'react'
+import {
+ LightningBoltIcon,
+ ScaleIcon,
+ UserCircleIcon,
+ BeakerIcon,
+} from '@heroicons/react/outline'
import type { NextPage } from 'next'
@@ -7,7 +13,7 @@ import { useUser } from '../hooks/use-user'
import Markets from './markets'
import { useContracts } from '../hooks/use-contracts'
import { SearchableGrid } from '../components/contracts-list'
-import { Title } from '../components/title'
+import { Col } from '../components/layout/col'
const Home: NextPage = () => {
const user = useUser()
@@ -17,17 +23,107 @@ const Home: NextPage = () => {
}
function LandingPage() {
- const contracts = useContracts()
-
return (
-
-
-
+
+
+
+ )
+}
+
+const notionAboutUrl =
+ 'https://mantic.notion.site/About-Mantic-Markets-7c44bc161356474cad54cba2d2973fe2'
+
+function FeaturesSection() {
+ const features = [
+ {
+ name: 'Easy to participate',
+ description: 'Sign up for free and make your own predictions in seconds!',
+ icon: UserCircleIcon,
+ },
+ {
+ name: 'Play money, real results',
+ description:
+ 'Get accurate predictions by betting with Mantic Dollars, our virtual currency.',
+ icon: LightningBoltIcon,
+ },
+ {
+ name: 'Creator-driven markets',
+ description:
+ 'Resolve markets you create with your own judgment—enabling new markets with subjective or personal questions',
+ icon: ScaleIcon,
+ },
+ {
+ name: 'Become smarter',
+ description:
+ 'Bet on questions that matter and share the forecasts. With better information, we can all make better decisions.',
+ icon: BeakerIcon,
+ },
+ ]
+
+ return (
+
+
+
+
+
+ Mantic Markets
+
+
+ Better forecasting for everyone
+
+
+ The easiest way to get an accurate forecast on anything
+
+
+
+
+
+ {features.map((feature) => (
+
+
-
+
+
+
+
+ {feature.name}
+
+
+
-
+ {feature.description}
+
+
+ ))}
+
+
+
+
+
+
+ Learn more
+
+
)
}
+function ExploreMarketsSection() {
+ const contracts = useContracts()
+
+ return (
+
+
+ Explore our markets
+
+
+
+ )
+}
+
export default Home