25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 

146 satır
6.3 KiB

  1. import React from "react";
  2. // @material-ui/core components
  3. import { makeStyles } from "@material-ui/core/styles";
  4. // @material-ui/icons
  5. import Face from "@material-ui/icons/Face";
  6. import Chat from "@material-ui/icons/Chat";
  7. import Build from "@material-ui/icons/Build";
  8. // core components
  9. import GridContainer from "components/Grid/GridContainer.js";
  10. import GridItem from "components/Grid/GridItem.js";
  11. import CustomTabs from "components/CustomTabs/CustomTabs.js";
  12. import styles from "assets/jss/nextjs-material-kit/pages/componentsSections/tabsStyle.js";
  13. const useStyles = makeStyles(styles);
  14. export default function SectionTabs() {
  15. const classes = useStyles();
  16. return (
  17. <div className={classes.section}>
  18. <div className={classes.container}>
  19. <div id="nav-tabs">
  20. <h3>Navigation Tabs</h3>
  21. <GridContainer>
  22. <GridItem xs={12} sm={12} md={6}>
  23. <h3>
  24. <small>Tabs with Icons on Card</small>
  25. </h3>
  26. <CustomTabs
  27. headerColor="primary"
  28. tabs={[
  29. {
  30. tabName: "Profile",
  31. tabIcon: Face,
  32. tabContent: (
  33. <p className={classes.textCenter}>
  34. I think that’s a responsibility that I have, to push
  35. possibilities, to show people, this is the level that
  36. things could be at. So when you get something that has
  37. the name Kanye West on it, it’s supposed to be pushing
  38. the furthest possibilities. I will be the leader of a
  39. company that ends up being worth billions of dollars,
  40. because I got the answers. I understand culture. I am
  41. the nucleus.
  42. </p>
  43. )
  44. },
  45. {
  46. tabName: "Messages",
  47. tabIcon: Chat,
  48. tabContent: (
  49. <p className={classes.textCenter}>
  50. I think that’s a responsibility that I have, to push
  51. possibilities, to show people, this is the level that
  52. things could be at. I will be the leader of a company
  53. that ends up being worth billions of dollars, because I
  54. got the answers. I understand culture. I am the nucleus.
  55. I think that’s a responsibility that I have, to push
  56. possibilities, to show people, this is the level that
  57. things could be at.
  58. </p>
  59. )
  60. },
  61. {
  62. tabName: "Settings",
  63. tabIcon: Build,
  64. tabContent: (
  65. <p className={classes.textCenter}>
  66. think that’s a responsibility that I have, to push
  67. possibilities, to show people, this is the level that
  68. things could be at. So when you get something that has
  69. the name Kanye West on it, it’s supposed to be pushing
  70. the furthest possibilities. I will be the leader of a
  71. company that ends up being worth billions of dollars,
  72. because I got the answers. I understand culture. I am
  73. the nucleus.
  74. </p>
  75. )
  76. }
  77. ]}
  78. />
  79. </GridItem>
  80. <GridItem xs={12} sm={12} md={6}>
  81. <h3>
  82. <small>Tabs on Plain Card</small>
  83. </h3>
  84. <CustomTabs
  85. plainTabs
  86. headerColor="danger"
  87. tabs={[
  88. {
  89. tabName: "Home",
  90. tabContent: (
  91. <p className={classes.textCenter}>
  92. I think that’s a responsibility that I have, to push
  93. possibilities, to show people, this is the level that
  94. things could be at. So when you get something that has
  95. the name Kanye West on it, it’s supposed to be pushing
  96. the furthest possibilities. I will be the leader of a
  97. company that ends up being worth billions of dollars,
  98. because I got the answers. I understand culture. I am
  99. the nucleus.
  100. </p>
  101. )
  102. },
  103. {
  104. tabName: "Updates",
  105. tabContent: (
  106. <p className={classes.textCenter}>
  107. I think that’s a responsibility that I have, to push
  108. possibilities, to show people, this is the level that
  109. things could be at. I will be the leader of a company
  110. that ends up being worth billions of dollars, because I
  111. got the answers. I understand culture. I am the nucleus.
  112. I think that’s a responsibility that I have, to push
  113. possibilities, to show people, this is the level that
  114. things could be at.
  115. </p>
  116. )
  117. },
  118. {
  119. tabName: "History",
  120. tabContent: (
  121. <p className={classes.textCenter}>
  122. think that’s a responsibility that I have, to push
  123. possibilities, to show people, this is the level that
  124. things could be at. So when you get something that has
  125. the name Kanye West on it, it’s supposed to be pushing
  126. the furthest possibilities. I will be the leader of a
  127. company that ends up being worth billions of dollars,
  128. because I got the answers. I understand culture. I am
  129. the nucleus.
  130. </p>
  131. )
  132. }
  133. ]}
  134. />
  135. </GridItem>
  136. </GridContainer>
  137. </div>
  138. </div>
  139. </div>
  140. );
  141. }