diff --git a/pages/intimacy-and-drugs.tsx b/pages/intimacy-and-drugs.tsx new file mode 100644 index 0000000..e370ebd --- /dev/null +++ b/pages/intimacy-and-drugs.tsx @@ -0,0 +1,209 @@ +import { + I1, + I2, + I3, + I4, + I5, + I6, + I6i, + I7, + I8, + I8i, + I9, + I10, +} from "data/intimacy-and-drugs"; +import { pageRoutes } from "data/routes"; +import React from "react"; +import { + barGraphProps, + DefaultProp, + pieChartProps, + barGraphMargin, + barGraphWidth, +} from "utils/defaultProps"; +import { useWindowDimensions } from "utils/getWindowDimensions"; +import { useIsMobile } from "utils/isMobile"; + +import { BarGraphVertical, BarGraphHorizontal } from "@/components/BarGraph"; +import { BottomNav } from "@/components/BottomNav"; +import { ComponentWrapper } from "@/components/ComponentWrapper"; +import { GroupedBarGraphVertical } from "@/components/GroupedBarGraph"; +import { Header } from "@/components/Header"; +import { PieChart } from "@/components/PieChart"; +import { QuotationCarousel } from "@/components/QuotationCarousel"; +import { SectionHeader } from "@/components/SectionHeader"; +import { WordCloud } from "@/components/WordCloud"; + +import { Color } from "../utils/Color"; + +import styles from "./samplePage.module.css"; + +export default function Demographics() { + const pageWidth = useWindowDimensions().width; + const isMobile = useIsMobile(); + + return ( +
+
+ + + + + + + + + + + + + + + + + + + +
+ +
+
+ + +
+ +
+
+ + +
+ +
+
+ + + + + + + + + + + + + + +
+ +
+
+ + +
+ +
+
+ + +
+ ); +} diff --git a/pages/samplePage.module.css b/pages/samplePage.module.css index f3761c2..5a817c9 100644 --- a/pages/samplePage.module.css +++ b/pages/samplePage.module.css @@ -8,6 +8,14 @@ padding: 0 calc(70rem / 16); } +.quotationCarouselContainer { + display: flex; + flex-direction: column; + align-items: center; + gap: calc(48rem / 16); + margin: calc(32rem / 16); +} + @media screen and (max-width: 1200px) { .graphContainer { padding: 0 calc(40rem / 16);