fixed nav

This commit is contained in:
Daniele Polencic
2019-10-31 16:49:25 +08:00
parent 7e86ac4f50
commit 4ec0b32778
2 changed files with 24 additions and 8 deletions

View File

@@ -10,7 +10,7 @@ import { Subscribe } from '../layout.v2'
export const Details = {
type: '02k8sjs',
url: '/nodejs-kubernetes-guide',
seoTitle: 'Hands-on guide: developing and deploying Node.js apps in Kubernetes',
seoTitle: 'Hands-on guide: developing & deploying Node.js apps in Kubernetes',
title: 'Hands-on guide: developing and deploying Node.js apps in Kubernetes',
description: `Learning how to design and architect applications that leverage Kubernetes is the most valuable skill that you could learn to be successful in deploying and scaling your traffic to millions of requests and beyond.`,
openGraphImage: (

View File

@@ -64,25 +64,41 @@ export const Navbar: React.StatelessComponent<{ root: Sitemap }> = ({ root }) =>
<a href={getFullUrl(root)} className='logo fl-ns w-100 mw4 mw-none-ns dib w-20-m w-10-l pa2-ns'>
<img src='assets/logo.svg' alt='Learnk8s' />
</a>
<ul className='list fl w-80-m w-90-l pa2 tr dn db-ns'>
<ul className='list fl w-80-m w-90-l tr dn db-ns'>
<li className='dib ttu'>
{/* <a href={getFullUrl(root.children.academy)} className='link white mh3 dib f6 ribbon' title='Academy'> */}
<a href={getFullUrl(root.children.academy)} className='link white mh3 dib f6' title='Academy'>
Academy
<a
href={getFullUrl(root.children.academy)}
className='link white mh3 dib f6 pv2 pl2 underline-hover'
title='Academy'
>
Online academy
</a>
</li>
<li className='dib ttu'>
<a href={getFullUrl(root.children.training)} className='link white mh3 dib f6' title='Training'>
Training
<a
href={getFullUrl(root.children.training)}
className='link white mh3 dib f6 pv2 pr2 underline-hover'
title='Training'
>
Classroom training
</a>
</li>
<li className='dn dib-l ttu'>
<a href={getFullUrl(root.children.blog)} className='link white mh3 dib f6' title='Blog'>
<a
href={getFullUrl(root.children.blog)}
className='link white mh3 dib f6 pv2 pr2 underline-hover'
title='Blog'
>
Blog
</a>
</li>
<li className='dn dib-l ttu'>
<a href={getFullUrl(root.children.contactUs)} className='link white mh3 dib f6' title='Contact us'>
<a
href={getFullUrl(root.children.contactUs)}
className='link white mh3 dib pv2 pr2 f6 underline-hover'
title='Contact us'
>
Contact us
</a>
</li>