-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
138 lines (120 loc) · 4.38 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Gamor</title>
<script src="src/js/code.js"></script>
<script src="src/js/login.js"></script>
<script src="src/js/signin.js"></script>
<script src="src/js/logout.js"></script>
<link rel="stylesheet" href="src/css/style.css" />
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<body theme="dark">
<nav>
<div>
<a class="link" href="./index.html" selected>Home</a>
<a class="link" href="#">Stream</a>
<a class="link" href="#">Party</a>
<a class="link" href="#">Premium</a>
</div>
<div>
<a class="logo" href="./index.html">Gamor</a>
</div>
<div id="unlogged">
<a class="secondary-button" onclick="login()">Sign In</a>
<a class="primary-button" onclick="signin()">Create Account</a>
</div>
<div id="logged" style="display: none;">
<p gap="8px" id="username"></p>
<a class="secondary-button" onclick="logout()">Log Out</a>
</div>
</nav>
<section class="main">
<div id="left">
<h1>start<br>s<span>treaming</span><br>games<br>differently</h1>
<p>gamor has now <span>stream party</span> platform</p>
<article>
<a class="primary-button-alternative" onclick="signin()">Create Account</a>
<a class="secondary-button" onclick="login()">Sign In</a>
</article>
</div>
<div id="center">
<div>
<h2>Fornite New Season</h2>
<p><span>Join Live Stream</span></p>
</div>
<p id="clock"><script src="./src/js/clock.js"></script></p>
<img src="assets/images/dark-theme-fornite-image.png" />
</div>
<div id="right">
<h2><span>01.</span>Choose Platform</h2>
<div id="platform">
<a class="primary-button-alternative" onclick="choosePlatform(0)" selected><img src="assets/images/party-icon.svg">Party</a>
<a class="primary-button-alternative" onclick="choosePlatform(1)"><img src="assets/images/trophy-icon.svg">Match</a>
<a class="primary-button-alternative" onclick="choosePlatform(2)"><img src="assets/images/rocket-icon.svg">Stream</a>
</div>
<h2><span>02.</span>Searching Game</h2>
<div class="search">
<div id="search-bar">
<p><span id="game-name">CoD Warzone</span><img src="./assets/images/settings-icon.svg"></p>
</div>
<div id="search-items">
<p id="search-result">
<span id="rank">1</span>
<span id="name">Dr Team</span>
<span id="icons"></span>
<span id="add"><img src="./assets/images/add-icon.svg"></span>
</p>
</div>
<div>
<a class="primary-button-inverted">Search Now</a>
</div>
</div>
</div>
</section>
<section class="trending">
<h1>Trending Categories</h1>
<table>
<tr>
<td><p>/01</p><p><b>Home</b></p></td>
<td><p>/01</p><p><b>Home</b></p></td>
<td><p>/01</p><p><b>Home</b></p></td>
<td><p>/01</p><p><b>Home</b></p></td>
</tr>
<tr>
<td><p>/01</p><p><b>Home</b></p></td>
<td><p>/01</p><p><b>Home</b></p></td>
<td><p>/01</p><p><b>Home</b></p></td>
<td><p>/01</p><p><b>Home</b></p></td>
</tr>
</table>
</section>
</body>
<dialog id="sign-in" class="pop-up">
<div>
<a class="logo" href="./index.html">Gamor</a>
</div>
<h2>Username</h2>
<input id="username" type="text" placeholder="Username" />
<h2>Password</h2>
<input id="password" type="text" placeholder="Password" />
<h2>Confirm Password</h2>
<input id="cpassword" type="text" placeholder="Confirm Password" />
<br>
<a id="btn" class="primary-button">Sign In</a>
<p><span id="error">Error while signing in, tyr again</span></p>
</dialog>
<dialog id="log-in" class="pop-up">
<div>
<a class="logo" href="./index.html">Gamor</a>
</div>
<h2>Username</h2>
<input id="username" type="text" placeholder="Username" />
<h2>Password</h2>
<input id="password" type="text" placeholder="Password" />
<br>
<a id="btn" class="primary-button">Log In</a>
<p><span id="error">Invalid combination user and password</span></p>
</dialog>
</html>