import React, { useState, useContext } from 'react'; import Collapse from '@material-ui/core/Collapse'; import { ReactComponent as Expand } from '../assets/expand.svg'; import { Course, Group, GroupType } from '../types/index'; import { coursesContext } from '../contexts/CoursesProvider'; import styled, { css } from 'styled-components'; import { makeStyles } from '@material-ui/core/styles'; import DeleteIcon from '@material-ui/icons/Delete'; import { useMemo } from 'react'; import { dayMapping } from '../constants'; const StatisticsWrapper = styled.div` display: flex; flex-direction: column; width: 100%; justify-content: center; align-items: center; `; const Row = styled.div` display: flex; width: 100%; justify-content: center; align-items: center; `; const StatisticBox = styled.div` background-color:white; width: 200px; height: 200px; margin: 10px; border: 1px solid #000000; border-radius: 38px; display: flex; flex-direction: column; justify-content: space-around; align-items: center; font-size: 22px; padding:2px; box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.75); `; const StatisticNumber = styled.p` font-size: 52px; margin-top: 40px; margin-bottom:0px; `; const StatisticText = styled.p` font-size: 18px; text-align:center; align-items:center; justify-content:center; `; export const Statistics = () => { return ( 65 Utworzonych grup {' '} 280 Zapisanych studentów do grup {' '} 24 Studentów niezapisanych do żadnej grupy {' '} 150 Studentów z zaakceptowanym planem {' '} 130 Studentów bez zaakceptowanego pełengo planu {' '} 0 Zamkniętych grup ); };