-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
97 lines (94 loc) · 4.05 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
<!doctype html>
<html>
<head>
<link rel="shortcut icon" type="image/x-icon" href="claw.png"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="index.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/instantsearch.min.css">
<!-- <link rel="stylesheet" href="login.css" type="text/css"> -->
<title>PawBooks</title>
</head>
<body>
<!-- HOMEPAGE -->
<div class="homepage" id="home">
<div class="homepage-overlay">
<div class="navigation-bar-container">
<div class="navigation-bar">
<ul>
<li id="logo-text"><a href="index.html">PAWBOOKS</a></li>
<li id="links"><a href="#list-page">SELL</a></li>
<li id="links"><a href="#search-page">BUY</a></li>
</ul>
</div>
</div>
<div class="homepage-text-container">
<h class="homepage-heading">Welcome to PawBooks! <i class="fa" id="icon-title"></i></h>
<br><br><br>
<p class="homepage-subheading">Sell your used books | Buy used books</p>
<p class="homepage-subheading">For Northwestern students, by Northwestern students</p>
<br><br><br><br>
<div class="homepage-buttons-container">
<a href="#search-page" class="homepage-button">BUY A BOOK</a>
<a href="#list-page" class="homepage-button">SELL A BOOK</a>
</div>
<br>
<i class="fa"><a class="icon-button" href=#search-page></a></i>
</div>
</div>
</div>
<!-- <div class="parallax1"><div class="parallax-overlay"></div></div> -->
<!-- SEARCH PAGE -->
<div id="search-page" class="search-page-content">
<div class="search-page-overlay">
<div class="search-container">
<br><br>
<h class="search-page-heading">Search for your class to find your required textbooks</h>
<br><br><br>
<p class="search-page-subheading">COURSE NUMBER | COURSE NAME | PROFESSOR</p>
<br><br>
<div id="searchbox" class="search-page-text" onkeydown="wipeCurrentHits(event)" onkeyup="enterEvent(event)"></div>
<br>
<div id="hits" class="search-page-text"></div>
</div>
</div>
</div>
<!-- LIST PAGE -->
<div id="list-page" class="list-page-content">
<br><br>
<h class="list-page-heading">List your used textbooks for sale</h>
<br><br><br>
<form class="list-page" id="list-page">
<fieldset>
<p class="list-page-text" >What course number of this class?</p>
<input type="text" name="course_id" class="list-input-box" autocomplete="off">
</fieldset>
<br><br>
<fieldset>
<p class="list-page-text">What is the name of the textbook?</p>
<input type="text" name="textbook_name" class="list-input-box" autocomplete="off">
</fieldset>
<br><br>
<fieldset>
<p class="list-page-text">How much would you like to list it for?</p>
<input type="text" name="cost" class="list-input-box" autocomplete="off">
</fieldset>
<br><br>
<fieldset>
<p class="list-page-text">What is your email?</p>
<input type="text" name="contact" class="list-input-box" autocomplete="off">
</fieldset>
<br><br>
<fieldset>
<button type = "submit" class="submit-button">SUBMIT</button>
</fieldset>
</form>
<br><br>
<i class="fa"><a id="icon-button" href=#top></a></i>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/instantsearch.min.js"></script>
<script src="https://cdn.jsdelivr.net/algoliasearch/3/algoliasearch.min.js"></script>
<script src="submit.js"></script>
<script src="app.js"></script>
</body>
</html>