You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

193 line
7.6 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. import Dashboard from "@material-ui/icons/Dashboard";
  8. import LocalGroceryStoreIcon from "@material-ui/icons/LocalGroceryStore";
  9. // Component
  10. import GridContainer from "components/Grid/GridContainer.js";
  11. import Grid from '@material-ui/core/Grid';
  12. import GridItem from "components/Grid/GridItem.js";
  13. import NavPills from "components/NavPills/NavPills.js";
  14. import Card from "components/Card/Card.js";
  15. import CardBody from "components/Card/CardBody.js";
  16. import CardHeader from "components/Card/CardHeader.js";
  17. import CardFooter from "components/Card/CardFooter.js";
  18. import Button from "components/CustomButtons/Button.js";
  19. import styles from "assets/jss/nextjs-material-kit/pages/profilePage.js";
  20. import Carousel from "react-slick";
  21. import Paper from '@material-ui/core/Paper';
  22. import image1 from "assets/img/bg.jpg";
  23. import image2 from "assets/img/bg2.png";
  24. import image3 from "assets/img/bg3.jpg";
  25. const useStyles = makeStyles(styles);
  26. export default function ProfilePage(props) {
  27. const classes = useStyles();
  28. const settings = {
  29. dots: true,
  30. infinite: true,
  31. speed: 500,
  32. slidesToShow: 1,
  33. slidesToScroll: 1,
  34. autoplay: false
  35. };
  36. const navImageClasses = classNames(classes.imgRounded, classes.imgGallery);
  37. return (
  38. <Card className={classes.textCenter}>
  39. <div align="center">
  40. <CardHeader color="info">Product Detail</CardHeader>
  41. </div>
  42. <CardBody>
  43. <GridContainer justify="center">
  44. <Grid align="center" className={classes.marginAuto}>
  45. <div className={classes.section}>
  46. <div className={classes.container}>
  47. <Card carousel style={{width:"700px", height:"400px"}}>
  48. <Carousel {...settings}>
  49. <div>
  50. <img src="https://www.yamaha-motor.co.id/uploads/products/2020020510350637523I93808.png" width="300px" height="400px" alt="First slide" className="slick-image" />
  51. </div>
  52. <div>
  53. <img src={image2} alt="Second slide" className="slick-image"/>
  54. </div>
  55. <div>
  56. <img src={image3} alt="Third slide" className="slick-image" />
  57. </div>
  58. </Carousel>
  59. </Card>
  60. </div>
  61. </div>
  62. </Grid>
  63. <Grid style={{padding:"40px", marginTop:"-30px"}}>
  64. <h3>ALL NEW NMAX STANDART VERSION</h3>
  65. <h3>Rp.37.692.000,00</h3>
  66. <hr></hr>
  67. <GridContainer justify="center">
  68. <Grid className={classes.marginAuto} style={{padding:"10px", marginTop:"-30px"}}>
  69. <Card className={classes.marginAuto} style={{height: "125px", width: "125px"}}>
  70. <img src="https://www.yamaha-motor.co.id/uploads/products/2zTfxFltlPOYe5sMFapR-BLUE-CORE-color.png"
  71. />
  72. </Card>
  73. </Grid>
  74. <Grid className={classes.marginAuto} style={{padding:"10px", marginTop:"-30px"}}>
  75. <Card className={classes.marginAuto} style={{height: "125px", width: "125px"}}>
  76. <img src="https://www.yamaha-motor.co.id/uploads/products/3JWFNLBpLj2ff7JgaSEC-VVA1.png"
  77. />
  78. </Card>
  79. </Grid>
  80. <Grid className={classes.marginAuto} style={{padding:"10px", marginTop:"-30px"}}>
  81. <Card className={classes.marginAuto} style={{height: "125px", width: "125px"}}>
  82. <img src="https://www.yamaha-motor.co.id/uploads/products/ku13WjySzEsj6LarGvlb-155-CC.png"
  83. />
  84. </Card>
  85. </Grid>
  86. </GridContainer>
  87. <GridContainer justify="center">
  88. <Grid className={classes.marginAuto} style={{padding:"10px", marginTop:"-50px"}}>
  89. <Card className={classes.marginAuto} style={{height: "125px", width: "125px"}}>
  90. <img src="https://www.yamaha-motor.co.id/uploads/products/20200402085616smc40j.png"
  91. />
  92. </Card>
  93. </Grid>
  94. <Grid className={classes.marginAuto} style={{padding:"10px", marginTop:"-50px"}}>
  95. <Card className={classes.marginAuto} style={{height: "125px", width: "125px"}}>
  96. <img src="https://www.yamaha-motor.co.id/uploads/products/amoV2O00jXseztcZ8ilV-smg.png"
  97. />
  98. </Card>
  99. </Grid>
  100. <Grid className={classes.marginAuto} style={{padding:"10px", marginTop:"-50px"}}>
  101. <Card className={classes.marginAuto} style={{height: "125px", width: "125px"}}>
  102. <img src="https://www.yamaha-motor.co.id/uploads/products/201912031806276ll9i9.png"
  103. />
  104. </Card>
  105. </Grid>
  106. </GridContainer>
  107. </Grid>
  108. </GridContainer>
  109. <GridContainer style={{marginTop:"-80px"}}>
  110. <GridItem>
  111. <NavPills
  112. color="primary"
  113. tabs={[
  114. {
  115. tabButton: "Overview",
  116. tabIcon: Dashboard,
  117. tabContent: (
  118. <GridContainer justify="center">
  119. <GridItem>
  120. </GridItem>
  121. </GridContainer>
  122. ),
  123. },
  124. {
  125. tabButton: "Specification",
  126. tabIcon: Dashboard,
  127. tabContent: (
  128. <GridContainer justify="center">
  129. <GridItem>
  130. </GridItem>
  131. </GridContainer>
  132. ),
  133. },
  134. {
  135. tabButton: "Accessories",
  136. tabIcon: Dashboard,
  137. tabContent: (
  138. <GridContainer justify="center">
  139. <GridItem>
  140. </GridItem>
  141. </GridContainer>
  142. ),
  143. },
  144. {
  145. tabButton: "Film",
  146. tabIcon: Dashboard,
  147. tabContent: (
  148. <GridContainer justify="center">
  149. <GridItem>
  150. </GridItem>
  151. </GridContainer>
  152. ),
  153. },
  154. {
  155. tabButton: "Credit Simulation",
  156. tabIcon: Dashboard,
  157. tabContent: (
  158. <GridContainer justify="center">
  159. <GridItem>
  160. </GridItem>
  161. </GridContainer>
  162. ),
  163. },
  164. {
  165. tabButton: "Test Drive",
  166. tabIcon: Dashboard,
  167. tabContent: (
  168. <GridContainer justify="center">
  169. <GridItem>
  170. </GridItem>
  171. </GridContainer>
  172. ),
  173. },
  174. ]}
  175. />
  176. </GridItem>
  177. </GridContainer>
  178. </CardBody>
  179. <CardFooter className={classes.textMuted} textAlign="center">
  180. © 2020 , All Right Reserved by @Thamrin Brother Company
  181. </CardFooter>
  182. </Card>
  183. );
  184. }