-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnext-seo.config.ts
50 lines (46 loc) · 998 Bytes
/
next-seo.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
const title = 'Bubble'
const description = 'Bubble is a live chat, powered by Twilio.'
const url = 'https://bubble-peach.vercel.app'
const imageUrl = `https://og-image.vercel.app/${encodeURI(
title
)}.png?theme=light&md=0&fontSize=75px&images=https%3A%2F%2Fassets.vercel.com%2Fimage%2Fupload%2Ffront%2Fassets%2Fdesign%2Fnextjs-black-logo.svg`
const keywords = 'bubble, bubble chat, twilio, chat, live chat, whatsapp'
const seo = {
titleTemplate: `%s | ${title}`,
defaultTitle: title,
description,
openGraph: {
description,
title,
locale: 'en_US',
type: 'website',
url,
canonical: url,
images: [
{
url: imageUrl,
width: 800,
height: 600,
alt: title
}
]
},
twitter: {
handle: '@marsidev',
site: '@marsidev',
cardType: 'summary_large_image'
},
additionalMetaTags: [
{
name: 'keywords',
content: keywords
}
],
additionalLinkTags: [
{
rel: 'icon',
href: '/favicon.ico'
}
]
}
export { seo as defaultSeo, url as defaultUrl }