owncast/web/pages/index.tsx

44 lines
1.1 KiB
TypeScript
Raw Normal View History

2020-10-23 03:16:28 +03:00
import React from 'react';
2020-10-01 01:12:10 +03:00
import { Card, Alert, Statistic, Row, Col } from "antd";
import { LikeOutlined } from "@ant-design/icons";
2020-10-01 04:47:18 +03:00
2020-10-01 01:12:10 +03:00
const { Meta } = Card;
2020-10-23 03:16:28 +03:00
export default function AdminHome() {
2020-10-01 01:12:10 +03:00
return (
<div>
2020-10-23 03:16:28 +03:00
<div>
&lt; pick something<br />
Home view. pretty pictures. Rainbows. Kittens.
</div>
<br /><br />
2020-10-01 01:12:10 +03:00
<Alert
message="These are some ant design component example I stole from their web site."
type="success"
/>
<Row gutter={16}>
<Col span={12}>
<Statistic title="Feedback" value={1128} prefix={<LikeOutlined />} />
</Col>
<Col span={12}>
<Statistic title="Unmerged" value={93} suffix="/ 100" />
</Col>
</Row>
<Card
hoverable
style={{ width: 240 }}
cover={
<img
alt="example"
src="https://os.alipayobjects.com/rmsportal/QBnOOoLaAfKPirc.png"
/>
}
>
<Meta title="Europe Street beat" description="www.instagram.com" />
</Card>
</div>
);
}