Skip to content

Commit 06f4738

Browse files
committed
move copyright text
1 parent 3c89556 commit 06f4738

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

app/components/About.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ const About: React.FC = React.memo(() => {
3030
<p style={currentMode} className="text">Grace, Jen, Patty, Stella, Michael, Ronelle, Todd, Greg
3131
Brianna, Brian, Alon, Alan
3232
Ousman, Ben, Chris, Jenae, Tim</p>
33+
<br/>
34+
<p style={currentMode}>Copyright © Team Chronos 2021.</p>
3335
</div>
36+
3437
</div>
3538
);
3639
});

app/components/Settings.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import '../stylesheets/Settings.scss';
33

44
// DASHBOARD CONTEXT
55
import { DashboardContext } from '../context/DashboardContext';
6-
import { lightAndDark } from './Styling';
76

87
// Need to add flag to turn off the splash at start
98
// Need to add flag to turn off getting started page
@@ -15,12 +14,10 @@ type ClickEvent = React.MouseEvent<HTMLElement>;
1514

1615
const Settings: React.SFC = React.memo((props) => {
1716
//use context from Dash board regarding currentMode
18-
let { mode, changeMode } = useContext(DashboardContext);
17+
let { changeMode } = useContext(DashboardContext);
1918
const handleClick = (mode: string) => {
2019
changeMode(mode);
2120
}
22-
console.log(mode);
23-
let currentMode = (mode === 'light mode')? lightAndDark.lightModeText : lightAndDark.darkModeText;
2421

2522
return (
2623
<div className="settings">
@@ -31,9 +28,6 @@ const Settings: React.SFC = React.memo((props) => {
3128
<button className="mode" id="darkMode" onClick={() => handleClick("dark mode")}>
3229
Dark
3330
</button>
34-
<div className="copyright-container">
35-
<p style={currentMode}>Copyright © Team Chronos 2021.</p>
36-
</div>
3731
</div>
3832
);
3933
});

0 commit comments

Comments
 (0)