index.jsx 972 B

1234567891011121314151617181920212223242526272829
  1. // styling
  2. import styles from './styles.module.scss';
  3. // components
  4. import Spring from '@components/Spring';
  5. import AnimatedCount from '@components/AnimatedCount';
  6. // hooks
  7. import {useThemeProvider} from '@contexts/themeContext';
  8. const Attendance = () => {
  9. const {theme} = useThemeProvider();
  10. return (
  11. <Spring className="card h-1 d-flex flex-column justify-content-between g-12 p-relative">
  12. <div className="card_header d-flex flex-column p-relative z-2">
  13. <AnimatedCount className="h2 text-20" count={82754} separator="."/>
  14. <span className="text-12 text-overflow">Today attendance</span>
  15. </div>
  16. <div className={`${styles.media} ${styles[theme]}`}/>
  17. <div className="card_footer p-relative z-2">
  18. <h3>Santiago Bernabéu Stadium</h3>
  19. <span className="text-12">Mardid</span>
  20. </div>
  21. </Spring>
  22. )
  23. }
  24. export default Attendance