mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
### What? We can use codspeed for profiling the build performance, considering that these apps are very small. ### Why? We need an e2e benchmark.
33 lines
714 B
TypeScript
33 lines
714 B
TypeScript
import * as React from 'react'
|
|
import { Container, Typography, Box, Link } from '@mui/joy'
|
|
import ProTip from './ProTip'
|
|
|
|
function Copyright() {
|
|
return (
|
|
<Typography
|
|
textAlign="center"
|
|
sx={{
|
|
color: 'text.secondary',
|
|
}}
|
|
>
|
|
{'Copyright © '}
|
|
<Link href="https://mui.com/">Your Website</Link>{' '}
|
|
{new Date().getFullYear()}.
|
|
</Typography>
|
|
)
|
|
}
|
|
|
|
export default function App() {
|
|
return (
|
|
<Container maxWidth="sm">
|
|
<Box sx={{ my: 4 }}>
|
|
<Typography level="h4" component="h1" sx={{ mb: 2 }}>
|
|
Material UI Vite.js example in TypeScript
|
|
</Typography>
|
|
<ProTip />
|
|
<Copyright />
|
|
</Box>
|
|
</Container>
|
|
)
|
|
}
|