Skip to content

Commit

Permalink
Removed Alumni WIP before studygroups update
Browse files Browse the repository at this point in the history
  • Loading branch information
TellToldTold committed May 23, 2024
1 parent fc592a0 commit d681aea
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 336 deletions.
19 changes: 4 additions & 15 deletions components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,28 +35,17 @@ const Header = ({darkHeader = false} : {darkHeader? :boolean}) => {
About
</div>

<div className={`${isActive('/People/People') || isActive('/People/Alumni')? styles.active : styles.inactive} ${styles.menuItem}`}
onClick={() => router.push('/People/People')}>
<div className={styles.itemWrapper}>
People
<div className={styles.arrowDown}></div>
</div>
<ul className={styles.dropdown}>
<li className={isActive('/People/People') ? styles.activeDropdown : ''} onClick={(e: React.MouseEvent<Element, MouseEvent>) => handleNavigate(e, '/People/People')}>People</li>
<li className={isActive('/People/Alumni') ? styles.activeDropdown : ''} onClick={(e: React.MouseEvent<Element, MouseEvent>) => handleNavigate(e, '/People/Alumni')}>Alumni</li>
{/*<li className={isActive('/Activities/Masterclasses') ? styles.activeDropdown : ''} onClick={() => router.push('/Activities/Masterclasses')}>Masterclasses</li>*/}
</ul>
<div className={isActive('/People') ? styles.active : styles.inactive} onClick={() => router.push('/People')}>
People
</div>

<div
className={`${isActive('/Activities/Activities') || isActive('/Activities/Events') || isActive('/Activities/StudyGroups') || isActive('/Activities/Masterclasses') ? styles.active : styles.inactive} ${styles.menuItem}`}
onClick={() => router.push('/Activities/Activities')}>
<div className={`${isActive('/Activities/Activities') || isActive('/Activities/Events') || isActive('/Activities/StudyGroups') || isActive('/Activities/Masterclasses') ? styles.active : styles.inactive} ${styles.menuItem}`}
onClick={() => router.push('/Activities/Activities')}>
<div className={styles.itemWrapper}>
Activities
<div className={styles.arrowDown}></div>
</div>
<ul className={styles.dropdown}>
<li className={isActive('/Activities/Activities') ? styles.activeDropdown : ''} onClick={(e: React.MouseEvent<Element, MouseEvent>) => handleNavigate(e, '/Activities/Activities')}>Activities</li>
<li className={isActive('/Activities/Events') ? styles.activeDropdown : ''} onClick={(e: React.MouseEvent<Element, MouseEvent>) => handleNavigate(e, '/Activities/Events')}>Events</li>
{/*<li className={isActive('/Activities/Masterclasses') ? styles.activeDropdown : ''} onClick={() => router.push('/Activities/Masterclasses')}>Masterclasses</li>*/}
<li className={isActive('/Activities/StudyGroups') ? styles.activeDropdown : ''} onClick={(e: React.MouseEvent<Element, MouseEvent>) => handleNavigate(e, '/Activities/StudyGroups')}>Study Groups</li>
Expand Down
3 changes: 1 addition & 2 deletions pages/AboutUs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,10 @@ const sections: SectionAboutUsElement[] = [
{
title: "Mu Nu Chapter - Today",
description: "Today, the Mu Nu chapter of IEEE-HKN at the Polytechnic University of Turin is a vibrant reality carried forward by an ever-growing group of students passionate about computer science, electronics, and much more. For us, HKN represents a new way to acquire skills and knowledge while at the same time nurturing our passions in an inspiring and stimulating environment.",
year: new Date().getFullYear().toString(),
year: "2023",
},

]

export default function AboutUs() {
const sectionsRef = useRef<HTMLDivElement>(null);
const [svgWidth, setSvgWidth] = useState(0);
Expand Down
2 changes: 1 addition & 1 deletion pages/People/People.tsx → pages/People.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Layout from "../../components/Layout";
import Layout from "../components/Layout";
import styles from '@/styles/People/People.module.scss'
import RoundButton from "@/components/molecules/RoundButton";
import { useRouter } from "next/router";
Expand Down
248 changes: 0 additions & 248 deletions pages/People/Alumni.tsx

This file was deleted.

7 changes: 0 additions & 7 deletions styles/Activities/Activities.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -294,13 +294,6 @@
text-transform: uppercase;
background-color: #061E33;
margin-top: 20px;
color: #F2F2F2;
}

&__button:hover {
background: transparent;
border-color: #061E33;
color: #061E33;
}
}

Expand Down
3 changes: 1 addition & 2 deletions styles/Home/Home.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
.vision, .origins, .project {
font-weight: 400;
font-size: 24px;
margin: 0 0 35px 0;
padding-top: 30px;
margin: 15px 0 35px 0;
}

.titleButtons,.visionButtons {
Expand Down
61 changes: 0 additions & 61 deletions styles/People/Alumni.module.scss

This file was deleted.

0 comments on commit d681aea

Please sign in to comment.