This repository has been archived by the owner on Aug 1, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
62 lines (58 loc) · 2.22 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
---
title: DMCS Club
---
<!DOCTYPE html>
<html lang="en">
{% include head.html %}
<body>
{% include header.html %}
<div class="container">
<div class="jumbotron">
<div class="row">
<div class="col-sm-4">
<img class="img-responsive" src="{{site.baseurl}}/img/dmcs-transparent.png" alt="DMCS Logo" />
</div>
<div class="col-sm-8">
<h1>UCC's DMCS Club</h1>
<h2><small><span id="quote">Finding quote...</span></small></h2>
<p class="lead">
Welcome to the <b>D</b>igital <b>M</b>edia and <b>C</b>omputer <b>S</b>cience Club at Upper Canada College
</p>
<a class="btn btn-primary" href="{{site.baseurl}}/about/">Learn More</a>
<a class="btn btn-primary" onclick="randomQuote()">Another Quote</a>
</div>
</div>
</div>
</div>
{% include footer.html %}
<script>
quotes = [
"Spiders are great web developers.",
"Computers aren't scary: they don't byte!",
"It's not a bug, it's a feature!",
"There are 10 kinds of people in the world: those who understand binary, and those who don't.",
"Understanding a web developer's handwriting is hard; it's almost like a code",
"Taylor Swift only uses <style>",
"[\"hip\",\"hip\"]",
"<you're it>",
"My perfect date would be DD/MM/YYYY",
"To understand what recursion is, you must first understand recursion.",
"A SQL query walks into a bar, sees two tables and asks, \"Can I join you?\"",
"Things aren't always #000000 and #FFFFFF, but shades of #777777",
"Error 404: quote not found",
"Error 418: quote is a teapot",
"I wish we had a longer summer </br>",
"💻 💾 🎛 🖥",
"#bermuda-triangle {display: none;}",
"#china {border-top-style: solid;}",
"#titanic {float: none;}",
"#tower-of-pisa {font-style: italic;}"
];
function randomQuote(){
random = quotes[Math.floor(Math.random() * quotes.length)];
$("#quote").html(random);
}
randomQuote()
</script>
</body>
</html>