Skip to content

Commit ed30a33

Browse files
committed
remove prev box temp
1 parent 81d99f8 commit ed30a33

File tree

1 file changed

+22
-16
lines changed

1 file changed

+22
-16
lines changed

index.html

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -147,28 +147,29 @@ <h2>In partnership with:</h2>
147147
<img src="./ni-white.png" width="100%" />
148148
</div>
149149

150-
<div id="links">
150+
<div id="links">
151151
<h2>Join us during the DEF CON 33 CTF Finals</h2>
152152
<!--<h3><a href="https://youtube.com/live/1l5DOXhooFI">Day 3 Stream</a></h3>-->
153153
<!--<h4><a href="https://youtube.com/live/TYn38VfmDRU">Day 2 Stream</a></h4>-->
154-
<h3><a href="https://youtube.com/live/YcXgm9zy4Vk">Day 1 Stream</a></h3>
154+
<h3>
155+
<a href="https://youtube.com/live/YcXgm9zy4Vk">Day 1 Stream</a>
156+
</h3>
155157
</div>
156158

157-
<div id="previous">
159+
<!--<div id="previous">
158160
<p>Past events:</p>
159161
<ul>
160162
<li><a href="2024-quals.html">2024 DEF CON Quals</a></li>
161163
<li><a href="2023.html">2023 DEF CON Finals</a></li>
162164
<li><a href="2023-quals.html">2023 DEF CON Quals</a></li>
163165
<li><a href="2022.html">2022 DEF CON Finals</a></li>
164166
</ul>
165-
</div>
167+
</div>-->
166168
</div>
167169
</div>
168-
169-
170+
170171
<iframe
171-
id="bracket"
172+
id="bracket"
172173
src="https://livectf.challonge.com/livectf_defcon2025/module"
173174
width="100%"
174175
height="1000"
@@ -180,9 +181,8 @@ <h3><a href="https://youtube.com/live/YcXgm9zy4Vk">Day 1 Stream</a></h3>
180181
<div class="chevron"></div>
181182
</div>
182183

183-
184184
<script>
185-
const deadline = 'August 13 2023 10:00:00 UTC-0700';
185+
const deadline = "August 13 2023 10:00:00 UTC-0700";
186186
function getTimeRemaining(endtime) {
187187
const total = Date.parse(endtime) - Date.parse(new Date());
188188
const seconds = Math.floor((total / 1000) % 60);
@@ -195,28 +195,34 @@ <h3><a href="https://youtube.com/live/YcXgm9zy4Vk">Day 1 Stream</a></h3>
195195
days,
196196
hours,
197197
minutes,
198-
seconds
198+
seconds,
199199
};
200200
}
201201
function initializeClock(id, endtime) {
202202
const clock = document.getElementById(id);
203203
const timeinterval = setInterval(() => {
204204
const t = getTimeRemaining(endtime);
205-
clock.innerHTML = t.days + 'd ' + t.hours + 'h ' + t.minutes + 'm ' + t.seconds + 's ';
205+
clock.innerHTML =
206+
t.days +
207+
"d " +
208+
t.hours +
209+
"h " +
210+
t.minutes +
211+
"m " +
212+
t.seconds +
213+
"s ";
206214
if (t.total <= 0) {
207215
clearInterval(timeinterval);
208216
}
209217
}, 1000);
210218
}
211-
initializeClock('clockdiv', deadline);
219+
initializeClock("clockdiv", deadline);
212220

213221
document.getElementById("bracket-button").onclick = function () {
214-
document.getElementById('bracket').scrollIntoView({
215-
behavior: 'smooth'
222+
document.getElementById("bracket").scrollIntoView({
223+
behavior: "smooth",
216224
});
217225
};
218-
219226
</script>
220-
221227
</body>
222228
</html>

0 commit comments

Comments
 (0)