diff --git a/src/pages/MonthlyStats.js b/src/pages/MonthlyStats.js index 631885e..314ea21 100644 --- a/src/pages/MonthlyStats.js +++ b/src/pages/MonthlyStats.js @@ -2,12 +2,19 @@ import React, { useState } from 'react'; import MonthlyFactoids from '../components/MonthlyFactoids'; import MonthlyGraphs from '../components/MonthlyGraphs'; import MonthlyOrchestrators from '../components/MonthlyOrchestrators'; - -import { Pagination } from "@mantine/core"; +import { RadioGroup, Radio } from "@mantine/core"; const MonthlyStats = (obj) => { const [activePage, setPage] = useState(1); - const totalPages = 3; + + let thisColour; + if (activePage == 1){ + thisColour = "teal"; + } else if (activePage == 2){ + thisColour = "indigo"; + } else if (activePage == 3){ + thisColour = "red"; + } return (
@@ -44,7 +51,18 @@ const MonthlyStats = (obj) => { }
- + + + + +