Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

164 рядки
6.0 KiB

  1. import React from "react";
  2. // nodejs library that concatenates classes
  3. import classNames from "classnames";
  4. // @material-ui/core components
  5. import { makeStyles } from "@material-ui/core/styles";
  6. // @material-ui/icons
  7. // core components
  8. import GridContainer from "components/Grid/GridContainer.js";
  9. import GridItem from "components/Grid/GridItem.js";
  10. import Button from "components/CustomButtons/Button.js";
  11. import Card from "components/Card/Card.js";
  12. import CardBody from "components/Card/CardBody.js";
  13. import CardFooter from "components/Card/CardFooter.js";
  14. import styles from "assets/jss/nextjs-material-kit/pages/landingPageSections/teamStyle.js";
  15. import team1 from "assets/img/faces/avatar.jpg";
  16. import team2 from "assets/img/faces/christian.jpg";
  17. import team3 from "assets/img/faces/kendall.jpg";
  18. const useStyles = makeStyles(styles);
  19. export default function TeamSection() {
  20. const classes = useStyles();
  21. const imageClasses = classNames(
  22. classes.imgRaised,
  23. classes.imgRoundedCircle,
  24. classes.imgFluid
  25. );
  26. return (
  27. <div className={classes.section}>
  28. <h2 className={classes.title}>Here is our team</h2>
  29. <div>
  30. <GridContainer>
  31. <GridItem xs={12} sm={12} md={4}>
  32. <Card plain>
  33. <GridItem xs={12} sm={12} md={6} className={classes.itemGrid}>
  34. <img src={team1} alt="..." className={imageClasses} />
  35. </GridItem>
  36. <h4 className={classes.cardTitle}>
  37. Gigi Hadid
  38. <br />
  39. <small className={classes.smallTitle}>Model</small>
  40. </h4>
  41. <CardBody>
  42. <p className={classes.description}>
  43. You can write here details about one of your team members. You
  44. can give more details about what they do. Feel free to add
  45. some <a href="#pablo">links</a> for people to be able to
  46. follow them outside the site.
  47. </p>
  48. </CardBody>
  49. <CardFooter className={classes.justifyCenter}>
  50. <Button
  51. justIcon
  52. color="transparent"
  53. className={classes.margin5}
  54. >
  55. <i className={classes.socials + " fab fa-twitter"} />
  56. </Button>
  57. <Button
  58. justIcon
  59. color="transparent"
  60. className={classes.margin5}
  61. >
  62. <i className={classes.socials + " fab fa-instagram"} />
  63. </Button>
  64. <Button
  65. justIcon
  66. color="transparent"
  67. className={classes.margin5}
  68. >
  69. <i className={classes.socials + " fab fa-facebook"} />
  70. </Button>
  71. </CardFooter>
  72. </Card>
  73. </GridItem>
  74. <GridItem xs={12} sm={12} md={4}>
  75. <Card plain>
  76. <GridItem xs={12} sm={12} md={6} className={classes.itemGrid}>
  77. <img src={team2} alt="..." className={imageClasses} />
  78. </GridItem>
  79. <h4 className={classes.cardTitle}>
  80. Christian Louboutin
  81. <br />
  82. <small className={classes.smallTitle}>Designer</small>
  83. </h4>
  84. <CardBody>
  85. <p className={classes.description}>
  86. You can write here details about one of your team members. You
  87. can give more details about what they do. Feel free to add
  88. some <a href="#pablo">links</a> for people to be able to
  89. follow them outside the site.
  90. </p>
  91. </CardBody>
  92. <CardFooter className={classes.justifyCenter}>
  93. <Button
  94. justIcon
  95. color="transparent"
  96. className={classes.margin5}
  97. >
  98. <i className={classes.socials + " fab fa-twitter"} />
  99. </Button>
  100. <Button
  101. justIcon
  102. color="transparent"
  103. className={classes.margin5}
  104. >
  105. <i className={classes.socials + " fab fa-linkedin"} />
  106. </Button>
  107. </CardFooter>
  108. </Card>
  109. </GridItem>
  110. <GridItem xs={12} sm={12} md={4}>
  111. <Card plain>
  112. <GridItem xs={12} sm={12} md={6} className={classes.itemGrid}>
  113. <img src={team3} alt="..." className={imageClasses} />
  114. </GridItem>
  115. <h4 className={classes.cardTitle}>
  116. Kendall Jenner
  117. <br />
  118. <small className={classes.smallTitle}>Model</small>
  119. </h4>
  120. <CardBody>
  121. <p className={classes.description}>
  122. You can write here details about one of your team members. You
  123. can give more details about what they do. Feel free to add
  124. some <a href="#pablo">links</a> for people to be able to
  125. follow them outside the site.
  126. </p>
  127. </CardBody>
  128. <CardFooter className={classes.justifyCenter}>
  129. <Button
  130. justIcon
  131. color="transparent"
  132. className={classes.margin5}
  133. >
  134. <i className={classes.socials + " fab fa-twitter"} />
  135. </Button>
  136. <Button
  137. justIcon
  138. color="transparent"
  139. className={classes.margin5}
  140. >
  141. <i className={classes.socials + " fab fa-instagram"} />
  142. </Button>
  143. <Button
  144. justIcon
  145. color="transparent"
  146. className={classes.margin5}
  147. >
  148. <i className={classes.socials + " fab fa-facebook"} />
  149. </Button>
  150. </CardFooter>
  151. </Card>
  152. </GridItem>
  153. </GridContainer>
  154. </div>
  155. </div>
  156. );
  157. }