選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

203 行
7.8 KiB

  1. import React from "react";
  2. // @material-ui/core components
  3. import { makeStyles } from "@material-ui/core/styles";
  4. // @material-ui/icons
  5. // core components
  6. import GridContainer from "components/Grid/GridContainer.js";
  7. import GridItem from "components/Grid/GridItem.js";
  8. import Small from "components/Typography/Small.js";
  9. import Danger from "components/Typography/Danger.js";
  10. import Warning from "components/Typography/Warning.js";
  11. import Success from "components/Typography/Success.js";
  12. import Info from "components/Typography/Info.js";
  13. import Primary from "components/Typography/Primary.js";
  14. import Muted from "components/Typography/Muted.js";
  15. import Quote from "components/Typography/Quote.js";
  16. import image from "assets/img/faces/avatar.jpg";
  17. import styles from "assets/jss/nextjs-material-kit/pages/componentsSections/typographyStyle.js";
  18. const useStyles = makeStyles(styles);
  19. export default function SectionTypography() {
  20. const classes = useStyles();
  21. return (
  22. <div className={classes.section}>
  23. <div className={classes.container}>
  24. <div id="typography">
  25. <div className={classes.title}>
  26. <h2>Typography</h2>
  27. </div>
  28. <GridContainer>
  29. <div className={classes.typo}>
  30. <div className={classes.note}>Header 1</div>
  31. <h1>The Life of Material Kit</h1>
  32. </div>
  33. <div className={classes.typo}>
  34. <div className={classes.note}>Header 2</div>
  35. <h2>The Life of Material Kit</h2>
  36. </div>
  37. <div className={classes.typo}>
  38. <div className={classes.note}>Header 3</div>
  39. <h3>The Life of Material Kit</h3>
  40. </div>
  41. <div className={classes.typo}>
  42. <div className={classes.note}>Header 4</div>
  43. <h4>The Life of Material Kit</h4>
  44. </div>
  45. <div className={classes.typo}>
  46. <div className={classes.note}>Header 5</div>
  47. <h5>The Life of Material Kit</h5>
  48. </div>
  49. <div className={classes.typo}>
  50. <div className={classes.note}>Header 6</div>
  51. <h6>The Life of Material Kit</h6>
  52. </div>
  53. <div className={classes.typo}>
  54. <div className={classes.note}>Header 1</div>
  55. <h1 className={classes.title}>The Life of Material Kit</h1>
  56. </div>
  57. <div className={classes.typo}>
  58. <div className={classes.note}>Header 2</div>
  59. <h2 className={classes.title}>The Life of Material Kit</h2>
  60. </div>
  61. <div className={classes.typo}>
  62. <div className={classes.note}>Header 3</div>
  63. <h3 className={classes.title}>The Life of Material Kit</h3>
  64. </div>
  65. <div className={classes.typo}>
  66. <div className={classes.note}>Header 4</div>
  67. <h4 className={classes.title}>The Life of Material Kit</h4>
  68. </div>
  69. <div className={classes.typo}>
  70. <div className={classes.note}>Paragraph</div>
  71. <p>
  72. I will be the leader of a company that ends up being worth
  73. billions of dollars, because I got the answers. I understand
  74. culture. I am the nucleus. I think that’s a responsibility that
  75. I have, to push possibilities, to show people, this is the level
  76. that things could be at.
  77. </p>
  78. </div>
  79. <div className={classes.typo}>
  80. <div className={classes.note}>Quote</div>
  81. <Quote
  82. 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."
  83. author=" Kanye West, Musician"
  84. />
  85. </div>
  86. <div className={classes.typo}>
  87. <div className={classes.note}>Muted Text</div>
  88. <Muted>
  89. I will be the leader of a company that ends up being worth
  90. billions of dollars, because I got the answers...
  91. </Muted>
  92. </div>
  93. <div className={classes.typo}>
  94. <div className={classes.note}>Primary Text</div>
  95. <Primary>
  96. I will be the leader of a company that ends up being worth
  97. billions of dollars, because I got the answers...
  98. </Primary>
  99. </div>
  100. <div className={classes.typo}>
  101. <div className={classes.note}>Info Text</div>
  102. <Info>
  103. I will be the leader of a company that ends up being worth
  104. billions of dollars, because I got the answers...
  105. </Info>
  106. </div>
  107. <div className={classes.typo}>
  108. <div className={classes.note}>Success Text</div>
  109. <Success>
  110. I will be the leader of a company that ends up being worth
  111. billions of dollars, because I got the answers...
  112. </Success>
  113. </div>
  114. <div className={classes.typo}>
  115. <div className={classes.note}>Warning Text</div>
  116. <Warning>
  117. I will be the leader of a company that ends up being worth
  118. billions of dollars, because I got the answers...
  119. </Warning>
  120. </div>
  121. <div className={classes.typo}>
  122. <div className={classes.note}>Danger Text</div>
  123. <Danger>
  124. I will be the leader of a company that ends up being worth
  125. billions of dollars, because I got the answers...
  126. </Danger>
  127. </div>
  128. <div className={classes.typo}>
  129. <div className={classes.note}>Small Tag</div>
  130. <h2>
  131. Header with small subtitle
  132. <br />
  133. <Small>Use {'"Small"'} tag for the headers</Small>
  134. </h2>
  135. </div>
  136. </GridContainer>
  137. </div>
  138. <div className={classes.space50} />
  139. <div id="images">
  140. <div className={classes.title}>
  141. <h2>Images</h2>
  142. </div>
  143. <br />
  144. <GridContainer>
  145. <GridItem xs={12} sm={2}>
  146. <h4>Rounded Image</h4>
  147. <img
  148. src={image}
  149. alt="..."
  150. className={classes.imgRounded + " " + classes.imgFluid}
  151. />
  152. </GridItem>
  153. <GridItem xs={12} sm={2} className={classes.marginLeft}>
  154. <h4>Circle Image</h4>
  155. <img
  156. src={image}
  157. alt="..."
  158. className={classes.imgRoundedCircle + " " + classes.imgFluid}
  159. />
  160. </GridItem>
  161. <GridItem xs={12} sm={2} className={classes.marginLeft}>
  162. <h4>Rounded Raised</h4>
  163. <img
  164. src={image}
  165. alt="..."
  166. className={
  167. classes.imgRaised +
  168. " " +
  169. classes.imgRounded +
  170. " " +
  171. classes.imgFluid
  172. }
  173. />
  174. </GridItem>
  175. <GridItem xs={12} sm={2} className={classes.marginLeft}>
  176. <h4>Circle Raised</h4>
  177. <img
  178. src={image}
  179. alt="..."
  180. className={
  181. classes.imgRaised +
  182. " " +
  183. classes.imgRoundedCircle +
  184. " " +
  185. classes.imgFluid
  186. }
  187. />
  188. </GridItem>
  189. </GridContainer>
  190. <GridContainer />
  191. </div>
  192. <div className={classes.space50} />
  193. </div>
  194. </div>
  195. );
  196. }