-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
114 lines (108 loc) · 3.19 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
import { defineNuxtConfig } from 'nuxt';
export default defineNuxtConfig({
app: {
head: {
title: 'EGSA',
link: [
{
rel: 'icon',
type: 'image/x-icon',
href:
process.env.NODE_ENV === 'development'
? '/public/favicon.ico'
: '/favicon.ico',
},
// Google Fonts
{
rel: 'preconnect',
href: 'https://fonts.googleapis.com',
},
{
rel: 'preconnect',
href: 'https://fonts.gstatic.com',
crossorigin: true,
},
{
rel: 'stylesheet',
href: 'https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap',
},
],
meta: [
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{
name: 'description',
content: 'To the moon and beyond!',
},
// Facebook Meta Tags
{ property: 'fb:app_id', content: '966242223397117' },
{ property: 'og:type', content: 'website' },
{
property: 'og:url',
content: 'https://egsa.vercel.app/',
},
{
property: 'og:title',
content:
'Experience the amazing sensation of travelling to the moon!',
},
{ property: 'og:site_name', content: 'EGSA' },
{
property: 'og:description',
content:
'Multilingual (EN & AR) Landing Page for The Egyptian Space Agency, a moon flights agency.',
},
{
property: 'og:image',
content:
'https://res.cloudinary.com/cloud-m98/image/upload/c_scale,h_630,q_40,w_1200/v1656823565/EGSA/Website-Screenshot_hq6wko.png',
},
{
property: 'og:image:secure_url',
content:
'https://res.cloudinary.com/cloud-m98/image/upload/c_scale,h_630,q_40,w_1200/v1656823565/EGSA/Website-Screenshot_hq6wko.png',
},
{ property: 'og:image:width', content: '1200' },
{ property: 'og:image:height', content: '630' },
{ property: 'og:image:alt', content: 'EGSA Website' },
// Twitter Meta Tags
{ name: 'twitter:card', content: 'summary_large_image' },
{
property: 'twitter:domain',
content: 'https://egsa.vercel.app/',
},
{
property: 'twitter:url',
content: 'https://egsa.vercel.app/',
},
{ property: 'twitter:title', content: 'EGSA' },
{
property: 'twitter:description',
content:
'Multilingual (EN & AR) Landing Page for The Egyptian Space Agency, a moon flights agency.',
},
{
property: 'twitter:image',
content:
'https://res.cloudinary.com/cloud-m98/image/upload/c_scale,h_630,q_40,w_1200/v1656823565/EGSA/Website-Screenshot_hq6wko.png',
},
],
},
},
build: {
transpile: ['swiper'],
},
modules: [
'@nuxtjs/tailwindcss',
'nuxt-icons',
'@vueuse/nuxt',
'@intlify/nuxt3',
'@vueuse/nuxt',
],
intlify: {
localeDir: 'locales',
vueI18n: {
fallbackLocale: 'en',
availableLocales: ['en', 'ar'],
},
},
});