-
Notifications
You must be signed in to change notification settings - Fork 2
/
next-seo.config.ts
64 lines (61 loc) · 1.48 KB
/
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
import { type DefaultSeoProps } from 'next-seo';
const config: DefaultSeoProps = {
defaultTitle: 'Listen to Spotify songs',
description:
"Search for artists, albums or tracks and listen to the songs previews while reading it's lyrics",
canonical: 'https://music-api-challenge.vercel.app/',
themeColor: '#fafafa',
robotsProps: {
notranslate: false,
maxImagePreview: 'large',
noarchive: true,
},
openGraph: {
title: 'Listen to Spotify songs',
type: 'website',
description:
"Search for artists, albums or tracks and listen to the songs previews while reading it's lyrics",
locale: 'en-US',
siteName: 'Music Api Challenge',
images: [
{
url: 'https://i.imgur.com/9uuDwGJ.png',
alt: 'home image preview, cropped to fit',
width: 1200,
height: 630,
},
],
},
additionalMetaTags: [
{
name: 'view-transition',
content: 'same-origin',
},
],
additionalLinkTags: [
{
rel: 'icon',
href: 'https://i.imgur.com/VdjeMM7.png',
sizes: '32x32',
type: 'image/png',
},
{
rel: 'icon',
href: 'https://i.imgur.com/DXIslqf.png',
sizes: '16x16',
type: 'image/png',
},
{
rel: 'apple-touch-icon',
href: 'https://i.imgur.com/VdjeMM7.png',
sizes: '32x32',
type: 'image/png',
},
],
twitter: {
handle: '@ygorperez',
site: '@ygorperez',
cardType: 'summary_large_image',
},
};
export default config;