-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
50 lines (40 loc) · 1.33 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
<html>
<head>
<title>Amp JavaScript Example</title>
<meta name='viewport' content='width=device-width, initial-scale=1, user-scalable=0, maximum-scale=1, minimum-scale=1'>
<link href='css/app.css' rel='stylesheet' />
<script>
window.ampConfig = {
sessionTTL: 0
};
</script>
<!-- Replace <YOUR_PROJECT_KEY> with your Amp Project Key -->
<!-- <script type='text/javascript' src='https://amp.ai/libs/<YOUR_PROJECT_KEY>.js'></script> -->
</head>
<body>
<script type='module'>
import context from './context.js';
// Context
const ctx = context();
//TODO: Observe context
const orange = 'rgb(253, 142, 25)';
const blue = 'rgb(38, 138, 251)';
const red = 'rgb(225, 63, 63)';
//TODO: Make decision
</script>
<div class='nav'>
<div class='icon'>
<img src="images/icon.png" alt="icon">
</div>
<div class='title'>Amped Mobile Stores</div>
<div class="actions">
<div class='ctaBtn'>Cart - 0 Items</div>
</div>
</div>
<div class='main'></div>
<script src="categories.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.0.11/handlebars.min.js"></script>
<script src='templates.js'></script>
<script src='app.js'></script>
</body>
</html>