-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b887617
commit e19b5c8
Showing
1 changed file
with
39 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
export default defineNuxtConfig({ | ||
ssr: true, | ||
devtools: {enabled: false}, | ||
devtools: { enabled: false }, | ||
typescript: { | ||
shim: false | ||
}, | ||
|
@@ -18,43 +18,55 @@ export default defineNuxtConfig({ | |
lang: 'en' | ||
}, | ||
meta: [ | ||
{name: "viewport", content: "width=device-width, initial-scale=1"}, | ||
{charset: "utf-8"}, | ||
{"http-equiv": 'X-UA-Compatible', content: "IE=edge"}, | ||
{name: 'keywords', content: ''}, | ||
{ name: "viewport", content: "width=device-width, initial-scale=1" }, | ||
{ charset: "utf-8" }, | ||
{ "http-equiv": 'X-UA-Compatible', content: "IE=edge" }, | ||
{ name: 'keywords', content: '' }, | ||
{ | ||
name: 'description', | ||
content: 'Where your technological future, comes today. The limits to technology uses is beyond imagination, digitize your life with us' | ||
}, | ||
{name: 'author', content: 'Six Degrees Technologies'} | ||
{ name: 'author', content: 'Six Degrees Technologies' } | ||
], | ||
link: [ | ||
{rel: 'shortcut icon', href: '/assets/imgs/favicon.ico'}, | ||
// Google Fonts | ||
{ rel: 'shortcut icon', href: '/assets/imgs/favicon.ico' }, | ||
{ | ||
rel: 'stylesheet', | ||
href: 'https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900&display=swap' | ||
}, | ||
// CSS | ||
{rel: 'stylesheet', href: '/assets/fonts/mona-sans/style.css'}, | ||
{rel: 'stylesheet', href: '/assets/css/plugins.css'}, | ||
{rel: 'stylesheet', href: '/assets/css/style.css'}, | ||
{ rel: 'stylesheet', href: '/assets/fonts/mona-sans/style.css' }, | ||
{ rel: 'stylesheet', href: '/assets/fonts/SST/style.css' }, | ||
{ rel: 'stylesheet', href: '/assets/css/plugins.css' }, | ||
{ rel: 'stylesheet', href: '/assets/css/style.css' }, | ||
], | ||
script: [ | ||
{ src: '/assets/js/plugins.js' }, | ||
{ src: '/assets/js/isotope.pkgd.min.js' }, | ||
{ src: '/assets/js/wow.min.js' }, | ||
{ src: '/assets/js/gsap.min.js' }, | ||
{ src: '/assets/js/ScrollTrigger.min.js' }, | ||
{ src: '/assets/js/ScrollSmoother.min.js' }, | ||
{ src: '/assets/js/scripts.js', defer: true }, | ||
|
||
// Google Tag | ||
{ | ||
rel: 'stylesheet', | ||
href: 'https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.5.0/font/bootstrap-icons.min.css' | ||
hid: 'google-tag', | ||
src: 'https://www.googletagmanager.com/gtag/js?id=AW-16793981677', | ||
async: true | ||
}, | ||
{ | ||
hid: 'google-tag-config', | ||
innerHTML: ` | ||
window.dataLayer = window.dataLayer || []; | ||
function gtag(){dataLayer.push(arguments);} | ||
gtag('js', new Date()); | ||
gtag('config', 'AW-16793981677'); | ||
`, | ||
type: 'text/javascript', | ||
body: true | ||
} | ||
], | ||
script: [ | ||
{src: '/assets/js/bootstrap.bundle.min.js'}, | ||
{src: '/assets/js/plugins.js'}, | ||
{src: '/assets/js/isotope.pkgd.min.js'}, | ||
{src: '/assets/js/wow.min.js'}, | ||
{src: '/assets/js/gsap.min.js'}, | ||
{src: '/assets/js/ScrollTrigger.min.js'}, | ||
{src: '/assets/js/ScrollSmoother.min.js'}, | ||
{src: '/assets/js/scripts.js', defer: true}, | ||
{src: 'https://unpkg.com/@splinetool/[email protected]/build/spline-viewer.js', type: 'module'} // Add Spline viewer script | ||
] | ||
__dangerouslyDisableSanitizers: ['script'] // Allow inline scripts | ||
} | ||
}, | ||
css: [ | ||
|
@@ -78,7 +90,7 @@ export default defineNuxtConfig({ | |
if (typeof config.server!.hmr === 'object') { | ||
config.server!.hmr.protocol = process.env.HMR_PROTOCOL || 'ws'; | ||
} | ||
}, | ||
} | ||
}, | ||
i18n: { | ||
lazy: true, | ||
|
@@ -109,4 +121,4 @@ export default defineNuxtConfig({ | |
detectBrowserLanguage: false, | ||
vueI18n: "./i18n.config.ts", | ||
}, | ||
}); | ||
}); |