-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstatic.config.js
57 lines (55 loc) · 1.6 KB
/
static.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
// This file is used to configure:
// - static-site generation
// - Document shell (index.html)
// - ...tons of other things!
// Get started at https://react-static.js.org
export default {
disablePreload: true,
silent: true,
plugins: [
['react-static-plugin-sass'],
['react-static-plugin-svg'],
['react-static-plugin-react-router'],
],
getSiteData: async ({ dev }) => ({
title: 'LoTerra is a lottery contract, buy tickets as a player or join the governance! DAO allows making decisions together! Manage the casino 🎰 Set the prize 🏆 Up the ticket price or go cheap 🏷 Extract max profits 🤑 Keep the vault secure at all times!',
lastBuilt: Date.now(),
}),
//maxThreads: 1, // Remove this when you start doing any static generation
getRoutes: async ({ dev }) => [
// A simple route
{
path: '/',
template: 'src/pages/Index',
},
{
path: 'staking',
template: 'src/pages/Staking',
},
{
path: 'dao',
template: 'src/pages/DAO',
},
{
path: 'dogether',
template: 'src/pages/Dogether',
},
{
path: 'spacewager',
template: 'src/pages/SpaceWager',
},
{
path: 'scoobydao',
template: 'src/pages/ScoobyDao',
},
{
path: 'rapido',
template: 'src/pages/Rapido',
},
// A 404 component
{
path: '404',
template: 'src/pages/NotFound',
},
],
}