/
index.html
94 lines (84 loc) · 4.41 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
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Gamespiration</title>
<script type="text/javascript"
src="https://code.jquery.com/jquery-3.2.1.min.js">
</script>
<link href="https://fonts.googleapis.com/css?family=Monoton" rel="stylesheet">
<!-- Added Bootstrap -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css" integrity="sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous">
<link rel="stylesheet" href="./main.css">
<!-- Insert this script for 3d viewer-->
<script
type="text/javascript" src="https://static.sketchfab.com/api/sketchfab-viewer-1.0.1.js">
</script>
</head>
<body class="body">
<main class="main">
<h2 class="title">Gamespiration</h2>
<!-- Add form for search word -->
<section class="query-block">
<fieldset>
<form class="js-search-form" action="#">
<label for="query"></label>
<input type="text" class="js-query" placeholder="Enter Search Term">
<button class="btn btn-primary" type="submit">Search</button>
</form>
</fieldset>
</section>
<p class='explanation'>Hello and welcome to Gamespiration! The site designed to inspire you in your gamemaking endevors. Simply type in a word that you would want to see in a game and we will show you some models that could be used in your game and videos of games that have used that keyword!</p>
<!-- Add bootstrap container -->
<section class="container-fluid">
<section class="row">
<!-- Adds section for 3d model viewer -->
<section class="col-lg-8">
<!-- Insert an empty iframe -->
<section class="hidden iframe-block">
<iframe class="iframe" src="" id="api-frame" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true"></iframe>
</section>
</section>
<!-- adds section for models and video -->
<section class="col-lg-4 col-model-video">
<!-- Insert section for model carousel -->
<section class="row model-carousel-row">
<section class="hidden viewer">
<div class="models">
<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
</ol>
<div class="carousel-inner" role="listbox">
<!-- appended models are added here -->
</div>
<a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</div>
</section>
</section>
<!-- insert youtube videos -->
<section class="row video-carousel-row">
<section class="hidden videos">
<!-- youTube videos added here -->
</section>
</section>
</section>
</section>
</section>
</main>
<script src="index.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.3/umd/popper.min.js" integrity="sha384-vFJXuSJphROIrBnz7yo7oB41mKfc8JzQZiCq4NCceLEaO4IHwicKwpJf9c9IpFgh" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js" integrity="sha384-alpBpkh1PFOepccYVYDB4do5UnbKysX5WZXm3XxPqe5iKTfUKjNkCk9SaVuEZflJ" crossorigin="anonymous"></script>
<script type="text/javascript" src="http://code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
</body>
</html>