-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
82 lines (62 loc) · 1.83 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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<link rel="icon" type="image/png" href="/icons/favicon.png" sizes="32x32">
<link rel="icon" type="image/png" href="/icons/favicon.png" sizes="16x16">
<link rel="manifest" href="./manifest.json">
<link href="vendors/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<title>AR-M Demo</title>
</head>
<style type="text/css">
.scan{
margin-top: 21rem;
}
.btn-scan{
}
nav{
background: #673AB7;
box-shadow: 0px 0px 5px #000;
border-radius: 2%;
height: 5rem;
}
.nav-title{
color: #fff;
margin-left: 16px;
padding-top: 5px;
}
.btn-scan{
background-color: #673ab7;
color: #fff;
font-size: 2rem;
margin: 11px;
}
.btn:focus, .btn:hover {
color: #fff;
text-decoration: none;
}
</style>
<nav>
<div class="nav-title"><h4>Project AR-M Demo</h4></div>
</nav>
<body>
<div><center><h2> India's first web based AR</h2>
<p>Project AR-M is a progressive web application which enables readers to experience augmented reality in printed media including Advertisement, Education, News etc.</p>
</center></div>
<center class="scan" style="margin-top: 20%;">
<a href="app.html"><button class="btn btn-scan">Education (Microscope)</button></a><br>
<a href="app2.html"><button class="btn btn-scan">Construction (Buildings)</button></a><br>
<a href="#"><button class="btn btn-scan">Live Polls</button></a>
</center>
</body>
<script type="text/javascript">
if ('serviceWorker' in navigator) {
window.addEventListener('load', function() {
navigator.serviceWorker.register('/service-worker.js');
console.log("service worker registered.");
});
}else {
console.log("service worker could not be registered.")
}
</script>
</html>