-
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.
Setup-grid-system#76; sidebar styling
- Loading branch information
1 parent
120d243
commit efbe5ba
Showing
7 changed files
with
75 additions
and
9 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import React from 'react'; | ||
import {Link} from 'react-router-dom' | ||
|
||
// ASSETS | ||
import sprites from '../../img/sprite.svg' | ||
|
||
const Sidebar = () => { | ||
return ( | ||
<ul className='side-nav'> | ||
<li className='side-nav__item'> | ||
<Link to='/'> | ||
<svg className='side-nav__icon'> | ||
<use xlinkHref={`${sprites}#icon-home`} /> | ||
</svg> | ||
<span>Home</span> | ||
</Link> | ||
</li> | ||
<li className='side-nav__item'> | ||
<Link to='/'> | ||
<svg className='side-nav__icon'> | ||
<use xlinkHref={`${sprites}#icon-price-tag`} /> | ||
</svg> | ||
<span>Tags</span> | ||
</Link> | ||
</li> | ||
<li className='side-nav__item'> | ||
<Link to='/'> | ||
<svg className='side-nav__icon'> | ||
<use xlinkHref={`${sprites}#icon-slideshare`} /> | ||
</svg> | ||
<span>Users</span> | ||
</Link> | ||
</li> | ||
</ul> | ||
); | ||
} | ||
|
||
export default Sidebar; |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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