-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
227 lines (211 loc) · 7.46 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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href="./assets/images/icons8-infinity-gauntlet-16.png" />
<link rel="stylesheet" href="./assets/css/style.css" />
<script src="https://cdn.tailwindcss.com"></script>
<title>Hero Hub</title>
<link
href="https://fonts.googleapis.com/css?family=Bangers:regular"
rel="stylesheet"
/>
</head>
<body>
<header
class="flex justify-center underline text-8xl p-12 border-4 border-black m-2 bg-scroll bg-cover bg-bottom-left text-red-600"
style="background-image: url(./assets/images/header-img)"
>
<h1 class="backdrop-blur-sm">Marvel Mayhem</h1>
</header>
<section
class="flex flex-col justify-center border-4 border-black m-2 p-9 shadow-2xl bg-fit bg-center"
style="background-image: url(./assets/images/comics-background-1.jpg)"
>
<div class="search-hero flex">
<form class="p-3">
<label for="hero-input"></label>
<input
type="text"
id="hero-name"
placeholder="Search for Superhero!"
class="hero-search-input text-xl p-2"
/>
</form>
<button
class="search-bttn bg-white hover:bg-blue-300 text-xl p-2 m-3"
type="button"
id="search-btn"
>
Search
</button>
</div>
<button class="score-board hover:bg-blue-300 text-xl p-2 m-3">
<a href="./scores.html">Score Board</a>
</button>
<!-- Modal for empty search input -->
<div
class="fixed hidden inset-0 bg-gray-600 bg-opacity-50 overflow-y-auto h-full w-full"
id="empty-search"
>
<div
class="relative top-80 mx-auto border w-80 shadow-lg rounded-md bg-white"
>
<div class="mt-3 text-center">
<h3 class="text-lg leading-6 font-medium text-gray-900">
You forgot something!
</h3>
<div class="px-7">
<p class="text-sm text-gray-500">Please type a superhero name!</p>
</div>
<div class="items-center px-4 py-3">
<button
id="ok-btn"
class="px-4 py-2 bg-yellow-300 text-black text-base font-medium rounded-md w-full shadow-sm hover:bg-yellow-300 focus:outline-none focus:ring-2 focus:ring-yellow-300"
>
OK
</button>
</div>
</div>
</div>
</div>
<!-- Modal for wrong hero name -->
<div
class="fixed hidden inset-0 bg-gray-600 bg-opacity-50 overflow-y-auto h-full w-full"
id="no-hero"
>
<div
class="relative top-80 mx-auto border w-80 shadow-lg rounded-md bg-white"
>
<div class="mt-3 text-center">
<h3 class="text-lg leading-6 font-medium text-gray-900">
Mmmmm... Are you sure?
</h3>
<div class="px-7">
<p class="text-sm text-gray-500">No Marvel hero by that name!</p>
</div>
<div class="items-center px-4 py-3">
<button
id="ok-hero-btn"
class="px-4 py-2 bg-yellow-300 text-black text-base font-medium rounded-md w-full shadow-sm hover:bg-yellow-300 focus:outline-none focus:ring-2 focus:ring-yellow-300"
>
OK
</button>
</div>
</div>
</div>
</div>
</section>
<div
class="hero-name-display hidden flex-wrap border-4 border-black text-red-600 m-2 p-10"
style="background-image: url(./assets/images/comics-background-1.jpg)"
>
<img class="hero-gif" src="#" />
</div>
<section
class="extra-info flex-wrap border-4 border-black bg-local bg-bottom-right m-2 p-10 text-red-600"
style="background-image: url(./assets/images/comics-background-2.jpg)"
>
<div class="flex-wrap buttons" id="buttons">
<button class="comics hover:bg-yellow-500 text-xl p-2 m-1">
COMICS
</button>
<button class="events bg hover:bg-yellow-500 text-xl p-2 m-1">
EVENTS
</button>
<button class="movie-appearances hover:bg-yellow-500 text-xl p-2 m-1">
MOVIES
</button>
</div>
</section>
<div
class="teams-container"
style="background-image: url(./assets/images/back.jpg)"
>
<!-- Modal to add team member -->
<div
class="fixed hidden inset-0 bg-gray-600 bg-opacity-50 overflow-y-auto h-full w-full"
id="empty-member"
>
<div
class="relative top-80 mx-auto border w-80 shadow-lg rounded-md bg-white"
>
<div class="mt-3 text-center">
<h3 class="text-lg leading-6 font-medium text-gray-900">
You forgot something!
</h3>
<div class="px-7">
<p class="text-sm text-gray-500">Type a team member name!</p>
</div>
<div class="items-center px-4 py-3">
<button
id="ok-member-btn"
class="px-4 py-2 bg-yellow-300 text-black text-base font-medium rounded-md w-full shadow-sm hover:bg-yellow-300 focus:outline-none focus:ring-2 focus:ring-yellow-300"
>
OK
</button>
</div>
</div>
</div>
</div>
<!-- Modal for buttons div -->
<div
class="fixed hidden inset-0 bg-gray-600 bg-opacity-50 overflow-y-auto h-full w-full"
id="no-typed-hero"
>
<div
class="relative top-80 mx-auto border w-80 shadow-lg rounded-md bg-white"
>
<div class="mt-3 text-center">
<h3 class="text-lg leading-6 font-medium text-gray-900">
You forgot something!
</h3>
<div class="px-7">
<p class="text-sm text-gray-500">Type a hero name first!</p>
</div>
<div class="items-center px-4 py-3">
<button
id="ok-modal-btn"
class="px-4 py-2 bg-yellow-300 text-black text-base font-medium rounded-md w-full shadow-sm hover:bg-yellow-300 focus:outline-none focus:ring-2 focus:ring-yellow-300"
>
OK
</button>
</div>
</div>
</div>
</div>
<div class="build-team flex justify-center m-5">
<h1 class="build-title m-2">Build your super dream team!</h1>
<div class="choose-heroes">
<p class="m-1">Choose 5 heroes you want on your team.</p>
<input
type="text"
placeholder="add Superhero!"
class="add-hero mr-2 text-xl"
/>
<button
class="add-hero-btn hover:bg-blue-700 text-xl"
id="add-hero-id"
>
ADD
</button>
</div>
<ul class="selected-heroes"></ul>
<div class="choose-team-name hidden">
<h3 class="team-name-title m-2">What is your team name?</h3>
<input
class="teamName text-xl"
type="text"
placeholder="Team Name Here"
/>
<button class="add-team hover:bg-blue-700 text-xl" id="add-team-name">
Add Team
</button>
</div>
</div>
</div>
<script src="assets/js/script.js"></script>
</body>
</html>