Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/activity/Activity.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,26 +28,26 @@ function Tab() {
<button
type="button"
onClick={() => toggleTab(1)}
className={tabState == 1 ? "tab-button active" : "tab-button"}
className={tabState === 1 ? "tab-button active" : "tab-button"}
>
Events
</button>
<button
type="button"
onClick={() => toggleTab(2)}
className={tabState == 2 ? "tab-button active" : "tab-button"}
className={tabState === 2 ? "tab-button active" : "tab-button"}
>
Projects
</button>
</div>
<div className="tab-contents">
<div
className={
tabState == 1 ? "tab-content active-content" : "tab-content"
tabState === 1 ? "tab-content active-content" : "tab-content"
}
>
<h2>Title 1</h2>
<img src="#" />
<img src="#" alt="temp" />
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim
Expand All @@ -57,11 +57,11 @@ function Tab() {
</div>
<div
className={
tabState == 2 ? "tab-content active-content" : "tab-content"
tabState === 2 ? "tab-content active-content" : "tab-content"
}
>
<h2>Title 2</h2>
<img src="#" />
<img src="#" alt="temp" />

<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
Expand Down
2 changes: 2 additions & 0 deletions src/navbar/NavigationBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ function NavigationBar() {
<div
className="nav-toggle-icons"
onClick={() => setIsSwitch(prev => !prev)}
role="button"
tabIndex={0}
>
{isSwitch ? (
<Clear className="nav-toggle-icon" fontSize="large" />
Expand Down
2 changes: 1 addition & 1 deletion src/resources/Resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { BookOnline } from "@mui/icons-material";
import React, { useState, useEffect, useRef } from "react";
import { useLocation } from "react-router-dom";
import "./resources.css";
import Tutorials from "./Tutorials.js";
import Tutorials from "./Tutorials";
import Research from "./Research";
import Organizations from "./Organizations";

Expand Down