This repository was archived by the owner on Feb 7, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-12
lines changed
Expand file tree Collapse file tree 2 files changed +5
-12
lines changed Original file line number Diff line number Diff line change 11import React from "react" ;
22import { Link } from "react-router-dom" ;
3- import { faSun , faMoon } from "@fortawesome/free-solid-svg-icons" ;
4- import { FontAwesomeIcon } from "@fortawesome/react-fontawesome" ;
53import "../styles/Layout.css" ;
64
75export default class Layout extends React . Component {
@@ -49,16 +47,16 @@ export default class Layout extends React.Component {
4947
5048 return (
5149 < div className = "layout" >
52- < button onClick = { this . toggleDarkMode } className = { "mode-toggle" } id = { "colourToggle" } > { darkMode ? < FontAwesomeIcon icon = { faSun } size = "5x" style = { { color : '#222222' } } /> : < FontAwesomeIcon icon = { faMoon } size = "5x" /> } </ button >
5350 < div className = { contentClass } >
5451 { this . props . children }
5552 </ div >
5653 < footer className = "footer" >
5754 ©{ " " }
58- < a href = "https://www.pogify.net/" > Pogify</ a > |
59- < Link to = "/tou" > Terms of Use</ Link > |
60- < Link to = "/privacy" > Privacy Policy</ Link >
61- < br />
55+ < a href = "https://www.pogify.net/" > Pogify</ a > { " " } |{ " " }
56+ < Link to = "/tou" > Terms of Use</ Link > { " " } |{ " " }
57+ < Link to = "/privacy" > Privacy Policy</ Link > { " " } |{ " " }
58+ < button onClick = { this . toggleDarkMode } className = { "mode-toggle" } > Switch to { darkMode ? 'Light' : 'Dark' } Mode!</ button >
59+ < br />
6260 < a href = "https://www.spotify.com" > Spotify</ a > is copyright Spotify AB and is not affiliated with Pogify.
6361 </ footer >
6462
Original file line number Diff line number Diff line change 7676 text-decoration : underline;
7777}
7878
79- # colourToggle {
80- position : absolute;
81- right : 20px ;
82- top : 20px ;
83- }
You can’t perform that action at this time.
0 commit comments