-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
141 lines (140 loc) · 3.86 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
/**
* Configure your Gatsby site with this file.
*
* See: https://www.gatsbyjs.org/docs/gatsby-config/
*/
module.exports = {
siteMetadata: {
title: "TheRN",
titleTemplate: `Creative Agency React Gatsby Template`,
description: `TheRN specially built for Creative Agency, Corporate website, Portfolio website, Photographer, Personal Portfolio and all kinds of Personal Portfolio & Business and others. This Modern and Professional template offers Modern animation, Smooth Scrolling Animation sites etc.`,
author: `@RainbowThemes`,
twitterUsername: `@RainbowThemes`,
image: 'bg-image-1.jpg',
siteUrl: 'http://thern.rainbowit.net/',
contact: {
postal_code: 'PO Box 16122 Collins Street <br/> West Victoria 8007 Australia.',
address: '121 King Street, Melbourne Victoria 3000 Australia.',
email: 'youremail@example.com',
company_email: 'example@yourcompany.com',
company_address: '4415 Poco Mas Drive, Dallas United States.',
phone: '+012 33 445566',
phone2: '+013 55 454565',
social: {
facebook: 'https://facebook.com',
twitter: 'https://twitter.com',
linkedin: 'https://linkedin.com',
dribbble: 'https://dribbble.com'
}
},
copyright: "The RN Creative Agency. All Rights Reserved"
},
plugins: [
`gatsby-plugin-styled-components`,
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
`gatsby-plugin-react-helmet`,
`gatsby-transformer-json`,
`gatsby-plugin-sitemap`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Thern`,
short_name: `Thern`,
start_url: `/`,
background_color: `#333333`,
theme_color: `#001c43`,
display: `standalone`,
"icons": [
{
"src": "/icons/icon-72x72.png",
"sizes": "72x72",
"type": "image/png"
},
{
"src": "/icons/icon-96x96.png",
"sizes": "96x96",
"type": "image/png"
},
{
"src": "/icons/icon-128x128.png",
"sizes": "128x128",
"type": "image/png"
},
{
"src": "/icons/icon-144x144.png",
"sizes": "144x144",
"type": "image/png"
},
{
"src": "/icons/icon-152x152.png",
"sizes": "152x152",
"type": "image/png"
},
{
"src": "/icons/icon-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/icons/icon-384x384.png",
"sizes": "384x384",
"type": "image/png"
},
{
"src": "/icons/icon-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
]
},
},
{
resolve: 'gatsby-plugin-robots-txt',
options: {
host: 'http://thern.rainbowit.net/',
sitemap: 'http://thern.rainbowit.net/sitemap.xml',
policy: [{ userAgent: '*', allow: '/' }]
}
},
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
{
resolve: `gatsby-remark-images`,
options: {
maxWidth: 1920
},
},
],
},
},
{
resolve: `gatsby-plugin-prefetch-google-fonts`,
options: {
fonts: [
{
family: `Poppins`,
subsets: [`latin`],
variants: [`300`, `300i`, `400`, `400i`, `500`, `600`, `700`, `900`]
}
],
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/assets/img/`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `data`,
path: `${__dirname}/src/data/`,
},
}
]
}