index.tsx 1007 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. import { FunctionComponent } from 'react'
  2. import { AdminPage } from '../../src/app'
  3. import TileContainer from '../../src/app/components/TileContainer'
  4. import Tile from '../../src/app/components/Tile'
  5. import {
  6. faCube,
  7. faCubes,
  8. faDumbbell,
  9. faRunning,
  10. faWalking,
  11. } from '@fortawesome/free-solid-svg-icons'
  12. import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
  13. const AdminOverview: FunctionComponent = () => {
  14. return (
  15. <AdminPage>
  16. <TileContainer>
  17. <Tile>
  18. <h2>
  19. Trainings
  20. <span className='icon'>
  21. <FontAwesomeIcon icon={faRunning} height='1em' />
  22. </span>
  23. </h2>
  24. <p>
  25. <span className='count'>4</span> Trainings
  26. </p>
  27. <p>
  28. <span className='count'>10</span> Blocks
  29. </p>
  30. <p>
  31. <span className='count'>6</span> Exercises
  32. </p>
  33. </Tile>
  34. </TileContainer>
  35. </AdminPage>
  36. )
  37. }
  38. export default AdminOverview