-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
121 lines (90 loc) · 3.49 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
<!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">
<title>All Marvel Superhero Collection</title>
<link rel="stylesheet" href="assets/css/home.css">
<link rel="icon" type="image/png" href="./assets/images/favicon.ico">
</head>
<body>
<video autoplay muted loop id="myVideo1">
<source src="/assets/videos/video1.mp4" type="video/mp4">
</video>
<video autoplay muted loop id="myVideo2">
<source src="./assets/videos/video2.mp4" type="video/mp4">
</video>
<video autoplay muted loop id="myVideo3">
<source src="./assets/videos/video3.mp4" type="video/mp4">
</video>
<video autoplay muted loop id="myVideo4">
<source src="./assets/videos/video4.mp4" type="video/mp4">
</video>
<!-- This div contains navbar and search bar -->
<div id="main-1">
<div id="nav-bar">
<!-- <div class="nav-items">
<img style="width: 47px; height: 37px;" src="./assets/images/superhero.jpg" alt="">
</div> -->
<div class="nav-items">
<a href="index.html">
Home</a>
</div>
<div class="nav-items">
<a href="favourite.html">
<i class="fas fa-heart"></i>
Favourites</a>
</div>
<!-- Search bar -->
<div id="search-bar">
<div id="superhero-choose">
<!-- <label for="name-input">Superhero Name : </label> -->
<input type="text" name="superhero_name" placeholder="Super Hero Name" id="name-input">
</div>
<div class="btn" id="get-image">Find!</div>
</div>
</div>
<!-- Hamburger menu for smaller screens -->
<div id="ham-btn"><i class="fas fa-bars"></i></div>
<div id="ham-bar">
<div class="nav-items">
<a href="index.html">
<i class="fas fa-mask"></i>
Home</a>
</div>
<div class="nav-items">
<a href="favourite.html">
<i class="fas fa-heart"></i>
Favourites</a>
</div>
</div>
<!-- div to indicate user to search -->
<div id="heading-main"><span id="headin-in"> Go and search For Your Favourite Super Heroes here! </span></div>
<!-- fixed div to show toasts -->
<div id="toast-div">
<!-- Error -->
</div>
</div>
<!-- div to insert superhero cards -->
<div id="main-2">
<!-- <div class="card-layout">
<div class="hero-id">
122
</div>
<div class="hero-img-container">
<img class="hero-img" src="https://www.superherodb.com/pictures2/portraits/10/100/133.jpg" alt="">
</div>
<div class="card-body">
<div class="hero-name">Spider-Man</div>
<div class="starred">
<i class="far fa-heart"></i>
</div>
</div>
</div> -->
</div>
<!-- script files and fontawesome scripts -->
<script src="./assets/js/home.js"></script>
<script src="https://kit.fontawesome.com/c2e4f2d141.js" crossorigin="anonymous"></script>
</body>
</html>