This repository has been archived by the owner on May 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathindex.html
50 lines (50 loc) · 1.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
<!DOCTYPE html>
<html>
<base href="/" />
<head>
<meta charset="utf-8">
<title>Product Catalogue</title>
<link href="./styles.css" rel="stylesheet" />
</head>
<body>
<main>
<div class="app-container">
<nav>
<div class="nav-container">
<img src="./contentful.svg" width="157" height="32"/>
<ul>
<li><a href="" data-nav>Products</a></li>
<li><a href="categories" data-nav>Categories</a></li>
<li><a href="about" data-nav>About</a></li>
</ul>
</div>
</nav>
<div id="content" class="content-container">
</div>
</div>
</main>
<script>
// Global PC object which contains app related code and data
window.PC = {
// each page is rendered by a method contained in this object
// and declared in the files inside of pages/
pages: {},
utils: {}
}
</script>
<script src="./es6-promise.js" charset="utf-8"></script>
<script src="https://unpkg.com/[email protected]/browser-dist/contentful.js" charset="utf-8"></script>
<script src="https://unpkg.com/[email protected]/marked.min.js" charset="utf-8"></script>
<script src="./utils.js" charset="utf-8"></script>
<script src="./app.js" charset="utf-8"></script>
<script src="./pages/products.js" charset="utf-8"></script>
<script src="./pages/product.js" charset="utf-8"></script>
<script src="./pages/brand.js" charset="utf-8"></script>
<script src="./pages/categories.js" charset="utf-8"></script>
<script src="./pages/about.js" charset="utf-8"></script>
<script>
PC.init()
</script>
<!--ANALYTICS-->
</body>
</html>