From 00a62673dcf8c251aaefea6c817322a5e6e7c684 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Mon, 22 Jun 2020 01:58:52 +0400 Subject: [PATCH] Add podcasts menu --- components/site-nav/index.js | 7 +++++-- components/site-nav/style.js | 11 +++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/components/site-nav/index.js b/components/site-nav/index.js index 8a7beec44..bd9891c43 100644 --- a/components/site-nav/index.js +++ b/components/site-nav/index.js @@ -11,10 +11,13 @@ const SiteNav = () => (
Roadmaps Guides - Podcasts + + Podcasts + +
-
+
diff --git a/components/site-nav/style.js b/components/site-nav/style.js index d837ee845..143f0771d 100644 --- a/components/site-nav/style.js +++ b/components/site-nav/style.js @@ -29,6 +29,7 @@ export const HeaderWrap = styled.div` .nav-links { a { + position: relative; padding: 0 10px; text-decoration: none; font-size: 16px; @@ -46,5 +47,15 @@ export const HeaderWrap = styled.div` background: #2d2d2d; } } + + .new-item { + position: absolute; + top: 0; + right: 0; + display: inline-block; + padding: 3px; + background: #e25712; + border-radius: 100%; + } } `;