diff --git a/Client/src/App.jsx b/Client/src/App.jsx index 519f2fc59..51f7b01e4 100644 --- a/Client/src/App.jsx +++ b/Client/src/App.jsx @@ -1,7 +1,11 @@ +import PlayGroundCharts from "./screens/PlayGround/PlayGround-Charts"; + function App() { return ( <> -
+
+ +
); } diff --git a/Client/src/components/Charts/Statistics/Statistic.jsx b/Client/src/components/Charts/Statistics/Statistic.jsx new file mode 100644 index 000000000..8d0775866 --- /dev/null +++ b/Client/src/components/Charts/Statistics/Statistic.jsx @@ -0,0 +1,13 @@ +import React from "react"; +import "./statistic.css"; + +function Statistic({ title, value }) { + return ( +
+
{title}
+
{value}
+
+ ); +} + +export default Statistic; diff --git a/Client/src/components/Charts/Statistics/statistic.css b/Client/src/components/Charts/Statistics/statistic.css new file mode 100644 index 000000000..ce1e4dc41 --- /dev/null +++ b/Client/src/components/Charts/Statistics/statistic.css @@ -0,0 +1,33 @@ +:root { + --spacing-general-0: 5px 10px; + --color-border-0: #eaecf0; + --border-radius-0: 4px; + --font-size-0: 1rem; + --font-size-1: 13px; + --font-family-0: "Roboto", "Helvetica", "Arial", sans-serif; + --font-color-0: #344054; + --margin-bottom-0: 10px; +} + +.statistic-tile { + margin: var(--spacing-general-0); + padding: var(--spacing-general-0); + border: 1px solid var(--color-border-0); + border-radius: var(--border-radius-0); + + width: 180px; +} + +.statistic-tile-title { + font-size: var(--font-size-0); + font-family: var(--font-family-0); + color: var(--font-color-0); + margin-bottom: var(--margin-bottom-0); +} + +.statistic-tile-value { + font-size: var(--font-size-1); + font-family: var(--font-family-0); + font-weight: 500; + margin-bottom: var(--margin-bottom-0); +} diff --git a/Client/src/screens/PlayGround/PlayGround-Charts.jsx b/Client/src/screens/PlayGround/PlayGround-Charts.jsx new file mode 100644 index 000000000..7c975829d --- /dev/null +++ b/Client/src/screens/PlayGround/PlayGround-Charts.jsx @@ -0,0 +1,18 @@ +import React from "react"; +import "./playGround.css"; +import Statistic from "../../components/Charts/Statistics/Statistic"; + +function PlayGroundCharts() { + return ( + <> +
+ + + + +
+ + ); +} + +export default PlayGroundCharts; diff --git a/Client/src/screens/PlayGround/playGround.css b/Client/src/screens/PlayGround/playGround.css new file mode 100644 index 000000000..0dac2ae31 --- /dev/null +++ b/Client/src/screens/PlayGround/playGround.css @@ -0,0 +1,3 @@ +.play-ground-charts { + display: flex; +}