UNPKG

next-material-kit

Version:

NextJS Version of Material Kit React by Creative Tim (https://creative-tim.com)

201 lines (195 loc) 8 kB
import React from "react"; // @material-ui/core components import { makeStyles } from "@material-ui/core/styles"; // @material-ui/icons // core components import GridContainer from "components/Grid/GridContainer.js"; import GridItem from "components/Grid/GridItem.js"; import Small from "components/Typography/Small.js"; import Danger from "components/Typography/Danger.js"; import Warning from "components/Typography/Warning.js"; import Success from "components/Typography/Success.js"; import Info from "components/Typography/Info.js"; import Primary from "components/Typography/Primary.js"; import Muted from "components/Typography/Muted.js"; import Quote from "components/Typography/Quote.js"; import styles from "styles/jss/nextjs-material-kit/pages/componentsSections/typographyStyle.js"; const useStyles = makeStyles(styles); export default function SectionTypography() { const classes = useStyles(); return ( <div className={classes.section}> <div className={classes.container}> <div id="typography"> <div className={classes.title}> <h2>Typography</h2> </div> <GridContainer> <div className={classes.typo}> <div className={classes.note}>Header 1</div> <h1>The Life of Material Kit</h1> </div> <div className={classes.typo}> <div className={classes.note}>Header 2</div> <h2>The Life of Material Kit</h2> </div> <div className={classes.typo}> <div className={classes.note}>Header 3</div> <h3>The Life of Material Kit</h3> </div> <div className={classes.typo}> <div className={classes.note}>Header 4</div> <h4>The Life of Material Kit</h4> </div> <div className={classes.typo}> <div className={classes.note}>Header 5</div> <h5>The Life of Material Kit</h5> </div> <div className={classes.typo}> <div className={classes.note}>Header 6</div> <h6>The Life of Material Kit</h6> </div> <div className={classes.typo}> <div className={classes.note}>Header 1</div> <h1 className={classes.title}>The Life of Material Kit</h1> </div> <div className={classes.typo}> <div className={classes.note}>Header 2</div> <h2 className={classes.title}>The Life of Material Kit</h2> </div> <div className={classes.typo}> <div className={classes.note}>Header 3</div> <h3 className={classes.title}>The Life of Material Kit</h3> </div> <div className={classes.typo}> <div className={classes.note}>Header 4</div> <h4 className={classes.title}>The Life of Material Kit</h4> </div> <div className={classes.typo}> <div className={classes.note}>Paragraph</div> <p> I will be the leader of a company that ends up being worth billions of dollars, because I got the answers. I understand culture. I am the nucleus. I think that’s a responsibility that I have, to push possibilities, to show people, this is the level that things could be at. </p> </div> <div className={classes.typo}> <div className={classes.note}>Quote</div> <Quote text="I will be the leader of a company that ends up being worth billions of dollars, because I got the answers. I understand culture. I am the nucleus. I think that’s a responsibility that I have, to push possibilities, to show people, this is the level that things could be at." author=" Kanye West, Musician" /> </div> <div className={classes.typo}> <div className={classes.note}>Muted Text</div> <Muted> I will be the leader of a company that ends up being worth billions of dollars, because I got the answers... </Muted> </div> <div className={classes.typo}> <div className={classes.note}>Primary Text</div> <Primary> I will be the leader of a company that ends up being worth billions of dollars, because I got the answers... </Primary> </div> <div className={classes.typo}> <div className={classes.note}>Info Text</div> <Info> I will be the leader of a company that ends up being worth billions of dollars, because I got the answers... </Info> </div> <div className={classes.typo}> <div className={classes.note}>Success Text</div> <Success> I will be the leader of a company that ends up being worth billions of dollars, because I got the answers... </Success> </div> <div className={classes.typo}> <div className={classes.note}>Warning Text</div> <Warning> I will be the leader of a company that ends up being worth billions of dollars, because I got the answers... </Warning> </div> <div className={classes.typo}> <div className={classes.note}>Danger Text</div> <Danger> I will be the leader of a company that ends up being worth billions of dollars, because I got the answers... </Danger> </div> <div className={classes.typo}> <div className={classes.note}>Small Tag</div> <h2> Header with small subtitle <br /> <Small>Use {'"Small"'} tag for the headers</Small> </h2> </div> </GridContainer> </div> <div className={classes.space50} /> <div id="images"> <div className={classes.title}> <h2>Images</h2> </div> <br /> <GridContainer> <GridItem xs={12} sm={2}> <h4>Rounded Image</h4> <img src="/img/faces/avatar.jpg" alt="..." className={classes.imgRounded + " " + classes.imgFluid} /> </GridItem> <GridItem xs={12} sm={2} className={classes.marginLeft}> <h4>Circle Image</h4> <img src="/img/faces/avatar.jpg" alt="..." className={classes.imgRoundedCircle + " " + classes.imgFluid} /> </GridItem> <GridItem xs={12} sm={2} className={classes.marginLeft}> <h4>Rounded Raised</h4> <img src="/img/faces/avatar.jpg" alt="..." className={ classes.imgRaised + " " + classes.imgRounded + " " + classes.imgFluid } /> </GridItem> <GridItem xs={12} sm={2} className={classes.marginLeft}> <h4>Circle Raised</h4> <img src="/img/faces/avatar.jpg" alt="..." className={ classes.imgRaised + " " + classes.imgRoundedCircle + " " + classes.imgFluid } /> </GridItem> </GridContainer> <GridContainer /> </div> <div className={classes.space50} /> </div> </div> ); }