talos/docs/website/components/Header.vue
Andrew Rynhard 90fd52ad8c docs: fix roadmap layout
This adds margins to the roadmap to make it centered like the docs.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-11-10 15:59:51 -08:00

51 lines
1.2 KiB
Vue

<template>
<header id="header">
<div class="flex flex-wrap w-4/5 mx-auto">
<div class="flex py-2">
<Logo></Logo>
</div>
<div class="flex py-6 ml-auto">
<ul class="flex flex-wrap items-center justify-end">
<li class="link min-w-full md:min-w-0">
<a href="/docs/v0.3">
<span class="font-semibold mr-1">Documentation</span>
</a>
</li>
<li class="link min-w-full md:min-w-0">
<a href="/roadmap">
<span class="font-semibold mr-1">Roadmap</span>
</a>
</li>
<li class="link min-w-full md:min-w-0">
<CommunityDropdown></CommunityDropdown>
</li>
<li class="link min-w-full md:min-w-0">
<a href="/faqs">
<span class="font-semibold mr-1">FAQs</span>
</a>
</li>
</ul>
</div>
</div>
</header>
</template>
<script>
import Logo from '~/components/Logo.vue'
import CommunityDropdown from '~/components/CommunityDropdown.vue'
export default {
name: 'Header',
components: {
Logo,
CommunityDropdown
}
}
</script>
<style scoped>
li {
margin-left: 1.25rem;
}
</style>