Bootstrap icons added to navigation
This commit is contained in:
parent
a910d63127
commit
644795c253
|
|
@ -1,21 +1,26 @@
|
|||
import React from 'react';
|
||||
import { Link } from 'react-router-dom';
|
||||
import './css/Navigation.css';
|
||||
import { HouseDoor, FileEarmarkPerson, Github, Youtube } from 'react-bootstrap-icons';
|
||||
|
||||
const Navigation = (props) => {
|
||||
return (
|
||||
<div className="Navigation">
|
||||
<Link to="/">
|
||||
Home
|
||||
<HouseDoor />
|
||||
</Link>
|
||||
<Link to="/about">
|
||||
About Me
|
||||
<FileEarmarkPerson />
|
||||
</Link>
|
||||
<Link to="/github">
|
||||
Github Repos
|
||||
<Github />
|
||||
</Link>
|
||||
<Link to="/youtube">
|
||||
Youtube Videos
|
||||
<Youtube />
|
||||
</Link>
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
|
|
@ -12,10 +12,12 @@
|
|||
.Navigation a {
|
||||
color: #CFC0C0 !important;
|
||||
padding:10px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items:center;
|
||||
justify-content: space-around
|
||||
}
|
||||
|
||||
.Navigation a:hover {
|
||||
border-bottom-style: solid;
|
||||
border-color: black;
|
||||
background-color: #2F2F32;
|
||||
}
|
||||
Loading…
Reference in New Issue