-
Notifications
You must be signed in to change notification settings - Fork 20
/
index.html
174 lines (152 loc) · 8.6 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Examples from my model-viewer course">
<meta name="author" content="Nik Lever">
<meta property="og:title" content="Model-viewer Course">
<meta property="og:type" content="website">
<meta property="og:url" content="https://niklever.com/mycourses/model-viewer">
<meta property="og:description" content="Examples from my model-viewer course">
<meta property="og:image" content="image.png">
<link rel="apple-touch-icon" sizes="180x180" href="assets/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32 " href="assets/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="assets/favicon/favicon-16x16.png">
<link rel="manifest" href="assets/favicon/site.webmanifest">
<title>Model-viewer: AR the easy way</title>
<link rel="canonical" href="https://getbootstrap.com/docs/4.0/examples/jumbotron/">
<!-- Bootstrap core CSS -->
<link href="libs/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<style>
body{
padding-top: 3.5rem;
}
.col-md-4 img{
width: 100%;
}
.code-along{
position: absolute;
bottom: 75px;
}
.complete{
margin-top: auto;
}
.jumbotron{
background: url("images/course-image.png") no-repeat center center #ccc;
-webkit-background-size: 100% 100%;
-moz-background-size: 100% 100%;
-o-background-size: 100% 100%;
background-size: auto 100%;
}
</style>
</head>
<body>
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
<a class="navbar-brand" href="https://niklever.com/courses">Nik Lever</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExampleDefault" aria-controls="navbarsExampleDefault" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarsExampleDefault">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://modelviewer.dev">Model-viewer</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="http://example.com" id="dropdown01" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">More links</a>
<div class="dropdown-menu" aria-labelledby="dropdown01">
<a class="dropdown-item" href="api/">API Examples</a>
<a class="dropdown-item" href="https://blender.org">Blender</a>
<a class="dropdown-item" href="https://threejs.org">ThreeJS</a>
<a class="dropdown-item" href="https://github.com/takahirox/glTF-Blender-IO-materials-variants">GLTF variants</a>
</div>
</li>
</ul>
<!--<form class="form-inline my-2 my-lg-0">
<input class="form-control mr-sm-2" type="text" placeholder="Search" aria-label="Search">
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
</form>-->
</div>
</nav>
<main role="main">
<!-- Main jumbotron for a primary marketing message or call to action -->
<div class="jumbotron">
<div class="container">
<h1 class="display-3">Model-viewer: web 3D the easy way</h1>
<p>Model-viewer is a Web Component from Google that makes displaying interactive 3D modls on a web page super easy.
The component also includes AR modes that work on suitable Android and iOS devices. On this page you'll find examples
from my model-viewer course.</p>
<p><a class="btn btn-primary btn-lg" href="https://niklever.com/courses" role="button">Get the course »</a></p>
</div>
</div>
<div class="container">
<!-- Example row of columns -->
<div class="row">
<div class="col-md-4 card-body d-flex flex-column">
<img src="images/steampunk.png" class="rounded mx-auto d-block" alt="Steampunk Camera" />
<h1 class="card-title pricing-card-title">Steampunk Camera</h1>
<p>A simple example, illustrating loading and ar modes</p><br>
<a href="code-along/camera.html" class="code-along"><strong>Code-along</strong></a>
<a type="button" class="align-self-end btn btn-lg btn-block btn-primary complete" href="examples/camera.html">Complete</a>
</div>
<div class="col-md-4 card-body d-flex flex-column">
<img src="images/knight.png" class="rounded mx-auto d-block" alt="Knight" />
<h1 class="card-title pricing-card-title">Knight</h1>
<p>An example showing animation of a character</p><br>
<a href="code-along/knight.html" class="code-along"><strong>Code-along</strong></a>
<a type="button" class="align-self-end btn btn-lg btn-block btn-primary complete" href="examples/knight.html">Complete</a>
</div>
<div class="col-md-4 card-body d-flex flex-column">
<img src="images/shop.png" class="rounded mx-auto d-block" alt="Shop" />
<h1 class="card-title pricing-card-title">Shop</h1>
<p>Using <model-viewer> for an online shop, with AR</p><br>
<a href="code-along/shop.html" class="code-along"><strong>Code-along</strong></a>
<a type="button" class="align-self-end btn btn-lg btn-block btn-primary complete" href="examples/shop.html">Complete</a>
</div>
</div>
<div class="row">
<div class="col-md-4 card-body d-flex flex-column">
<img src="images/canon.png" class="rounded mx-auto d-block" alt="Canon AT Camera" />
<h1 class="card-title pricing-card-title">Canon AT Retro Camera</h1>
<p>Using camera orbit to highlight certain features</p><br>
<a href="code-along/canon.html" class="code-along"><strong>Code-along</strong></a>
<a type="button" class="align-self-end btn btn-lg btn-block btn-primary complete" href="examples/canon.html">Complete</a>
</div>
<div class="col-md-4 card-body d-flex flex-column">
<img src="images/bmw.png" class="rounded mx-auto d-block" alt="BMW S1000" />
<h1 class="card-title pricing-card-title">BMW S-1000</h1>
<p>A high-performance motorcycle</p><br>
<a href="code-along/motorcycle/index.html" class="code-along"><strong>Code-along</strong></a>
<a type="button" class="align-self-end btn btn-lg btn-block btn-primary complete" href="examples/motorcycle/index.html">Complete</a>
</div>
<div class="col-md-4 card-body d-flex flex-column">
<img src="images/workshop.png" class="rounded mx-auto d-block" alt="An alchemists workshop" />
<h1 class="card-title pricing-card-title">Twitter</h1>
<p>A Twitter card</p><br>
<a href="code-along/tw-workshop.html" class="code-along"><strong>Code-along</strong></a>
<a type="button" class="align-self-end btn btn-lg btn-block btn-primary complete" href="https://cards-dev.twitter.com/validator">Complete</a>
</div>
<div class="col-md-4 card-body d-flex flex-column">
<img src="images/pp.png" class="rounded mx-auto d-block" alt="A post processing example" />
<h1 class="card-title pricing-card-title">Post Processing</h1>
<p>See how easy it is to add post-processing filters</p><br>
<a href="code-along/post-processing.html" class="code-along"><strong>Code-along</strong></a>
<a type="button" class="align-self-end btn btn-lg btn-block btn-primary complete" href="examples/post-processing.html">Complete</a>
</div>
</div>
<hr>
</div> <!-- /container -->
</main>
<footer class="container">
<p>© Nik Lever 2023</p>
</footer>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="libs/bootstrap/js/bootstrap.min.js"></script>
</body>
</html>