Skip to content

Commit

Permalink
docs: update footer links (#446)
Browse files Browse the repository at this point in the history
  • Loading branch information
clemcode authored Jun 16, 2021
1 parent b70d8f8 commit a11edaa
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 61 deletions.
75 changes: 19 additions & 56 deletions nuxtjs.org/components/AppFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,86 +43,49 @@ export default defineComponent({
setup() {
const links = [
{
title: 'Solutions',
title: 'Discover',
subLinks: [
{
title: 'Marketing',
href: '#'
title: 'Our team',
to: '/team'
},
{
title: 'Analytics',
href: '#'
title: 'Design Kit',
to: '/design-kit'
},
{
title: 'Commerce',
href: '#'
},
{
title: 'Insights',
href: '#'
}
]
},
{
title: 'Support',
subLinks: [
{
title: 'Pricing',
href: '#'
},
{
title: 'Documentation',
href: '#'
},
{
title: 'Guides',
href: '#'
},
{
title: 'API Status',
href: '#'
title: 'Contact us',
href: 'https://twitter.com/nuxt_js'
}
]
},
{
title: 'Company',
title: 'Help',
subLinks: [
{
title: 'About',
href: '#'
},
{
title: 'Blog',
href: '#'
title: 'Resources',
to: '/resources'
},
{
title: 'Jobs',
href: '#'
title: 'Chat with us',
href: 'https://discord.nuxtjs.org/'
},
{
title: 'Press',
href: '#'
},
{
title: 'Partners',
href: '#'
title: 'Contribution guide',
href: 'https://github.com/nuxt/nuxtjs.org/blob/main/content/en/_archives/guide/contribution-guide.md'
}
]
},
{
title: 'Legal',
title: 'Support',
subLinks: [
{
title: 'Claim',
href: '#'
},
{
title: 'Privacy',
href: '#'
title: 'Sponsoring and donations',
to: '/sponsoring'
},
{
title: 'Terms',
href: '#'
title: 'Training and consultancy',
to: '/support'
}
]
}
Expand Down
14 changes: 13 additions & 1 deletion nuxtjs.org/components/MFooterFoot.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,19 @@
<div>
<MFooterSocialLinks />
<p class="mt-8 text-base light:text-gray-400 dark:text-secondary-lightest md:mt-0 md:order-1">
&copy; 2020 Workflow, Inc. All rights reserved.
&copy; {{ year }} Nuxt, Inc. All rights reserved.
</p>
</div>
</template>

<script>
import { defineComponent } from '@vue/composition-api'
export default defineComponent({
data() {
return {
year: new Date().getFullYear()
}
}
})
</script>
10 changes: 7 additions & 3 deletions nuxtjs.org/components/MFooterLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@
</h3>
<ul class="mt-4 space-y-4">
<li v-for="subLink in link.subLinks" :key="subLink.title">
<ALink :href="subLink.href" :aria-label="subLink.title" class="light:text-gray-500 dark:text-white">{{
subLink.title
}}</ALink>
<ALink
:href="subLink.href"
:to="subLink.to"
:aria-label="subLink.title"
class="light:text-gray-500 dark:text-white"
>{{ subLink.title }}</ALink
>
</li>
</ul>
</div>
Expand Down
2 changes: 1 addition & 1 deletion nuxtjs.org/components/MFooterSocialLinks.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default defineComponent({
setup() {
const socials = [
{
href: '#',
href: 'https://www.youtube.com/channel/UCJ9jj5YMzo-HsyM6WG9Q_Lg',
icon: 'IconYoutube'
},
{
Expand Down

1 comment on commit a11edaa

@vercel
Copy link

@vercel vercel bot commented on a11edaa Jun 16, 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.