Add podcasts menu

pull/1657/head
Kamran Ahmed 4 years ago
parent 8bde27bbb6
commit 00a62673dc
  1. 7
      components/site-nav/index.js
  2. 11
      components/site-nav/style.js

@ -11,10 +11,13 @@ const SiteNav = () => (
<div className='nav-links'> <div className='nav-links'>
<a href='/roadmaps'>Roadmaps</a> <a href='/roadmaps'>Roadmaps</a>
<a href='/guides'>Guides</a> <a href='/guides'>Guides</a>
<a href='/podcasts'>Podcasts</a> <a href='/podcasts'>
Podcasts
<span className='new-item' />
</a>
</div> </div>
<div className='ml-3 align-items-center d-flex'> <div className='ml-3 align-items-center d-none d-md-flex'>
<iframe src="https://ghbtns.com/github-btn.html?user=kamranahmedse&repo=developer-roadmap&type=star&count=true&size=large" frameBorder="0" scrolling="0" width="190px" height="30px"></iframe> <iframe src="https://ghbtns.com/github-btn.html?user=kamranahmedse&repo=developer-roadmap&type=star&count=true&size=large" frameBorder="0" scrolling="0" width="190px" height="30px"></iframe>
</div> </div>
</div> </div>

@ -29,6 +29,7 @@ export const HeaderWrap = styled.div`
.nav-links { .nav-links {
a { a {
position: relative;
padding: 0 10px; padding: 0 10px;
text-decoration: none; text-decoration: none;
font-size: 16px; font-size: 16px;
@ -46,5 +47,15 @@ export const HeaderWrap = styled.div`
background: #2d2d2d; background: #2d2d2d;
} }
} }
.new-item {
position: absolute;
top: 0;
right: 0;
display: inline-block;
padding: 3px;
background: #e25712;
border-radius: 100%;
}
} }
`; `;

Loading…
Cancel
Save