-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
142 lines (140 loc) · 4.53 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
142
/**
* @type {import('gatsby').GatsbyConfig}
*/
const siteUrl = 'https://sadegh-zr.github.io/fallacies/';
module.exports = {
pathPrefix: "/fallacies",
siteMetadata: {
siteUrl
},
plugins: [
{
resolve: `gatsby-plugin-nprogress`,
options: {
color: `#0C356A`,
showSpinner: false,
},
},
{
resolve: "gatsby-source-filesystem",
options: {
name: `examQuestionCount`,
path: `${__dirname}/examQuestionCount`,
}
},
{
resolve: `gatsby-plugin-manifest`,
options: {
siteUrl,
name: `مغالطات`,
description: "مرجعی برای رشد تفکر منطقی به وسیله معرفی و توضیح مغالطات به همراه مثالهای مختلف و آزمون",
short_name: `مغالطات`,
start_url: `/`,
background_color: `#fbc531`,
theme_color: `#fbc531`,
display: `standalone`,
theme_color_in_head: false,
screenshots: [
{
src: "/fallacies/screenshots/1.jpg",
sizes: "591x1280",
type: "image/jpeg",
form_factor: "narrow",
label: "صفحه اصلی با مشخص بودن مغالطاتی که نیاز به مرور دارند"
},
{
src: "/fallacies/screenshots/2.jpg",
sizes: "591x1280",
type: "image/jpeg",
form_factor: "narrow",
label: "توضیحات و مثالهای هر مغالطه",
},
{
src: "/fallacies/screenshots/3.jpg",
sizes: "591x1280",
type: "image/jpeg",
form_factor: "narrow",
label: "کسی دچار مغالطه خاصی شده است؟ متنی که اپلیکیشن برای شما تولید میکند برای او بفرستید!"
},
{
src: "/fallacies/screenshots/4.jpg",
sizes: "591x1280",
type: "image/jpeg",
form_factor: "narrow",
label: "بخش آزمون با قابلیت نمایش خطاها و مرور آنها"
},
{
src: "/fallacies/screenshots/5.jpg",
sizes: "591x1280",
type: "image/jpeg",
form_factor: "narrow",
label: "نتایج آزمون",
},
// {
// src: "/fallacies/screenshots/6.png",
// sizes: "1115x624",
// type: "image/png",
// label: "صفحه اصلی با مشخص بودن مغالطاتی که نیاز به مرور دارند",
// form_factor: "wide",
// },
{
src: "/fallacies/screenshots/7.png",
sizes: "1115x624",
type: "image/png",
label: "توضیحات و مثالهای هر مغالطه",
form_factor: "wide",
},
{
src: "/fallacies/screenshots/8.png",
sizes: "1115x624",
type: "image/png",
label: "کسی دچار مغالطه خاصی شده است؟ متنی که اپلیکیشن برای شما تولید میکند برای او بفرستید!",
form_factor: "wide",
},
{
src: "/fallacies/screenshots/9.png",
sizes: "1115x624",
type: "image/png",
label: "بخش آزمون با قابلیت نمایش خطاها و مرور آنها",
form_factor: "wide",
},
// {
// src: "/fallacies/screenshots/10.png",
// sizes: "1115x624",
// type: "image/png",
// label: "بخش نتایج آزمون",
// form_factor: "wide",
// },
],
icon: "./src/images/icon.svg",
icons: [
{
src: `/favicons/android-chrome-192x192.png`,
sizes: `192x192`,
type: `image/png`,
purpose: 'maskable',
},
{
src: `/favicons/android-chrome-192x192.png`,
sizes: `192x192`,
type: `image/png`,
purpose: 'any',
},
{
src: `/favicons/android-chrome-512x512.png`,
sizes: `512x512`,
type: `image/png`,
purpose: 'maskable',
},
{
src: `/favicons/android-chrome-512x512.png`,
sizes: `512x512`,
type: `image/png`,
purpose: 'any',
},
]
},
},
'gatsby-plugin-offline'
],
}