-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathgatsby-config.js
106 lines (105 loc) · 3.22 KB
/
gatsby-config.js
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
require('dotenv').config({
path: `.env.${process.env.NODE_ENV}`
});
module.exports = {
siteMetadata: {
// title: 'Computer Science Enrichment Club',
title: "CSEC at University of Toronto Scarborough",
keywords: ['CSEC', 'CSEC-W', 'CSEC-A', 'CSEC-S', 'Computer Science Enrichment Club', 'AMACSS', 'UTSC', '~csec', 'cs', 'algorithms', 'development', 'club', 'UTSC CS', 'UofT CS', 'University of Toronto', 'Scarborough', 'Computer Science', 'Programming', 'Programming Club', 'UTSC Programming Club', 'UTSC Computer Science Clubs', 'UTSC Computer Science', 'Nick\'s Programming Club', 'AMACSS'],
// description: 'Welcome to CSEC. The Computer Science Enrichment Club is a student-run group that focuses on helping students with a passion for Computer Science take the next steps in their career.',
description: "CSEC brings computer science students together and helps them take the next step in their careers!",
author: 'Frederic Pun',
themeColor: "#1d2731"
},
plugins: [
'gatsby-transformer-sharp',
'gatsby-transformer-json',
'gatsby-plugin-layout',
'gatsby-plugin-sharp',
'gatsby-plugin-sass',
'gatsby-plugin-netlify',
`gatsby-plugin-image`,
`gatsby-plugin-sharp`,
`gatsby-transformer-sharp`,
`gatsby-transformer-json`,
{
resolve: 'gatsby-plugin-google-fonts',
options: {
fonts: [
`Rubik\:400,500`,
`noto sans\:500,600`
],
display: 'swap'
}
},
{
resolve: 'gatsby-plugin-react-svg',
options: {
include: /\.svg$/,
exclude: /node_modules/
}
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'images',
path: `${__dirname}/src/images`
}
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'data',
path: `${__dirname}/src/data`
}
},
{
resolve: 'gatsby-plugin-manifest',
options: {
name: 'gatsby-starter-default',
short_name: 'starter',
start_url: '/',
background_color: '#663399',
theme_color: '#663399',
display: 'minimal-ui',
icon: './src/images/Logo.png'
}
},
{
resolve: 'gatsby-plugin-module-resolver',
options: {
aliases: {
'@components': './src/components',
'@util': './src/util',
'@sections': './src/components/pages',
'@styles': './src/styles',
'@images': './src/images'
}
}
},
// {
// resolve: 'gatsby-plugin-webpack-bundle-analyzer',
// options: {
// analyzerPort: 8001,
// production: true
// },
// },
// {
// resolve: `gatsby-source-strapi`,
// options: {
// apiURL: process.env.GATSBY_STAPI,
// queryLimit: 1000000, // Default to 100
// contentTypes: [`album`, `article`, `division`, `resource`, `executive`, `seminar`],
// },
// },
{
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: "UA-112733614-2"
},
},
// this (optional) plugin enables Progressive Web App + Offline functionality
// To learn more, visit: https://gatsby.dev/offline
// 'gatsby-plugin-offline',
]
}