-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
124 lines (120 loc) · 2.91 KB
/
nuxt.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
const title = 'Polkaswap — The DEX for the Interoperable Future',
description =
'Polkaswap is a next-generation DeFi hub: A cross-chain liquidity aggregator, AMM, and order book DEX on the SORA network. Polkaswap offers cross-chain asset exchange with major Polkadot and EVM chains with TON coming soon.',
keyWords =
'polkadot dex, DEX, Cross-chain, stake, trade, earn rewards, pool, DeFi, AMM, Exchange, Polkadot, polkadot swap, SORA network, Kusama, Swap Tokens, TON',
ogImage = `${process.env.NUXT_PUBLIC_BASE_URL || ''}/og.jpg`
export default defineNuxtConfig({
srcDir: 'src/',
devtools: { enabled: false },
css: ['~/assets/css/main.css'],
modules: ['@nuxt/image', '@nuxtjs/sitemap'],
build: {
transpile: ['gsap'],
},
app: {
head: {
htmlAttrs: {
lang: 'en',
},
charset: 'utf-8',
viewport: 'width=device-width, initial-scale=1',
title: title,
link: [
{
rel: 'icon',
href: '/favicon.ico',
sizes: '32x32',
},
{
rel: 'icon',
href: '/icon.svg',
type: 'image/svg+xml',
},
{
rel: 'apple-touch-icon',
href: '/apple-touch-icon.png',
},
],
script: [
{
key: 'plausible',
defer: true,
src: 'https://plausible.io/js/script.js',
'data-domain': 'about.polkaswap.io',
},
],
meta: [
{
name: 'description',
content: description,
},
{
name: 'keywords',
content: keyWords,
},
{
name: 'twitter:title',
content: title,
},
{
name: 'twitter:description',
content: description,
},
{
name: 'twitter:image',
content: ogImage,
},
{
name: 'twitter:image:alt',
content: title,
},
{
name: 'twitter:card',
content: 'summary_large_image',
},
{
name: 'twitter:site',
content: '@polkaswap',
},
{
property: 'og:title',
content: title,
},
{
property: 'og:description',
content: description,
},
{
property: 'og:image',
content: ogImage,
},
{
property: 'og:image:secure_url',
content: ogImage,
},
{
property: 'og:image:alt',
content: title,
},
{
property: 'og:image:width',
content: '1200',
},
{
property: 'og:image:height',
content: '630',
},
{
property: 'og:url',
content: 'https://polkaswap.io',
},
{
property: 'og:type',
content: 'website',
},
],
},
},
compatibilityDate: '2024-07-04',
})