-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
233 lines (185 loc) · 10.7 KB
/
index.html
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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>Dacade - Games</title>
<link rel="stylesheet" href="assets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:300,400,700">
<link rel="stylesheet" href="assets/fonts/ionicons.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/pikaday/1.6.1/css/pikaday.min.css">
<link rel="stylesheet" href="assets/css/Pretty-Registration-Form.css">
<link rel="stylesheet" href="assets/css/scrollbar.css">
<link rel="stylesheet" href="assets/css/loader.css">
<link rel="stylesheet" href="assets/css/button.css">
<link rel="stylesheet" href="assets/css/alert.css">
<!-- css widget for ipcloud -->
<link href="https://cdn.jsdelivr.net/gh/vasa-develop/ipfscloud@f157536445863f27481d8ce5e3025f25264d1113/app/docs/v1/css/ipfscloud-uploader.min.css" rel="stylesheet">
</head>
<body id="scrollbar">
<nav class="navbar navbar-dark navbar-expand-lg fixed-top bg-white portfolio-navbar gradient">
<div class="container"><a class="navbar-brand logo" href="#">Dacade Games</a><button class="navbar-toggler"
data-toggle="collapse" data-target="#navbarNav"><span class="sr-only">Toggle navigation</span><span
class="navbar-toggler-icon"></span></button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="nav navbar-nav ml-auto">
<li class="nav-item" role="presentation"><a class="nav-link" href="index.html">Home</a></li>
<li class="nav-item" role="presentation"><a class="nav-link" href="About.html">About Me</a></li>
</ul>
</div>
</div>
</nav>
<main class="page lanidng-page">
<section class="portfolio-block block-intro">
<div class="container">
<div class="avatar" style="background-image:url("assets/img/avatars/avatar.jpg");"></div>
<div class="about-me">
<p>Welcome, get your games here at cheap prices</p>
</div>
</div>
</section>
<div id="loadings"><img src="assets\img\loading.svg">
<div class = "msg text-center"><b>LOADING</b></div></div>
<!-- Products will be rendered here -->
<section class="portfolio-block photography" id="body">
</section>
<!-- Register Game Form -->
<section class="portfolio-block call-to-action border-bottom">
<div class="container">
<div class="d-flex justify-content-center align-items-center content">
<h3><strong>Like what you see?</strong></h3>
</div>
<div class="d-flex justify-content-center align-items-center content">
<h3><strong>Register Game Below!</strong></h3>
</div>
</div>
<div class="container">
<div class="row">
<div class="col">
<div class="row register-form">
<div class="col-md-8 offset-md-2">
<form class="custom-form">
<h1>Register Form</h1>
<div class="form-row form-group">
<div class="col-sm-4 label-column"><label class="col-form-label"
for="name-input-field">Name </label></div>
<div class="col-sm-6 input-column"><input class="form-control" type="text"
id="name"></div>
</div>
<div class="col-sm-6 input-column"><input class="form-control" type="text"
id="image" placeholder="Enter Imageurl"></div>
<div class="col-sm-4 label-column"><label class="col-form-label"
for="email-input-field">Price</label></div>
<div></div><input class="form-control" type="number" id="price">
<div class="col-sm-4 label-column"><label class="col-form-label"
for="email-input-field">Description</label></div>
<div>
<textarea name="Description" id="description" cols="30" rows="10"></textarea>
</div>
<p>Upload the game file</p>
<!-- <input type="file" id="fileInput" /> -->
<input type="file" id="customfiles" style="border: solid 1px blue">
<!-- <div id="link"></div> -->
<button
class="btn btn-light submit-button" type="button"
id="regButton">Register!</button>
</form>
</div>
</div>
</div>
</div>
</div>
<!-- <center>
<div id="IpfsCloudUploader"></div>
<div id="IpfsGatewayUploadedLink"></div>
</center> -->
</section>
</main>
<section class="portfolio-block website gradient">
<div class="container">
<div class="row align-items-center">
<div class="col-md-12 col-lg-5 offset-lg-1 text">
<h3>Games Rock!</h3>
<p>VIDEO GAMES MIGHT SLOW DOWN THE AGING PROCESS.
So-called “brain games” involving problem-solving, memory, and puzzle components have been shown to have a positive benefit on older players. In one study, just 10 hours of play led to increased cognitive functioning in participants 50 and older—improvement that lasted for several years.</p>
</div>
<div class="col-md-12 col-lg-5">
<div class="portfolio-laptop-mockup">
<div class="screen">
<div class="screen-content"
style="background-image:url("assets/img/tech/image6.png");"></div>
</div>
<div class="keyboard"></div>
</div>
</div>
</div>
</div>
</section>
<footer class="page-footer">
</footer>
<!-- Mustache code -->
<script id="template" type="x-tmpl-mustache">
{{#GameArray}}
<div class="container">
<div class="row no-gutters">
<div class="col-md-6 col-lg-4 item zoom-on-hover">
<section class="portfolio-block mobile-app gradient">
<div class="container align-items-center">
<div class="row align-items-center">
<div class="col-md-12 col-lg-3 offset-lg-2">
<div class="col-md-6 col-lg-4 item zoom-on-hover"><a href="#"><img src="{{imageUrl}}" height = 300, width=300></a></div>
</div>
<div class="col-md-12 col-lg-5 text">
<div style = "align-items-center"> <h3>{{name}}</h3></div>
<h4>{{price}} aettos</h4>
<p>
{{description}}
</p>
<div class="container">
<button class="btn btn-2" id = "{{id}}">Buy Now</button>
</div>
<!-- <div id = "link"><p></p></div> -->
<div id = "{{id}}"><p>Number of Purchases : {{purchased}}</p></div>
</div>
</div>
</div>
<div></div>
</section>
</div>
<div class="col-md-6 col-lg-4 item zoom-on-hover"><a href="#"></a></div>
<div class="col-md-6 col-lg-4 item zoom-on-hover"><a href="#"></a></div>
</div>
</div>
{{/GameArray}}
</script>
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<!-- JS CDN link for IpfsCloud widget
<script src="https://cdn.jsdelivr.net/gh/vasa-develop/ipfscloud@bd23078768a5c708fc0f322a3e0e0cfb45b61f71/app/docs/v1/js/ipfscloud-uploader.min.js" ></script> -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="assets/js/jquery.min.js"></script>
<!-- <script>
ipfscloud.addEventListener("icevent", function(event) {
console.log(event.detail);
if (event.detail.status === "success") {
let ipfsLink = "https://gateway.ipfs.io/ipfs/" + event.detail.data.path;
document.getElementById("IpfsGatewayUploadedLink").innerHTML = ipfsLink;
} else {
console.log(event.detail);
alert("something happened, check console");
}
});
</script>
-->
<script src="assets/bootstrap/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mustache.js/3.0.1/mustache.js"></script>
<script src="https://unpkg.com/ipfs-http-client@30.1.3/dist/index.js"></script>
<script src="https://bundle.run/buffer@5.2.1"></script>
<!-- <script src="https://unpkg.com/ipfs-http-client/dist/index.min.js"></script> -->
<script src="https://unpkg.com/@aeternity/aepp-sdk@6.1.2/dist/aepp-sdk.browser-script.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/pikaday/1.6.1/pikaday.min.js"></script>
<script src="assets/js/theme.js"></script>
<!-- <script src="assets/js/index.js"></script> -->
<script src="public/bundle.js"></script>
<script src="assets/js/loader.js"></script>
</body>
</html>