-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
154 lines (141 loc) Β· 4.25 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
import { defineNuxtConfig } from 'nuxt/config'
declare global {
namespace NodeJS {
interface ProcessEnv {
GITHUB: string
}
}
}
export default defineNuxtConfig({
devtools: { enabled: true },
ssr: true,
experimental: {
payloadExtraction: false
},
router: {
options: {
strict: false
}
},
routeRules: {
'/': { prerender: true }
},
content: {
// https://content.nuxtjs.org/api/configuration
highlight: {
theme: 'github-dark',
preload: ['java','javascript']
},
markdown: {
// https://github.com/rehypejs/rehype-external-links
rehypePlugins: [
[
'rehype-external-links',
{
target: '_blank',
rel: 'noopener noreferer'
}
]
]
}
},
//
app: {
head: {
script: [
{
src: "https://www.googletagmanager.com/gtag/js?id=G-K7ZPX7THHN",
async: true
},
{
children: `
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-K7ZPX7THHN');
`,
type: "text/javascript",
},
],
htmlAttrs: {
lang: 'en',
},
title: 'Angel Capra π',
meta: [
{ name: 'description', content: 'Explore Angel Capra\'s projects in cybersecurity, IoT development, and embedded systems. As a passionate cybersecurity student, I showcase a diverse portfolio from hacking devices with ESP32 and Arduino to creating innovative tech solutions. Discover the intersection of cybersecurity and IoT technology, and find fascinating projects that push the boundaries of tech innovation.' },
{ name: 'keywords', content: 'angel capra, angel, capra, portfolio, cyber security, cybersecurity, cyber, security, angeldev0, 4ngel2769, cybersecurity portfolio, IoT, internet of things' }
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/android-chrome-512x512.png'},
// Nerd font icons
{ rel: 'stylesheet', href: 'https://www.nerdfonts.com/assets/css/webfont.css' },
// Google's material icons
{ rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,[email protected],100..700,0..1,-50..200' },
{ rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap'},
{ rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;0,1000;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900;1,1000&display=swap'},
{ rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@100&family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sen:wght@400;500;600;700;800&display=swap'}
]
}
},
css: [
'@fortawesome/fontawesome-svg-core/styles.css',
'/assets/css/main.css'
],
modules: [
'@formkit/auto-animate',
'@nuxt/ui',
'@nuxtjs/robots',
"@nuxt/image",
"nuxt-gtag",
"@nuxtjs/sitemap",
"@nuxtjs/color-mode",
'@nuxt/content'
],
icon: {
},
gtag: {
id: process.env.GOOGLE_ANALYTICS_ID,
},
ui: {
global: true
},
runtimeConfig: {
public: {
GITHUB: 'https://github.com/4ngel2769',
LINKEDIN: 'https://www.linkedin.com/in/angelcapra',
TWITTER: 'https://x.com/4ngel2769',
INSTAGRAM: 'https://www.instagram.com/piestudios123',
EMAIL: '',
YOUTUBE: 'https://youtube.com/@angeldev0',
DEVTO: 'https://dev.to/angeldev0',
}
},
// colorMode: {
// preference: 'dark'
// },
// ogImage: {
// enabled: true
// },
// sitemap: {
// enabled: true
// },
// robots: {
// enabled: true
// },
// seoExperiments: {
// enabled: true
// },
// schemaOrg: {
// enabled: true
// },
// linkChecker: {
// enabled: true
// },
site: {
url: 'https://angelcapra.tech',
// name: 'Angel π',
// // description: 'Personal website; find my projects, social links, and more. π',
defaultLocale: 'en',
},
compatibilityDate: '2024-07-09',
})