-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.tsx
More file actions
30 lines (27 loc) · 993 Bytes
/
index.tsx
File metadata and controls
30 lines (27 loc) · 993 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import { Card, CardContent, CardActions, Button, Stack } from "@mui/material";
import type { NextPage } from "next";
const Home: NextPage = () => {
return (
<>
<h1 className="text-6xl font-bold">Welcome!</h1>
<Card className="bg-secondary mt-12 w-full max-w-md text-left">
<CardContent>
<div className="font-bold text-primary">Primary</div>
<div className="text-secondary">Secondary</div>
<div className="text-success">Success</div>
<div className="text-warning">Warning</div>
<div className="text-error">Error</div>
<div className="text-info">Info</div>
</CardContent>
<CardActions>
<Stack spacing={2} direction="row">
<Button variant="text">Text</Button>
<Button variant="contained">Contained</Button>
<Button variant="outlined">Outlined</Button>
</Stack>
</CardActions>
</Card>
</>
);
};
export default Home;