Browse Source

Merge pull request #6800 from nocodb/nc-feat/link-preview

Added link preview
pull/6497/head
Raju Udava 1 year ago committed by GitHub
parent
commit
d22012d64a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 30
      packages/nc-gui/nuxt.config.ts
  2. BIN
      packages/nc-gui/public/link-preview.webp

30
packages/nc-gui/nuxt.config.ts

@ -71,6 +71,36 @@ export default defineNuxtConfig({
name: 'description',
content: process.env.npm_package_description || '',
},
// Open Graph
{ hid: 'og:site_name', property: 'og:site_name', content: 'NocoDB' },
{ hid: 'og:type', property: 'og:type', content: 'website' },
{ hid: 'og:title', property: 'og:title', content: 'NocoDB' },
{
hid: 'og:description',
property: 'og:description',
content:
'NocoDB provides an intuitive spreadsheet interface for creating online databases, either from scratch or by connecting to any Postgres/MySQL. Access your data through interactive UIs or via API and SQL. Get started for free.',
},
{ hid: 'og:url', property: 'og:url', content: 'https://nocodb.com' },
// Twitter
{ hid: 'twitter:card', name: 'twitter:card', content: 'summary_large_image' },
{ hid: 'twitter:title', name: 'twitter:title', content: 'NocoDB' },
{
hid: 'twitter:description',
name: 'twitter:description',
content:
'NocoDB provides an intuitive spreadsheet interface for creating online databases, either from scratch or by connecting to any Postgres/MySQL. Access your data through interactive UIs or via API and SQL. Get started for free.',
},
{
hid: 'twitter:image',
name: 'twitter:image',
content: './link-preview.webp',
},
{
hid: 'og:image',
property: 'og:image',
content: './link-preview.webp',
},
],
},
},

BIN
packages/nc-gui/public/link-preview.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Loading…
Cancel
Save