From f926fa8f5bb0e6e21bf5e71469b56dc81bd666d1 Mon Sep 17 00:00:00 2001 From: e26chiu Date: Sat, 17 Dec 2022 13:13:34 -0500 Subject: [PATCH] Add mental health page --- pages/mental-health.tsx | 324 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 324 insertions(+) create mode 100644 pages/mental-health.tsx diff --git a/pages/mental-health.tsx b/pages/mental-health.tsx new file mode 100644 index 0000000..8564dba --- /dev/null +++ b/pages/mental-health.tsx @@ -0,0 +1,324 @@ +import { + H1, + H2, + H2i, + H2ii, + H3, + H3i, + H3ii, + H4, + H4i, + H4ii, + H5, + H5i, + H6, + H7, + H8, + H9, + H9i, + H10, + H11, + H12, + H13, + H14, +} from "data/mental-health"; +import { pageRoutes } from "data/routes"; +import React from "react"; +import { + barGraphProps, + pieChartProps, + barGraphWidth, +} from "utils/defaultProps"; +import { useWindowDimensions } from "utils/getWindowDimensions"; +import { useIsMobile } from "utils/isMobile"; + +import { BarGraphVertical } from "@/components/BarGraph"; +import { BottomNav } from "@/components/BottomNav"; +import { ComponentWrapper } from "@/components/ComponentWrapper"; +import { Header } from "@/components/Header"; +import { PieChart } from "@/components/PieChart"; +import { QuotationCarousel } from "@/components/QuotationCarousel"; +import { SectionHeader } from "@/components/SectionHeader"; + +import styles from "./samplePage.module.css"; + +export default function Demographics() { + const pageWidth = useWindowDimensions().width; + const isMobile = useIsMobile(); + + return ( +
+
+ + + +
+ +
+
+ + +
+ +
+
+ + +
+ +
+
+ + + + + + +
+ +
+
+ + +
+ +
+
+ + + + + + +
+ +
+
+ + +
+ +
+
+ + + + + + +
+ +
+
+ + +
+ +
+
+ + + + + + + + + + + + + + +
+ +
+
+ + +
+ +
+
+ + +
+ +
+
+ + +
+ +
+
+ + +
+ +
+
+ + +
+ +
+
+ + +
+ +
+
+ + +
+ ); +}