Skip to content

Instantly share code, notes, and snippets.

@ernestofreyreg
Last active August 10, 2021 14:19
Show Gist options
  • Save ernestofreyreg/c95955d2f2db786d5dd626a6cf9ed1fa to your computer and use it in GitHub Desktop.
Save ernestofreyreg/c95955d2f2db786d5dd626a6cf9ed1fa to your computer and use it in GitHub Desktop.
import * as React from 'react'
import { NextPage } from 'next'
import { Box, Button, Container, Grid, Typography } from '@material-ui/core'
import MailOutlineIcon from '@material-ui/icons/MailOutline'
const IndexPage: NextPage = () => {
return (
<Container maxWidth='lg'>
<Box py={3}>
<Grid container>
<Grid item xs={12} md={6}>
<Typography variant='h2'>My SaaS App</Typography>
<Typography variant='subtitle1'>This is the subtitle</Typography>
</Grid>
<Grid item xs={12} md={6}>
<Button variant='contained' color='primary' endIcon={<MailOutlineIcon />}>
Subscribe for updates
</Button>
</Grid>
</Grid>
</Box>
</Container>
)
}
export default IndexPage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment