-
Notifications
You must be signed in to change notification settings - Fork 15
/
index.html
95 lines (88 loc) · 2.85 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
<!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>MovieDB!</title>
<!-- Fonts and Stylesheets -->
<link rel="stylesheet" href="public\fonts\SFProDisplay\stylesheet.css" />
<link rel="stylesheet" href="styles/global.css" />
<link rel="stylesheet" href="styles/reset.css" />
<link rel="icon" href="public\favicon-16x16.png"/>
<style>
.main-nav.glassy{
display: flex;
}
.mid{
display: flex;
justify-content: center;
padding-right: 10%;
}
</style>
</head>
<body>
<div id="backdrop" class="hidden fadeout" tabindex="0" ></div>
<div
id="search-component-form"
class="hidden to-top-animation"
tabindex="0"
>
<input
type="text"
name="search-query"
id="search-component-inp"
placeholder="Search for a movie/tv-show"
/>
<button id="search-component-btn" class="btn">Search</button>
</div>
<nav class="main-nav glassy">
<a href="/" class="clickable" >🍿 MovieDB</a>
<div class="mid"style="flex:1"> <span id="search-component-text" class="clickable" tabindex="0"
>Search</span
>
</div>
<button class="btn" title="Toggle Dark Mode" id="dark-mode-toggle">
<img src="/public/icons/moon.svg" alt="🕶️" class="light" />
</button>
</nav>
<main>
<div class="info-placeholder">
<div class="info">
<h1 class="title">Get movie details</h1>
<p class="subtitle">
Click on the
<span class="inline-btn" id="show-search-btn">Search button</span>
in the navbar to get started!
</p>
</div>
</div>
<section class="results hidden">
<h1 class="title">Search Results</h1>
<div id="search-results">
<!-- <div class="card search-result">
<div class="vinyl-record-card glassy">
<div class="vinyl-image-wrapper">
<img
src="https://m.media-amazon.com/images/M/MV5BOTA5NjhiOTAtZWM0ZC00MWNhLThiMzEtZDFkOTk2OTU1ZDJkXkEyXkFqcGdeQXVyMTA4NDI1NTQx._V1_SX300.jpg"
alt="image"
/>
</div>
<div class="vinyl-info">
<div class="overflow-info">
<h2>
<a class="clickable">Star Wars: Episode IV - A New Hope</a>
</h2>
<p>Year : 1977</p>
<p>imdbID : tt0076759</p>
<p>Type : movie</p>
</div>
</div>
</div>
</div> -->
</div>
</section>
</main>
<script type="module" src="/scripts/index.js"></script>
</body>
</html>