-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.ejs
101 lines (87 loc) · 2.57 KB
/
index.ejs
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>HyperDAO</title>
<meta http-equiv="Content-Language" content="en">
<meta name="viewport" content="width=device-width, initial-scale=1"
content="A decentralized autonomous organization and ecosystem for the adoption of decentralized, open finance.">
<base href="<%- htmlWebpackPlugin.options.metadata.baseUrl %>">
<link rel="icon" href="favicon.ico">
<link rel="stylesheet" href="./base.css">
<script src="https://kit.fontawesome.com/bf98881e0a.js" crossorigin="anonymous"></script>
<style>
@font-face {
font-family: "Inter";
src: url("./Inter-Light.ttf");
font-weight: 300;
}
@font-face {
font-family: "Inter";
src: url("./Inter-Regular.ttf");
font-weight: 400;
}
@font-face {
font-family: "Inter";
src: url("./Inter-Medium.ttf");
font-weight: 500;
}
@font-face {
font-family: "Inter";
src: url("./Inter-SemiBold.ttf");
font-weight: 600;
}
@font-face {
font-family: "Inter";
src: url("./Inter-Bold.ttf");
font-weight: 700;
}
@font-face {
font-family: "Inter";
src: url("./Inter-ExtraBold.ttf");
font-weight: 800;
}
@font-face {
font-family: "Aeonik";
src: url("./Aeonik-Regular.otf");
}
@font-face {
font-family: "Aeonik";
src: url("./Aeonik-Bold.otf");
font-weight: 600;
}
.page.home>.banner {
background: url("/210125_CURVE_PD_APP_BANNER_V01-1.jpg") no-repeat center center;
background-size: cover;
}
</style>
<script>
(function () {
const { pathname, hostname, protocol } = window.location
// redirect to https on non-localhost
if (protocol === 'http:' && hostname !== 'localhost' && hostname.indexOf('ipfs.localhost') === -1) {
window.location.protocol = 'https'
return
}
// const ipfsMatch = /.*\/Qm\w{44}/.exec(pathname)
// changeBaseHref(ipfsMatch)
//
// window.IS_IPFS = !!ipfsMatch || hostname.endsWith('.eth.link')
//
// function changeBaseHref(match) {
// if (match && match.length > 0) {
// let baseHref = match[0]
// if (!baseHref.endsWith('/')) baseHref += '/'
//
// const base = document.querySelector('base')
// base.href = baseHref
// }
// }
//
})();
</script>
<!-- imported CSS are concatenated and added automatically -->
</head>
<body aurelia-app="main">
</body>
</html>