This repository has been archived by the owner on Jan 27, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
79 lines (72 loc) · 2.01 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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
app: {
head: {
titleTemplate: '%s %separator SHE Centre',
charset: 'utf-8',
htmlAttrs: {
lang: 'en',
},
viewport: 'width=device-width, initial-scale=1',
link: [
{ rel: 'icon', type: 'image/png', href: '/logo.png' },
],
meta: [
{
name: 'description',
content:
'The SHE Centre is a pioneering organization dedicated to combating violence against women and promoting gender equality.'
},
{
name: 'keywords',
content: 'signal for help, empowerment, women, anti-violence, gender equality, women\'s rights, support, help, safety, assistance, aid, shelter, refuge'
},
{
name: 'author',
content: 'SHE Centre Team'
},
{
name: 'og:title',
content: 'SHE Centre'
},
{
name: 'og:description',
content: 'The SHE Centre is a pioneering organization dedicated to combating violence against women and promoting gender equality.'
},
{
name: 'og:image',
content: (process.env.NUXT_ENV_VERCEL_URL ? `https://${process.env.NUXT_ENV_VERCEL_URL}` : '') + '/logo.png'
},
{
name: 'twitter:card',
content: 'summary'
},
]
},
pageTransition: {
name: 'page',
mode: 'out-in',
},
},
css: [
'~/assets/css/transitions.css',
'~/assets/css/global.css',
],
devtools: { enabled: true },
modules: [
"@nuxtjs/tailwindcss",
"@nuxtjs/supabase",
"@nuxt/fonts",
"@nuxtjs/leaflet",
],
supabase: {
redirect: false,
},
ssr: true,
runtimeConfig: {
openaiApiKey: process.env.OPENAI_API_KEY,
openaiAssistantId: process.env.OPENAI_ASSISTANT_ID,
deployUrl: (process.env.NUXT_ENV_VERCEL_URL ? `https://${process.env.NUXT_ENV_VERCEL_URL}` : ''),
},
compatibilityDate: '2024-07-07'
});