Skip to content

Commit

Permalink
docs: update preview (#430)
Browse files Browse the repository at this point in the history
* docs: Update preview

* fix: set meta tags

Co-authored-by: Farnabaz <farnabaz@gmail.com>
  • Loading branch information
clemcode and farnabaz authored Jun 16, 2021
1 parent 9e036d7 commit b70d8f8
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions nuxtjs.org/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,36 @@ export default withDocus({
},
{ rel: 'preconnect', href: 'https://fonts.gstatic.com' }
],
meta: [
{ hid: 'og:site_name', property: 'og:site_name', content: 'Nuxt.js' },
{ hid: 'og:type', property: 'og:type', content: 'website' },
{ hid: 'twitter:site', name: 'twitter:site', content: '@nuxt_js' },
{
hid: 'twitter:card',
name: 'twitter:card',
content: 'summary_large_image'
},
{
hid: 'og:image',
property: 'og:image',
content: 'https://nuxtjs.org/preview.png'
},
{
hid: 'og:image:secure_url',
property: 'og:image:secure_url',
content: 'https://nuxtjs.org/preview.png'
},
{
hid: 'og:image:alt',
property: 'og:image:alt',
content: 'Nuxt.js'
},
{
hid: 'twitter:image',
name: 'twitter:image',
content: 'https://nuxtjs.org/preview.png'
}
],
bodyAttrs: {
class: ['min-w-xs']
}
Expand Down
Binary file modified nuxtjs.org/static/preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

1 comment on commit b70d8f8

@vercel
Copy link

@vercel vercel bot commented on b70d8f8 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.