-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
105 lines (100 loc) · 3.49 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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
modules: [
'nuxt-windicss',
'@pinia/nuxt',
'@vueuse/nuxt',
'@nuxt/image',
'@kevinmarrec/nuxt-pwa',
'@nuxt/image',
],
css: ['@/assets/style/main.css'],
image: {
domains: ['steamcdn-a.akamaihd.net', 'lastfm.freetls.fastly.net'],
},
runtimeConfig: {
STEAM_WEB_API_KEY: process.env.STEAM_WEB_API_KEY,
STEAM_ID: process.env.STEAM_ID,
LASTFM_USERNAME: process.env.LASTFM_USERNAME,
LASTFM_WEB_API_KEY: process.env.LASTFM_WEB_API_KEY,
},
app: {
head: {
htmlAttrs: {
lang: 'en',
},
title: 'Mehmet Ali KOÇAL',
charset: 'utf-8',
meta: [
{
name: 'description',
content:
'Mehmet is a front-end web developer, student, and video game lover. He develops websites or tries to make games in his spare time. Click to learn more!',
},
{
name: 'keywords',
content: 'mehmet ali koçal, mehmet ali, gwyndev, gwyn',
},
{ name: 'author', content: 'Mehmet Ali KOÇAL' },
{ name: 'application-name', content: 'Personal Website of GwynDev' },
{ property: 'og:url', content: 'https://gwyndev.com' },
{ property: 'og:type', content: 'website' },
{ property: 'og:title', content: 'Mehmet Ali KOÇAL' },
{
property: 'og:description',
content:
'Mehmet is a front-end web developer, student, and video game lover. He develops websites or tries to make games in his spare time. Click to learn more!',
},
{
property: 'og:image',
content: 'https://avatars.githubusercontent.com/u/102923401?v=4',
},
{ name: 'twitter:card', content: 'summary_large_image' },
{ property: 'twitter:domain', content: 'gwyndev.com' },
{ property: 'twitter:url', content: 'https://gwyndev.com' },
{ name: 'twitter:title', content: 'Mehmet Ali KOÇAL' },
{
name: 'twitter:description',
content:
'Mehmet is a front-end web developer, student, and video game lover. He develops websites or tries to make games in his spare time. Click to learn more!',
},
{
name: 'twitter:image',
content: 'https://avatars.githubusercontent.com/u/102923401?v=4',
},
],
link: [{ rel: 'icon', type: 'image/png', href: '/favicon.png' }],
},
},
pwa: {
workbox: {
enabled: false,
},
icon: {
fileName: 'favicon.png',
},
meta: {
name: 'GwynDev',
author: 'Mehmet Ali KOÇAL',
description:
'Mehmet is a front-end web developer, student, and video game lover. He develops websites or tries to make games in his spare time. Click to learn more!',
theme_color: '#0A0A0A',
lang: 'en',
ogTitle: 'Mehmet Ali KOÇAL',
ogDescription:
'Mehmet is a front-end web developer, student, and video game lover. He develops websites or tries to make games in his spare time. Click to learn more!',
ogHost: 'gwyndev.com',
ogUrl: 'https://gwyndev.com/',
twitterCard: 'summary_large_image',
},
manifest: {
name: 'GwynDev',
short_name: 'GwynDev',
lang: 'en',
description:
'Mehmet is a front-end web developer, student, and video game lover. He develops websites or tries to make games in his spare time. Click to learn more!',
start_url: '/',
display: 'fullscreen',
},
},
});