Fixed minor issues from merging
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Shahan Nedadahandeh 2022-09-14 00:32:35 -04:00
parent 798a8a9b4f
commit 382d51fa58
Signed by: snedadah
GPG Key ID: 8638C7F917385B01
3 changed files with 18 additions and 4 deletions

View File

@ -12,6 +12,9 @@
padding: calc(10rem / 16) calc(100rem / 16) 0 calc(100rem / 16);
}
.titleHeader {
margin: calc(16rem / 16) 0;
}
.sideBarCommon {
position: fixed;
@ -67,12 +70,15 @@
.menuHeader {
margin-bottom: 0px;
padding-left: calc(40rem / 16);
padding-left: calc(20rem / 16);
padding-bottom: 0px;
font-size: 50px;
color: var(--dark--secondary-heading);
}
.sectionsWrapper {
padding-left: calc(30rem / 16);
}
.menuIcon {
background: none;
@ -97,6 +103,10 @@
padding-left: calc(10rem / 16);
}
.sectionsWrapper {
padding-left: calc(20rem / 16);
}
.headerWrapper {
padding: calc(10rem / 16) calc(20rem / 16) 0 calc(20rem / 16);
}

View File

@ -2,7 +2,7 @@ import { sectionsData } from "data/routes";
import Link from "next/link";
import React, { useState } from "react";
import Sections from "./Sections";
import { Sections } from "./Sections";
import styles from "./Header.module.css";
@ -12,7 +12,7 @@ export function Header() {
return (
<>
<div className={styles.headerWrapper}>
<h1>
<h1 className={styles.titleHeader}>
<Link href="/">CS 2022</Link>
</h1>
<button
@ -48,7 +48,9 @@ export function Header() {
/>
</button>
</div>
<Sections data={sectionsData} />
<div className={styles.sectionsWrapper}>
<Sections data={sectionsData} showHeader={false} />
</div>
</div>
<div

View File

@ -5,6 +5,7 @@ import { useWindowDimensions } from "utils/getWindowDimensions";
import { useIsMobile } from "utils/isMobile";
import { ComponentWrapper } from "@/components/ComponentWrapper";
import { Header } from "@/components/Header";
import { WordCloud } from "../components/WordCloud";
@ -16,6 +17,7 @@ export default function SamplePage() {
return (
<div className={styles.page}>
<Header />
<ComponentWrapper
heading="What program are you in?"
bodyText="There are a total of 106 respondents of the CS Class Profile. Interestingly, there are a huge number of students that are just in CS, partially due to the overwhelming number of people in CS as seen in the total demographics."