Skip to content

Commit

Permalink
fix: add resources and remove design kit from nav (#467)
Browse files Browse the repository at this point in the history
* fix: add resources and remove design kit from nav

* Update HeaderNavigation.vue

Co-authored-by: Sébastien Chopin <[email protected]>
  • Loading branch information
clemcode and atinux authored Jun 17, 2021
1 parent 4a9fc3a commit d16191b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion nuxtjs.org/components/HeaderNavigation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
{{ link.title }}
</NuxtLink>
</li>
<li class="relative capitalize font-medium flex flex-col items-center justify-center space-y-1 text-center">
<NuxtLink to="/resources" class="hover:d-primary-text-hover"> Resources </NuxtLink>
</li>
<li class="relative capitalize font-medium flex flex-col items-center justify-center space-y-1 text-center">
<a
href="https://masteringnuxt.com/?utm_source=nuxt&utm_medium=link&utm_campaign=navbar_link"
Expand All @@ -40,7 +43,6 @@ export default defineComponent({
const route = useRoute()
const currentNav = computed(() => $docus.get({ depth: 1 }).links)
// computed
const headerLinks = computed(() => currentNav.value.filter(link => link.slug !== '' && link.children.length))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
template: page
title: Resources
---

::simple-page-hero
Expand Down Expand Up @@ -28,4 +29,4 @@ resources:
image: https://source.unsplash.com/user/agk42/1280x720
slug: video-courses
---
::
::
3 changes: 3 additions & 0 deletions nuxtjs.org/content/design-kit/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
navigation: false
---

1 comment on commit d16191b

@vercel
Copy link

@vercel vercel bot commented on d16191b Jun 17, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.