-
Notifications
You must be signed in to change notification settings - Fork 5
/
gatsby-config.js
57 lines (55 loc) · 1.45 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
const resolveConfig = require('tailwindcss/resolveConfig');
const tailwindConfig = require('./tailwind.config.js');
const { theme } = resolveConfig(tailwindConfig);
module.exports = {
siteMetadata: {
title: 'Ingenium',
author: 'Ingenium tech team',
description: ' Official Tech-Fest @ Ahmedabad University',
},
pathPrefix: '/website',
plugins: [
'gatsby-plugin-react-helmet',
{
resolve: 'gatsby-plugin-manifest',
options: {
name: 'Ingenium',
short_name: 'Ingenium',
start_url: '/',
background_color: theme.colors.white,
theme_color: theme.colors.extended,
icon: 'src/images/icon.svg',
},
},
{
resolve: 'gatsby-plugin-postcss',
options: {
postCssPlugins: [require('tailwindcss'), require('autoprefixer')],
},
},
{
resolve: `gatsby-plugin-google-fonts`,
options: {
fonts: [
`raleway\:300,400,400i,700`,
`oswald`,
`Shadows Into Light`,
`montserrat\:300,400,400i,700`,
`abril fatface`,
`source sans pro\:300,400,400i,700`, // you can also specify font weights and styles
],
display: 'swap',
},
},
'gatsby-plugin-catch-links',
'gatsby-transformer-remark',
'gatsby-transformer-json',
{
resolve: 'gatsby-source-filesystem',
options: {
path: `${__dirname}/src/data`,
name: 'data',
},
},
],
};