mango-web/pages/index.tsx

129 lines
4.4 KiB
TypeScript
Raw Normal View History

import Head from 'next/head'
2021-03-01 15:47:49 -08:00
import { Divider, Button, Layout, Row, Col } from 'antd';
2021-03-01 18:13:53 -08:00
import ContactIcons from '../components/ContactIcons';
import Logo from '../components/Logo';
import Navigation from '../components/Navigation';
import StatsPanel from '../components/StatsPanel';
2021-03-01 15:47:49 -08:00
const { Header, Footer, Content } = Layout;
const IndexPage = () => (
<>
<Head>
2021-03-01 18:13:53 -08:00
<title>Mango Markets</title>
<meta charSet="utf-8" />
<meta name="viewport" content="initial-scale=1.0, width=device-width" />
2021-03-01 18:13:53 -08:00
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:400,700" />
<script async src="https://www.googletagmanager.com/gtag/js?id=G-EVV22TP9JN"></script>
<script
dangerouslySetInnerHTML={{
__html: `
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-EVV22TP9JN', {
page_path: window.location.pathname,
});
`
}}
2021-03-01 12:16:25 -08:00
/>
</Head>
2021-03-01 12:16:25 -08:00
<Layout
style={{
backgroundImage: "url(background.svg)",
backgroundRepeat: "no-repeat",
backgroundPosition: "-20px 0",
}}
>
<Header style={{ background: "none", marginBottom: "0" }}>
<Navigation />
</Header>
2021-03-01 12:16:25 -08:00
<Layout style={{ background: "none" }}>
<Content style={{ padding: "2em" }}>
<Row align="middle">
<Col xs={24} lg={10}>
2021-03-01 12:16:25 -08:00
<div style={{ padding: "2em" }}>
<p style={{ fontSize: 36, lineHeight: 1.5 }}>
Decentralized, cross-margin trading up to 5x leverage with
lightning speed and near-zero fees powered on Serum.
</p>
<Button
type="primary"
size="large"
2021-03-01 18:13:53 -08:00
disabled
style={{ padding: "0px 60px 0px 60px",
fontWeight: 700,
background: "linear-gradient(270deg, #AFD803AA 34.47%, #FECA1AAA 100%)",
"-webkit-font-smoothing": "antialiased" }}
2021-03-01 12:16:25 -08:00
>
2021-03-01 18:13:53 -08:00
Coming Soon
2021-03-01 12:16:25 -08:00
</Button>
</div>
</Col>
<Col xs={24} lg={14}>
<div style={{ padding: "2em" }}>
<StatsPanel />
</div>
</Col>
</Row>
<Row>
<Col xs={24} lg={8}>
2021-03-01 12:16:25 -08:00
<div style={{ padding: "2em" }}>
<p style={{ fontSize: 36 }}>Trade</p>
<p style={{ lineHeight: 2, fontSize: 16 }}>
Trade up to 5x margin, leveraged or short, with limit orders
on Serum DEXs fully on-chain order book as a maker or taker
while earning interest on deposits and positions for extra
profit.
</p>
</div>
</Col>
<Col xs={24} lg={8}>
2021-03-01 12:16:25 -08:00
<div style={{ padding: "2em" }}>
<p style={{ fontSize: 36 }}>Lend</p>
<p
style={{
width: 400,
lineHeight: 2,
fontSize: 16,
}}
>
Earn maximal interest on deposits, protect against inflation,
and utilize idle investments. Always maintain custody of your
funds.
</p>
</div>
</Col>
<Col xs={24} lg={8}>
2021-03-01 12:16:25 -08:00
<div style={{ padding: "2em" }}>
<p style={{ fontSize: 36 }}>Fees</p>
<p style={{ lineHeight: 2, fontSize: 16 }}>
No fees on interests. The only fees you will pay are for
trading on Serum DEX. Stake your SRM into our pool to reduce
the fees for everyone. Let's reach the MegaSerum fee tier
together 🚀
</p>
</div>
</Col>
</Row>
</Content>
</Layout>
<Footer>
<Divider />
<Row align="middle">
2021-03-01 18:13:53 -08:00
<Col xs={24} lg={8}>
<Logo />© 2021 Blockworks Foundation
</Col>
<Col xs={24} lg={8}>
</Col>
<Col xs={24} lg={8}>
<ContactIcons />
</Col>
</Row>
</Footer>
</Layout>
</>
2021-03-01 12:16:25 -08:00
);
2021-03-01 12:16:25 -08:00
export default IndexPage;