-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Sid Sun <sid@sidsun.com>
- Loading branch information
Showing
7 changed files
with
16,271 additions
and
12,142 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,56 @@ | ||
import React, {PureComponent} from 'react'; | ||
import React, { PureComponent } from "react"; | ||
import Container from "react-bootstrap/Container"; | ||
import {NavLink} from "react-router-dom"; | ||
import { NavLink } from "react-router-dom"; | ||
// import Nav from "react-bootstrap/Nav"; | ||
|
||
export default class Footer extends PureComponent { | ||
constructor(props) { | ||
super(props); | ||
this.state = { | ||
year: 2020, | ||
}; | ||
} | ||
|
||
constructor(props) { | ||
super(props); | ||
this.state = { | ||
year: 2020 | ||
} | ||
} | ||
componentDidMount() { | ||
let year = new Date().getFullYear(); | ||
this.setState({ | ||
year: year, | ||
}); | ||
} | ||
|
||
componentDidMount() { | ||
let year = new Date().getFullYear() | ||
this.setState({ | ||
year: year | ||
}) | ||
} | ||
|
||
render() { | ||
return ( | ||
<div className="footer"> | ||
<div className="text-black-75 py-2"> | ||
<Container className="align-content-center"> | ||
<div> | ||
<p className="text-center"> | ||
— Copyright © { this.state.year } Sid Sun. All Rights Reserved. — | ||
</p> | ||
<span | ||
render() { | ||
return ( | ||
<div className="footer"> | ||
<div className="text-black-75 py-2"> | ||
<Container className="align-content-center"> | ||
<div> | ||
<p className="text-center"> | ||
— Copyright © { this.state.year } Sid Sun. All Rights Reserved. — | ||
</p> | ||
<span | ||
className="form-row justify-content-center social-icon-group mx-auto"> | ||
<a href="https://github.com/sid-sun" className="nav-link"> | ||
<i className="fab fa-github md-24 social-icon"/> | ||
</a> | ||
<a href="https://www.linkedin.com/in/sidharth-soni-3a47b0164" className="nav-link"> | ||
<i className="fab fa-linkedin md-24 social-icon"/> | ||
</a> | ||
<a href="https://medium.sidsun.com" className="nav-link"> | ||
<i className="fab fa-medium md-24 social-icon"/> | ||
</a> | ||
<a href="mailto:sid@sidsun.com" className="nav-link"> | ||
<i className="fas fa-envelope md-24 social-icon"/> | ||
</a> | ||
</span> | ||
<p className="text-center social-icon-group"> | ||
<NavLink to="/policy" className="social-icon"> | ||
Privacy Policy | ||
</NavLink> | ||
</p> | ||
</div> | ||
</Container> | ||
</div> | ||
<a href="https://github.com/sid-sun" className="nav-link"> | ||
<i className="fab fa-github md-24 social-icon"/> | ||
</a> | ||
<a href="https://www.linkedin.com/in/sidharth-soni-3a47b0164" className="nav-link"> | ||
<i className="fab fa-linkedin md-24 social-icon"/> | ||
</a> | ||
<a href="https://medium.sidsun.com" className="nav-link"> | ||
<i className="fab fa-medium md-24 social-icon"/> | ||
</a> | ||
<a href="mailto:sid@sidsun.com" className="nav-link"> | ||
<i className="fas fa-envelope md-24 social-icon"/> | ||
</a> | ||
</span> | ||
<p className="text-center social-icon-group"> | ||
<NavLink to="/policy" className="social-icon"> | ||
Privacy Policy | ||
</NavLink> | ||
</p> | ||
</div> | ||
) | ||
} | ||
</Container> | ||
</div> | ||
</div> | ||
) | ||
} | ||
} |
Oops, something went wrong.