-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathnuxt.config.js
More file actions
69 lines (62 loc) · 2.92 KB
/
Copy pathnuxt.config.js
File metadata and controls
69 lines (62 loc) · 2.92 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
/* global defineNuxtConfig */
const baseUrl = 'https://projectblurple.com';
const statsUrl = 'https://api.projectblurple.com/stats';
const name = 'Project Blurple';
const desc = 'Celebrating Discord\'s Birthday!';
const color = '#5865F2';
export default defineNuxtConfig({
app: {
head: {
htmlAttrs: { lang: 'en' },
title: name,
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ name: 'mobile-web-app-capable', content: 'yes' },
{ name: 'apple-mobile-web-app-capable', content: 'yes' },
{ name: 'theme-color', content: color },
{ name: 'title', content: name },
{ name: 'description', content: desc },
{ name: 'twitter:card', content: 'summary_large_image' },
{ name: 'twitter:site', content: '@blurpleproject' },
{ name: 'twitter:creator', content: '@MattIPv4' },
{ name: 'twitter:title', content: name },
{ name: 'twitter:description', content: desc },
{ name: 'twitter:image', content: `${baseUrl}/banner.png` },
{ name: 'twitter:image:alt', content: `${name} banner image` },
{ name: 'twitter:url', content: baseUrl },
{ name: 'canonicalURL', content: baseUrl },
{ prefix: 'og: http://ogp.me/ns#', property: 'og:title', content: name },
{ prefix: 'og: http://ogp.me/ns#', property: 'og:type', content: 'website' },
{ prefix: 'og: http://ogp.me/ns#', property: 'og:locale', content: 'en_GB' },
{ prefix: 'og: http://ogp.me/ns#', property: 'og:site_name', content: name },
{ prefix: 'og: http://ogp.me/ns#', property: 'og:description', content: desc },
{ prefix: 'og: http://ogp.me/ns#', property: 'og:url', content: baseUrl },
{ prefix: 'og: http://ogp.me/ns#', property: 'og:image', content: `${baseUrl}/banner.png` },
{ prefix: 'og: http://ogp.me/ns#', property: 'og:image:url', content: `${baseUrl}/banner.png` },
],
link: [
{ rel: 'icon', type: 'image/png', href: `${baseUrl}/favicon.png` },
{ rel: 'shortcut-icon', type: 'image/png', href: `${baseUrl}/favicon.png` },
{ rel: 'icon', type: 'image/png', sizes: '512x512', href: `${baseUrl}/favicon.png` },
{ rel: 'icon', type: 'image/png', sizes: '32x32', href: `${baseUrl}/favicon-32x32.png` },
{ rel: 'icon', type: 'image/png', sizes: '16x16', href: `${baseUrl}/favicon-16x16.png` },
{ rel: 'apple-touch-icon', type: 'image/png', sizes: '180x180', href: `${baseUrl}/apple-touch-icon.png` },
{ rel: 'manifest', href: `${baseUrl}/site.webmanifest` },
{ rel: 'canonical', href: baseUrl },
],
},
},
css: [
'~/assets/fonts/whitney/stylesheet.css',
'~/assets/fonts/ginto-normal/stylesheet.css',
'~/assets/fonts/ginto-nord/stylesheet.css',
'~/assets/scss/style.scss',
],
runtimeConfig: {
public: {
statsUrl,
},
},
telemetry: false,
});