-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
263 lines (225 loc) · 16.7 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
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
<!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">
<meta name="description" content="A webApp that shows the current available free games on the Epic Games Store">
<title>Free Games</title>
<link rel="stylesheet" href="./bootstrap-5.3.0-alpha1-dist/bootstrap-5.3.0-alpha1-dist/css/bootstrap.css">
<script src="./bootstrap-5.3.0-alpha1-dist/bootstrap-5.3.0-alpha1-dist/js/bootstrap.js"></script>
<style>
html,body{
background-color: #343a40; color:lightgrey;
}
h6{
font-size: 0.9rem;
font-weight: 300;
}
.gameDesc {
font-size:0.8rem;
font-weight: 300;
}
@media (min-width: 718px) {
.gameCards{
display:flex;
justify-content: evenly;
align-items:stretch;
}
}
@media (max-width: 718px){
.gameCards{
display:flex;
justify-content: evenly;
align-items:center;
flex-direction:column;
}
}
.removeBtnStyle{
background: none;
color: inherit;
border: none;
padding: 0;
font: inherit;
cursor: pointer;
outline: inherit;
}
.hidethis{
display:none;
}
.datelink{
margin:0;
padding:0;
}
#currentStartHead{
font-size: 0.9rem;
font-weight: 300;
}
#NextStartHead{
font-size: 0.9rem;
font-weight: 300;
}
.card-title{
font-size: 1.25rem;
}
.navbar-epic-dark{
background-color:#2a2a2a!important;
}
.epic-dark{
background-color:rgb(28, 28, 28)!important;
}
</style>
<link rel="manifest" href="./manifest.json">
<link rel="apple-touch-icon" href="img/apple_touch_icon.png">
<meta name="theme-color" content="#212529"/>
</head>
<body>
<nav class="navbar bg-dark text-bg-dark ">
<div class="container">
<a class="navbar-brand" href="https://github.com/Brajo280603/FreeEpicGamesApp">
<img src="./img/maskable_icon_x384.png" alt="Free Games" width="50" height="50">
</a>
<button id="downloadBtn" class="navbar-right removeBtnStyle" onclick="triggerInstall()" style="display: none;">
<img src="./img/download.png" alt="download" width="30" height="30" style="filter: invert(1);">
</button>
<!--<button onclick="notifyMe()">notification</button>-->
</div>
</nav>
<div style="margin:1rem">
<div>
<h2>Current Free Game</h2>
<h3 id="currentStartHead">Starts From 2023-07-20T15:00:00.000Z -- Ends On 2023-08-03T15:00:00.000Z</h3>
<div class="gameCards">
<div style="margin:1rem;padding: 1rem;" >
<div class="card bg-dark" style="width: 18rem;height:100%;">
<img class="card-img-top gameImage" src="https://cdn1.epicgames.com/offer/5db7394e65044dd1bb083ee983e2b3a5/EGS_SeveredSteel_GreylockStudio_S2_1200x1600-42edb36730050be3d18171baac58a7f2" alt="currentGame">
<div class="card-body" style="display: flex; flex-direction: column; height: 100%;">
<p class="card-title text-light fw-bold gameTitle">Severed Steel</p>
<p class="card-text text-light gameDesc">A stylish single-player FPS featuring a fluid stunt system, destructible voxel environments, loads of bullet time, a unique one-armed protagonist, and a dark electronic soundtrack.</p>
<a target="_blank" href="https://store.epicgames.com/en-US/p/severed-steel" class="btn btn-primary" style="margin-top: auto;">Open Page <img style="height:32px; width:32px;filter: invert(1);" src="./img/arrow-right.png" alt=""></a>
</div>
</div>
</div><div style="margin:1rem;padding: 1rem;" >
<div class="card bg-dark" style="width: 18rem;height:100%;">
<img class="card-img-top gameImage" src="https://cdn1.epicgames.com/offer/4311a0ee99724086b1a4f261b827d038/EGS_HomeworldRemasteredCollection_GearboxSoftware_S2_1200x1600-1cae8117d05be2d91d09757668b957c4" alt="currentGame">
<div class="card-body" style="display: flex; flex-direction: column; height: 100%;">
<p class="card-title text-light fw-bold gameTitle">Homeworld Remastered Collection</p>
<p class="card-text text-light gameDesc">Experience the epic space strategy games that redefined the RTS genre. Control your fleet and build an armada across more than 30 single-player missions. Choose unit types, fleet formations and flight tactics for each strategic situation.</p>
<a target="_blank" href="https://store.epicgames.com/en-US/p/homeworld-remastered-collection" class="btn btn-primary" style="margin-top: auto;">Open Page <img style="height:32px; width:32px;filter: invert(1);" src="./img/arrow-right.png" alt=""></a>
</div>
</div>
</div><div style="margin:1rem;padding: 1rem;" >
<div class="card bg-dark" style="width: 18rem;height:100%;">
<img class="card-img-top gameImage" src="https://cdn1.epicgames.com/offer/5db7394e65044dd1bb083ee983e2b3a5/EGS_SeveredSteel_GreylockStudio_S2_1200x1600-42edb36730050be3d18171baac58a7f2" alt="currentGame">
<div class="card-body" style="display: flex; flex-direction: column; height: 100%;">
<p class="card-title text-light fw-bold gameTitle">Severed Steel</p>
<p class="card-text text-light gameDesc">A stylish single-player FPS featuring a fluid stunt system, destructible voxel environments, loads of bullet time, a unique one-armed protagonist, and a dark electronic soundtrack.</p>
<a target="_blank" href="https://store.epicgames.com/en-US/p/severed-steel" class="btn btn-primary" style="margin-top: auto;">Open Page <img style="height:32px; width:32px;filter: invert(1);" src="./img/arrow-right.png" alt=""></a>
</div>
</div>
</div><div style="margin:1rem;padding: 1rem;" >
<div class="card bg-dark" style="width: 18rem;height:100%;">
<img class="card-img-top gameImage" src="https://cdn1.epicgames.com/offer/4311a0ee99724086b1a4f261b827d038/EGS_HomeworldRemasteredCollection_GearboxSoftware_S2_1200x1600-1cae8117d05be2d91d09757668b957c4" alt="currentGame">
<div class="card-body" style="display: flex; flex-direction: column; height: 100%;">
<p class="card-title text-light fw-bold gameTitle">Homeworld Remastered Collection</p>
<p class="card-text text-light gameDesc">Experience the epic space strategy games that redefined the RTS genre. Control your fleet and build an armada across more than 30 single-player missions. Choose unit types, fleet formations and flight tactics for each strategic situation.</p>
<a target="_blank" href="https://store.epicgames.com/en-US/p/homeworld-remastered-collection" class="btn btn-primary" style="margin-top: auto;">Open Page <img style="height:32px; width:32px;filter: invert(1);" src="./img/arrow-right.png" alt=""></a>
</div>
</div>
</div><div style="margin:1rem;padding: 1rem;" >
<div class="card bg-dark" style="width: 18rem;height:100%;">
<img class="card-img-top gameImage" src="https://cdn1.epicgames.com/offer/5db7394e65044dd1bb083ee983e2b3a5/EGS_SeveredSteel_GreylockStudio_S2_1200x1600-42edb36730050be3d18171baac58a7f2" alt="currentGame">
<div class="card-body" style="display: flex; flex-direction: column; height: 100%;">
<p class="card-title text-light fw-bold gameTitle">Severed Steel</p>
<p class="card-text text-light gameDesc">A stylish single-player FPS featuring a fluid stunt system, destructible voxel environments, loads of bullet time, a unique one-armed protagonist, and a dark electronic soundtrack.</p>
<a target="_blank" href="https://store.epicgames.com/en-US/p/severed-steel" class="btn btn-primary" style="margin-top: auto;">Open Page <img style="height:32px; width:32px;filter: invert(1);" src="./img/arrow-right.png" alt=""></a>
</div>
</div>
</div><div style="margin:1rem;padding: 1rem;" >
<div class="card bg-dark" style="width: 18rem;height:100%;">
<img class="card-img-top gameImage" src="https://cdn1.epicgames.com/offer/4311a0ee99724086b1a4f261b827d038/EGS_HomeworldRemasteredCollection_GearboxSoftware_S2_1200x1600-1cae8117d05be2d91d09757668b957c4" alt="currentGame">
<div class="card-body" style="display: flex; flex-direction: column; height: 100%;">
<p class="card-title text-light fw-bold gameTitle">Homeworld Remastered Collection</p>
<p class="card-text text-light gameDesc">Experience the epic space strategy games that redefined the RTS genre. Control your fleet and build an armada across more than 30 single-player missions. Choose unit types, fleet formations and flight tactics for each strategic situation.</p>
<a target="_blank" href="https://store.epicgames.com/en-US/p/homeworld-remastered-collection" class="btn btn-primary" style="margin-top: auto;">Open Page <img style="height:32px; width:32px;filter: invert(1);" src="./img/arrow-right.png" alt=""></a>
</div>
</div>
</div>
</div>
</div>
<div>
<h2>Upcoming Free Game</h2>
<h3 id="NextStartHead">Starts From 2023-08-03T15:00:00.000Z -- Ends On 2023-08-10T15:00:00.000Z</h3>
<div class="gameCards">
<div style="margin:1rem;padding: 1rem;" >
<div class="card bg-dark" style="width: 18rem;height:100%;">
<img class="card-img-top gameImage" src="https://cdn1.epicgames.com/ff50f85ed609454e80ac46d9496da34d/offer/EGS_TheLichhasthrowntheworldintoatimelessloop_FourQuarters_S2-1200x1600-9ce7ff725ffafa800300b644df5936cd.jpg" alt="nextGame">
<div class="card-body" style="display: flex; flex-direction: column; height: 100%;">
<p class="card-title text-light fw-bold gameTitle">Loop Hero</p>
<p class="card-text text-light gameDesc">The Lich has thrown the world into a timeless loop and plunged its inhabitants into never ending chaos. Wield an expanding deck of mystical cards to place enemies, buildings, and terrain along each unique expedition loop for the brave hero.</p>
<!--<a target="_blank" href="https://www.youtube.com/watch?v=dQw4w9WgXcQ" class="btn btn-primary" style="margin-top: auto;"><p class="datelink"></p></a>-->
<a target="_blank" href="https://www.youtube.com/watch?v=dQw4w9WgXcQ" class="btn btn-primary" style="margin-top: auto;"><p class="datelink"></p></a>
</div>
</div>
</div><div style="margin:1rem;padding: 1rem;" >
<div class="card bg-dark" style="width: 18rem;height:100%;">
<img class="card-img-top gameImage" src="https://cdn1.epicgames.com/spt-assets/764b2d57552c436590f50318bd7587f9/download-bloons-td-6-offer-100fo.jpg" alt="nextGame">
<div class="card-body" style="display: flex; flex-direction: column; height: 100%;">
<p class="card-title text-light fw-bold gameTitle">Bloons TD 6</p>
<p class="card-text text-light gameDesc">The Bloons are back and better than ever! Get ready for a massive 3D tower defense game designed to give you hours and hours of the best strategy gaming available.</p>
<!--<a target="_blank" href="https://www.youtube.com/watch?v=dQw4w9WgXcQ" class="btn btn-primary" style="margin-top: auto;"><p class="datelink"></p></a>-->
<a target="_blank" href="https://store.epicgames.com/en-US/p/bloons-td-6-bf95a0" class="btn btn-primary" style="margin-top: auto;"><p class="datelink"></p></a>
</div>
</div>
</div><div style="margin:1rem;padding: 1rem;" >
<div class="card bg-dark" style="width: 18rem;height:100%;">
<img class="card-img-top gameImage" src="https://cdn1.epicgames.com/ff50f85ed609454e80ac46d9496da34d/offer/EGS_TheLichhasthrowntheworldintoatimelessloop_FourQuarters_S2-1200x1600-9ce7ff725ffafa800300b644df5936cd.jpg" alt="nextGame">
<div class="card-body" style="display: flex; flex-direction: column; height: 100%;">
<p class="card-title text-light fw-bold gameTitle">Loop Hero</p>
<p class="card-text text-light gameDesc">The Lich has thrown the world into a timeless loop and plunged its inhabitants into never ending chaos. Wield an expanding deck of mystical cards to place enemies, buildings, and terrain along each unique expedition loop for the brave hero.</p>
<!--<a target="_blank" href="https://www.youtube.com/watch?v=dQw4w9WgXcQ" class="btn btn-primary" style="margin-top: auto;"><p class="datelink"></p></a>-->
<a target="_blank" href="https://www.youtube.com/watch?v=dQw4w9WgXcQ" class="btn btn-primary" style="margin-top: auto;"><p class="datelink"></p></a>
</div>
</div>
</div><div style="margin:1rem;padding: 1rem;" >
<div class="card bg-dark" style="width: 18rem;height:100%;">
<img class="card-img-top gameImage" src="https://cdn1.epicgames.com/spt-assets/764b2d57552c436590f50318bd7587f9/download-bloons-td-6-offer-100fo.jpg" alt="nextGame">
<div class="card-body" style="display: flex; flex-direction: column; height: 100%;">
<p class="card-title text-light fw-bold gameTitle">Bloons TD 6</p>
<p class="card-text text-light gameDesc">The Bloons are back and better than ever! Get ready for a massive 3D tower defense game designed to give you hours and hours of the best strategy gaming available.</p>
<!--<a target="_blank" href="https://www.youtube.com/watch?v=dQw4w9WgXcQ" class="btn btn-primary" style="margin-top: auto;"><p class="datelink"></p></a>-->
<a target="_blank" href="https://store.epicgames.com/en-US/p/bloons-td-6-bf95a0" class="btn btn-primary" style="margin-top: auto;"><p class="datelink"></p></a>
</div>
</div>
</div><div style="margin:1rem;padding: 1rem;" >
<div class="card bg-dark" style="width: 18rem;height:100%;">
<img class="card-img-top gameImage" src="https://cdn1.epicgames.com/ff50f85ed609454e80ac46d9496da34d/offer/EGS_TheLichhasthrowntheworldintoatimelessloop_FourQuarters_S2-1200x1600-9ce7ff725ffafa800300b644df5936cd.jpg" alt="nextGame">
<div class="card-body" style="display: flex; flex-direction: column; height: 100%;">
<p class="card-title text-light fw-bold gameTitle">Loop Hero</p>
<p class="card-text text-light gameDesc">The Lich has thrown the world into a timeless loop and plunged its inhabitants into never ending chaos. Wield an expanding deck of mystical cards to place enemies, buildings, and terrain along each unique expedition loop for the brave hero.</p>
<!--<a target="_blank" href="https://www.youtube.com/watch?v=dQw4w9WgXcQ" class="btn btn-primary" style="margin-top: auto;"><p class="datelink"></p></a>-->
<a target="_blank" href="https://www.youtube.com/watch?v=dQw4w9WgXcQ" class="btn btn-primary" style="margin-top: auto;"><p class="datelink"></p></a>
</div>
</div>
</div><div style="margin:1rem;padding: 1rem;" >
<div class="card bg-dark" style="width: 18rem;height:100%;">
<img class="card-img-top gameImage" src="https://cdn1.epicgames.com/spt-assets/764b2d57552c436590f50318bd7587f9/download-bloons-td-6-offer-100fo.jpg" alt="nextGame">
<div class="card-body" style="display: flex; flex-direction: column; height: 100%;">
<p class="card-title text-light fw-bold gameTitle">Bloons TD 6</p>
<p class="card-text text-light gameDesc">The Bloons are back and better than ever! Get ready for a massive 3D tower defense game designed to give you hours and hours of the best strategy gaming available.</p>
<!--<a target="_blank" href="https://www.youtube.com/watch?v=dQw4w9WgXcQ" class="btn btn-primary" style="margin-top: auto;"><p class="datelink"></p></a>-->
<a target="_blank" href="https://store.epicgames.com/en-US/p/bloons-td-6-bf95a0" class="btn btn-primary" style="margin-top: auto;"><p class="datelink"></p></a>
</div>
</div>
</div>
</div>
</div>
<p class="hidethis" id="currStart">2023-07-20T15:00:00.000Z</p>
<p class="hidethis" id="currEnd">2023-08-03T15:00:00.000Z</p>
<p class="hidethis" id="nextStart">2023-08-03T15:00:00.000Z</p>
<p class="hidethis" id="nextEnd">2023-08-10T15:00:00.000Z</p>
</div>
</body>
<script src="./scripts/client/offline.js"></script>
<script src="./scripts/modules/client/datecalc.js"></script>
</html>