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.
 
 

71 line
2.1 KiB

  1. import React from "react";
  2. // react components for routing our app without refresh
  3. import Link from "next/link";
  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 landing from "assets/img/landing.jpg";
  12. import profile from "assets/img/profile.jpg";
  13. import styles from "assets/jss/nextjs-material-kit/pages/componentsSections/exampleStyle.js";
  14. const useStyles = makeStyles(styles);
  15. export default function SectionExamples() {
  16. const classes = useStyles();
  17. return (
  18. <div className={classes.section}>
  19. <div className={classes.container}>
  20. <GridContainer justify="center">
  21. <GridItem xs={12} sm={12} md={6}>
  22. <Link href="/landing">
  23. <a className={classes.link}>
  24. <img
  25. src={landing}
  26. alt="..."
  27. className={
  28. classes.imgRaised +
  29. " " +
  30. classes.imgRounded +
  31. " " +
  32. classes.imgFluid
  33. }
  34. />
  35. <Button color="primary" size="lg" simple>
  36. View landing page
  37. </Button>
  38. </a>
  39. </Link>
  40. </GridItem>
  41. <GridItem xs={12} sm={12} md={6}>
  42. <Link href="/profile">
  43. <a className={classes.link}>
  44. <img
  45. src={profile}
  46. alt="..."
  47. className={
  48. classes.imgRaised +
  49. " " +
  50. classes.imgRounded +
  51. " " +
  52. classes.imgFluid
  53. }
  54. />
  55. <Button color="primary" size="lg" simple>
  56. View profile page
  57. </Button>
  58. </a>
  59. </Link>
  60. </GridItem>
  61. </GridContainer>
  62. </div>
  63. </div>
  64. );
  65. }