-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
73 lines (72 loc) · 1.79 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
/**
* Configure your Gatsby site with this file.
*
* See: https://www.gatsbyjs.org/docs/gatsby-config/
*/
module.exports = {
/* Your site config here */
pathPrefix: "/portfolio",
siteMetadata: {
title: `Tony Yang`,
author: `Tony Yang`,
firstName: `Tony`,
lastName: `Yang`,
description: `Tony Yang's personal site`,
occupation: `Developer`,
keywords: [`Tony`, `Yang`, `Personal`, `Resume`, `Projects`, `Work`],
siteUrl:
process.env.URL || process.env.DEPLOY_URL || `http://localhost:8000`,
unemployed: true,
designations: [
`CS @ Cornell`,
`Full-Stack/Mobile Developer`,
`Basketball Enthusiast`,
],
readingList: [],
showsList: [],
},
plugins: [
`gatsby-plugin-preload-link-crossorigin`,
`gatsby-plugin-catch-links`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: "src",
path: `${__dirname}/src/`,
},
},
`gatsby-plugin-sass`,
`gatsby-transformer-remark`,
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Tony's Personal Site`,
short_name: `Tony`,
description: `This is my personal site.`,
start_url: `/`,
background_color: `#fff`,
theme_color: `#fff`,
display: `standalone`,
icon: `${__dirname}/static/favicon.png`, // This path is relative to the root of the site.
},
},
`gatsby-plugin-offline`,
`gatsby-plugin-react-helmet`,
{
resolve: "gatsby-plugin-google-fonts",
options: {
fonts: ["Raleway:300,400"],
display: "swap",
},
},
{
resolve: `gatsby-plugin-nprogress`,
options: {
color: `tomato`,
showSpinner: true,
},
},
],
}