Inicio.jsx 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. import React from "react";
  2. import { Col, Row, Typography, Card, Statistic } from "antd";
  3. import { FileExclamationOutlined, FileUnknownOutlined, FormOutlined, ScheduleOutlined } from "@ant-design/icons";
  4. import { PiFoldersBold } from "react-icons/pi"
  5. import { DefaultLayout } from "../../components/layouts";
  6. const Inicio = () => {
  7. const { Title } = Typography;
  8. return (
  9. <DefaultLayout>
  10. <Row gutter={10}>
  11. <Title level={3}>
  12. Inicio
  13. </Title>
  14. </Row>
  15. <Row gutter={[10, 10]}>
  16. <Col span={8}>
  17. <Card
  18. hoverable={true}
  19. style={{ cursor: 'pointer' }}
  20. onClick={() => {}}
  21. >
  22. <Statistic
  23. value=''
  24. prefix={<FormOutlined />}
  25. />
  26. </Card>
  27. </Col>
  28. <Col span={8}>
  29. <Card
  30. hoverable={true}
  31. style={{ cursor: 'pointer' }}
  32. >
  33. <Statistic
  34. value=''
  35. prefix={<FileExclamationOutlined />}
  36. />
  37. </Card>
  38. </Col>
  39. <Col span={8}>
  40. <Card
  41. hoverable={true}
  42. style={{ cursor: 'pointer' }}
  43. onClick={() => {}}
  44. >
  45. <Statistic
  46. value=''
  47. prefix={<ScheduleOutlined />}
  48. />
  49. </Card>
  50. </Col>
  51. <Col span={8}>
  52. <Card
  53. hoverable={true}
  54. style={{ cursor: 'pointer' }}
  55. >
  56. <Statistic
  57. value=''
  58. prefix={<ScheduleOutlined />}
  59. />
  60. </Card>
  61. </Col>
  62. <Col span={8}>
  63. <Card
  64. hoverable={true}
  65. style={{ cursor: 'pointer' }}
  66. >
  67. <Statistic
  68. value=''
  69. prefix={<PiFoldersBold />}
  70. />
  71. </Card>
  72. </Col>
  73. <Col span={8}>
  74. <Card
  75. hoverable={true}
  76. style={{ cursor: 'pointer' }}
  77. >
  78. <Statistic
  79. value=''
  80. prefix={<FileUnknownOutlined />}
  81. />
  82. </Card>
  83. </Col>
  84. </Row>
  85. </DefaultLayout>
  86. );
  87. };
  88. export default Inicio;