-
Notifications
You must be signed in to change notification settings - Fork 1
/
ultimate_game.html
157 lines (153 loc) · 7.17 KB
/
ultimate_game.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="free game,gamebase,game base,free platform ,woc, iitism,IITISM,Tank ">
<meta name="author" content="Aman Kanojiya">
<title>Ultimate Game</title>
<link rel="icon" href="photos/logo.png">
<link rel="stylesheet" href="style/loader.css">
<link rel="stylesheet" href="style/ultimate_game.css">
<!-- for size---------------------------------- -->
<link rel="stylesheet" href="style/nav.css">
</head>
<body onselectstart="return false">
<!-- scroll palet---------------------------------- -->
<div id="progressbar"></div>
<div id="scrollpath"></div>
<!-- loader part------------------------------------------------------- -->
<div class="preloader" id="preloader">
<div class="loader" id="loader"></div></div>
<!-- top part navigation----------------------------------------------- -->
<div class="top">
<a href="main.html"><img src="photos/logo.png" alt="" class="logo" id="logo_m"></a>
</div>
<!-- top if size is smaller then 850 px ------------------------------------>
<div id="social"></div>
<nav id="nav_ham" class="nav_ham">
<a href="main.html"><img src="photos/logo.png" alt="" class="logo" id="logo_m"></a>
<ul class="navlinks">
<li><a href="main.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="help.html">Contact</a></li>
<li id="search_now_ham"><div>Search</div></li>
</ul>
<div class="burger">
<div class="line1" draggable="true"></div>
<div class="line2" draggable="true"></div>
<div class="line3" draggable="true"></div>
</div>
</nav>
<!-- edit game block-------------------------------------------------- -->
<div class="edit" id="edit">
<input type="text" id="editgame_name" placeholder="Name" autocomplete="off" class="input edit_inp">
<input type="url" id="editgame_link" placeholder="Game Link" autocomplete="off" class="input edit_inp">
<input type="url" id="editgame_imagelink" placeholder="Game Image Link" autocomplete="off" class="input edit_inp">
<textarea type="text" id="editgame_description" placeholder="Game Description" cols="30" rows="10" autocomplete="off" class="input edit_inp"></textarea>
<div class="edit_btn">
<div class="ok_edit button edit_in" id="ok_edit">Edit</div>
<div class="cancel_edit button edit_in" id="cancel_edit">Cancel</div>
</div>
</div>
<!-- search system rexxpect to top ------------------------------------- -->
<div class="search" id="search">
<div class="search_text" id="search_text">
<img src="photos/search.svg" class="search_icon_inp" alt="" srcset="">
<input type="search" name="search" id="search_text_inp" class="search_text_inp" placeholder="Search">
</div>
<div class="search_res" id="search_res">
<div class="search_res_game" id="search_res_game-1">
<img src="photos/bg-story.7.jpg" alt="">
<h3>This is name of the game</h3>
</div>
</div>
<div class="close_sea" id="close_sea">
<img src="photos/close.png" id="close_icon_inp" class="close_icon_inp" alt="" srcset="">
</div>
</div>
</div>
<!-- main screen ------------------------------------------------------ -->
<div class="main" id="main">
<div class="search_games" id="search_games">
<img src="photos/search.svg" class="search_icon_inp" alt="" srcset="">
<input type="search" name="search" id="search_text_inp_ult" class="search_text_inp" placeholder="Search">
<select name="category" id="category" class="category">
<option value="all" class="options">All</option>
<option value="new" class="options">New</option>
<option value="trending" class="options">Trending</option>
<option value="car" class="options">Car</option>
<option value="bubble" class="options">Bubble</option>
<option value="creative" class="options">Creative</option>
</select>
</div>
<div class="game_section" id="game_section">
</div>
</div>
<!-- footer section -------------------------------------------------------- -->
<div class="ult_btn" id="ult_btn">
<div href="#" class="button" id="close_btn">Close</div>
<!-- <div id="logout_on" class="button" style="color: white; cursor: pointer;" onclick="logout_l()">LOG OUT </div> -->
</div>
<div class="copyright_text">
<p class="copy_text">
Copyright © 2021 All rights reserved | This template is made by <a href="#" target="_blank">Aman Kanojiya</a></p>
</div>
</body>
<script src="js/vanilla-tilt.js"></script>
<!-- <script src="js/aos.js"></script> -->
<!-- Insert these scripts at the bottom of the HTML, but before you use any Firebase services -->
<!-- Firebase App (the core Firebase SDK) is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/8.2.8/firebase-app.js"></script>
<!-- If you enabled Analytics in your project, add the Firebase SDK for Analytics -->
<script src="https://www.gstatic.com/firebasejs/8.2.8/firebase-analytics.js"></script>
<!-- Add Firebase products that you want to use -->
<script src="https://www.gstatic.com/firebasejs/8.2.8/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.2.8/firebase-firestore.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.2.8/firebase-database.js"></script>
<script>
// Your web app's Firebase configuration
// comment
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
var firebaseConfig = {
apiKey: "AIzaSyBAxH0iNVGmQTxx0loEDchJEwrYi11geFY",
authDomain: "game-base-4203.firebaseapp.com",
projectId: "game-base-4203",
storageBucket: "game-base-4203.appspot.com",
messagingSenderId: "614367861461",
appId: "1:614367861461:web:1bf7c81c661a8632ffa05c",
measurementId: "G-FQ3C0PPKPQ"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
firebase.analytics();
</script>
<script src="js/jquery-3.5.1.js"></script>
<script src="js/ultimate_game.js"></script>
<script type="text/javascript">
let progress=document.getElementById("progressbar");
let totalheight=document.body.scrollHeight - window.innerHeight;
window.onscroll=function(){
let progressheight=(window.pageYOffset/totalheight)*100;
progress.style.height=progressheight+"%";
}
// VanillaTilt.init(document.querySelectorAll(".tilt"), {
// max: 20,
// speed: 400,
// glare:true,
// "max-glare":0.5
// });
document.querySelectorAll(".tilt").forEach(element => {
console.log(element)
VanillaTilt.init(element, {
max: 40,
speed: 400,
glare:true,
"max-glare":0.5
});
});
</script>
<script src="js/search.js"></script>
<script src="js/loader.js"></script>
<script src="js/nav.js"></script>
</html>