Added a header that links to all my projects + social media
This commit is contained in:
@@ -8,6 +8,7 @@ import { NoMatch } from './404';
|
|||||||
import { Layout } from './components/Layout';
|
import { Layout } from './components/Layout';
|
||||||
import { NavigationBar } from './components/NavigationBar';
|
import { NavigationBar } from './components/NavigationBar';
|
||||||
import { Jumbotron } from './components/Jumbotron';
|
import { Jumbotron } from './components/Jumbotron';
|
||||||
|
import Footer from './components/Footer';
|
||||||
|
|
||||||
class App extends Component {
|
class App extends Component {
|
||||||
render() {
|
render() {
|
||||||
@@ -25,6 +26,7 @@ class App extends Component {
|
|||||||
<Route component={NoMatch} />
|
<Route component={NoMatch} />
|
||||||
</Switch>
|
</Switch>
|
||||||
</Layout>
|
</Layout>
|
||||||
|
<Footer />
|
||||||
</Router>
|
</Router>
|
||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -33,6 +33,13 @@ export const Contact = () => (
|
|||||||
<h2>LinkedIn:
|
<h2>LinkedIn:
|
||||||
<a href="https://www.linkedin.com/in/gregoryjcampbell/">Gregory J Campbell</a>
|
<a href="https://www.linkedin.com/in/gregoryjcampbell/">Gregory J Campbell</a>
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
|
<br/>
|
||||||
|
<br/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<hr />
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
@@ -226,6 +226,8 @@ export const Projects = () => (
|
|||||||
|
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
|
<hr />
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 25 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 19 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 40 KiB |
@@ -0,0 +1,64 @@
|
|||||||
|
import React from "react";
|
||||||
|
import github from "./../assets/GitHub_Logo.png";
|
||||||
|
import linkedin from "./../assets/LI-Logo.png";
|
||||||
|
import twitter from "./../assets/Twitter-Logo.png";
|
||||||
|
import itch from "./../assets/itchio-logo-black.png";
|
||||||
|
|
||||||
|
const Footer = () => {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<nav className="footer">
|
||||||
|
<div className="footer-links">
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<a href="https://github.com/gjcampbell777">
|
||||||
|
<img
|
||||||
|
src={github}
|
||||||
|
alt="Github Logo"
|
||||||
|
height="auto"
|
||||||
|
width="100%"
|
||||||
|
style={{ maxWidth: "80px" }}
|
||||||
|
/>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="https://www.linkedin.com/in/gregoryjcampbell/">
|
||||||
|
<img
|
||||||
|
src={linkedin}
|
||||||
|
alt="LinkedIn Logo"
|
||||||
|
height="auto"
|
||||||
|
width="100%"
|
||||||
|
style={{ maxWidth: "115px" }}
|
||||||
|
/>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="https://twitter.com/Gregory_Soup">
|
||||||
|
<img
|
||||||
|
src={twitter}
|
||||||
|
alt="Twitter Logo"
|
||||||
|
height="auto"
|
||||||
|
width="100%"
|
||||||
|
style={{ maxWidth: "45px" }}
|
||||||
|
/>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="https://gregorysoup.itch.io/">
|
||||||
|
<img
|
||||||
|
src={itch}
|
||||||
|
alt="Itch Logo"
|
||||||
|
height="auto"
|
||||||
|
width="100%"
|
||||||
|
style={{ maxWidth: "100px" }}
|
||||||
|
/>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default Footer;
|
||||||
@@ -54,3 +54,33 @@ img {
|
|||||||
top: 0;
|
top: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.footer {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
|
color: white;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-links ul {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-links li {
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-links li a {
|
||||||
|
text-decoration: none;
|
||||||
|
color: white;
|
||||||
|
padding: 1rem;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-links li:hover {
|
||||||
|
background-color: #b2b2b2;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user