-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
133 lines (132 loc) · 4.1 KB
/
nuxt.config.ts
File metadata and controls
133 lines (132 loc) · 4.1 KB
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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: "2024-04-03",
devtools: { enabled: true },
css: [
"~/assets/css/main.css",
"~/assets/css/custom/cursor.css",
"~/assets/css/custom/main.css",
"~/assets/css/custom/glassmorphism.css",
],
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
app: {
head: {
script: [{ src: "/js/customCursor.js" }],
title: "Xeferis Portfolio",
titleTemplate: "%s - Xeferis Portfolio",
meta: [
{ charset: "utf-8" },
{ name: "viewport", content: "width=device-width, initial-scale=1" },
{ name: "theme-color", content: "#161616" },
{
hid: "description",
name: "description",
content: "Xeferis Portfolio",
},
],
link: [
{
rel: "apple-touch-icon",
sizes: "57x57",
href: "/apple-icon-57x57.png",
},
{
rel: "apple-touch-icon",
sizes: "60x60",
href: "/apple-icon-60x60.png",
},
{
rel: "apple-touch-icon",
sizes: "72x72",
href: "/apple-icon-72x72.png",
},
{
rel: "apple-touch-icon",
sizes: "76x76",
href: "/apple-icon-76x76.png",
},
{
rel: "apple-touch-icon",
sizes: "114x114",
href: "/apple-icon-114x114.png",
},
{
rel: "apple-touch-icon",
sizes: "120x120",
href: "/apple-icon-120x120.png",
},
{
rel: "apple-touch-icon",
sizes: "144x144",
href: "/apple-icon-144x144.png",
},
{
rel: "apple-touch-icon",
sizes: "152x152",
href: "/apple-icon-152x152.png",
},
{
rel: "apple-touch-icon",
sizes: "180x180",
href: "/apple-icon-180x180.png",
},
{
rel: "icon",
type: "image/png",
sizes: "192x192",
href: "/android-icon-192x192.png",
},
{
rel: "icon",
type: "image/png",
sizes: "32x32",
href: "/favicon-32x32.png",
},
{
rel: "icon",
type: "image/png",
sizes: "96x96",
href: "/favicon-96x96.png",
},
{
rel: "icon",
type: "image/png",
sizes: "16x16",
href: "/favicon-16x16.png",
},
],
htmlAttrs: {
class: "min-w-full min-h-full box-border m-0 p-0",
},
bodyAttrs: {
class:
"glass-bg flex justify-center items-center min-h-screen min-w-screen",
},
},
},
modules: ["nuxt-aos"],
aos: {
// Global settings:
disable: false, // accepts following values: 'phone', 'tablet', 'mobile', boolean, expression or function
startEvent: "DOMContentLoaded", // name of the event dispatched on the document, that AOS should initialize on
initClassName: "aos-init", // class applied after initialization
animatedClassName: "aos-animate", // class applied on animation
useClassNames: false, // if true, will add content of `data-aos` as classes on scroll
disableMutationObserver: false, // disables automatic mutations' detections (advanced)
debounceDelay: 50, // the delay on debounce used while resizing window (advanced)
throttleDelay: 99, // the delay on throttle used while scrolling the page (advanced)
// Settings that can be overridden on per-element basis, by `data-aos-*` attributes:
offset: 150, // offset (in px) from the original trigger point
delay: 0, // values from 0 to 3000, with step 50ms
duration: 400, // values from 0 to 3000, with step 50ms
easing: "ease", // default easing for AOS animations
once: false, // whether animation should happen only once - while scrolling down
mirror: false, // whether elements should animate out while scrolling past them
anchorPlacement: "top-bottom", // defines which position of the element regarding to window should trigger the animation
},
});