-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathstatic.config.js
More file actions
74 lines (72 loc) · 2.55 KB
/
static.config.js
File metadata and controls
74 lines (72 loc) · 2.55 KB
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
import path from 'path'
import axios from 'axios'
import React from 'react'
export default {
plugins: [
[
require.resolve('react-static-plugin-source-filesystem'),
{
location: path.resolve('./src/pages'),
},
],
require.resolve('react-static-plugin-reach-router'),
require.resolve('react-static-plugin-sitemap'),
],
getSiteData: () => ({
title: 'Task.Market'
}),
paths: {
public: 'public'
},
Document: class CustomHtml extends React.Component {
render() {
const { Html, Head, Body, children } = this.props
return (
<Html itemScope itemType="http://schema.org/Article">
<Head>
<title>Task.Market</title>
<meta charSet="UTF-8" />
<link rel="icon" type="image/png" href="/favicon.png" />
<meta
name="viewport"
content="width=device-width, initial-scale=1"
/>
<meta httpEquiv="content-language" content="en" />
<meta itemProp="name" content="MyBit" />
<meta
itemProp="description"
content="MyBit designs products that open up the world, creating tools that enable freedom and wealth generation for everyone."
/>
<meta name="robots" content="index,follow" />
<meta name="theme-color" content="#1890ff" />
<meta
name="Description"
content="MyBit designs products that open up the world, creating tools that enable freedom and wealth generation for everyone."
/>
<meta itemProp="image" content="https://mybit.io/og-preview.png" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@MyBit_DApp" />
<meta name="twitter:creator" content="@MyBit_DApp" />
<meta
name="twitter:image:src"
content="https://mybit.io/og-preview.png"
/>
<meta name="language" content="English" />
<meta property="og:url" content="https://mybit.io/" />
<meta property="og:title" content="MyBit" />
<meta
property="og:description"
content="Powering safe, solvent and trustless trading of any asset."
/>
<meta
property="og:image"
content="https://mybit.io/og-preview.jpg"
/>
<meta name="robots" content="index,follow" />
</Head>
<Body>{children}</Body>
</Html>
)
}
}
}