-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgatsby-config.js
69 lines (68 loc) · 1.67 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
const { description, keywords, author } = require('./package.json');
require('dotenv').config();
module.exports = {
siteMetadata: {
siteUrl: process.env.URL || `http://localhost`,
startDate: new Date(2024, 9, 4),
endDate: new Date(2024, 9, 6),
title: `Hack the Valley 9`,
author: author.name,
description,
keywords,
featureFlags: {
mlh: true,
open: true,
discord: true,
rsvp: true,
schedule: true,
sponsors: true,
},
},
plugins: [
`gatsby-plugin-remove-serviceworker`,
`gatsby-plugin-react-helmet`,
`gatsby-transformer-sharp`,
`gatsby-plugin-netlify`,
`gatsby-plugin-sharp`,
`gatsby-plugin-image`,
'gatsby-plugin-svgr',
{
resolve: `gatsby-source-airtable`,
options: {
apiKey: process.env.AIRTABLE_API_KEY,
tables: [
{
baseId: process.env.AIRTABLE_BASE_ID,
tableView: 'Grid view',
tableLinks: ['Sponsors'],
tableName: `Sponsor Types`,
},
{
baseId: process.env.AIRTABLE_BASE_ID,
mapping: { Logo: 'fileNode' },
tableName: `Sponsors`,
},
],
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Hack The Valley 9`,
short_name: `htv9`,
start_url: `/`,
background_color: `#86cd74`,
theme_color: `#86cd74`,
display: `minimal-ui`,
icon: `./node_modules/@htv/ui-kit/assets/icon.png`,
},
},
],
};