-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhome.html
110 lines (110 loc) · 3.21 KB
/
home.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
<html>
<head>
<!--19BCT0033, 19BCT0034, 19BCT0097-->
<title>Trivial Trivia</title>
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh"
crossorigin="anonymous"
/>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style>
nav div {
text-align: right;
margin: 30px;
}
h1 {
font-size: 4em;
color: white;
}
h5 {
color: white;
}
p {
font-size: 1.25em;
}
button {
margin: 20px;
}
.main_link {
background-color: rgb(0, 217, 255);
color: white;
padding: 8px 20px;
margin-top: 10px;
border: none;
border-radius: 4px;
cursor: pointer;
transition: 0.5s;
background-image: linear-gradient(
to bottom right,
rgb(0, 0, 0, 0),
rgb(10, 33, 75)
);
height: 20%;
}
.main_link:hover {
background-color: #2b7a78;
}
</style>
<script>
function attempt_quiz_redirect() {
window.location.href = "localhost:3000/attempt_quiz";
}
function create_quiz_redirect() {
window.location.href = "localhost:3000/create_quiz";
}
</script>
</head>
<body
style="
background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
url('img/bg.jpg');
background-position: center;
background-size: cover;
"
>
<div class="container-fluid"></div>
<div class="container-fluid" style="margin-top: 12%">
<div class="row">
<div class="col-lg-7">
<h1>Welcome to Trivial Trivia</h1>
<br />
<p style="width: auto; text-align: justify; color: white">
This website was created for the sole purpose of learning while
having fun! Attempt quizzes from a vast array of topics and
categories. To begin all you have to do is sign up below! If you are
an existing user Login now! 😊
</p>
<centre>
<a href="/login"
><button class="btn btn-warning btn-lg" style="width: 200px">
Login
</button></a
>
<a href="/signup"
><button class="btn btn-warning btn-lg" style="width: 200px">
Sign Up
</button></a
>
</centre>
</div>
<div class="col-lg-5" style="text-align: center; padding-top: 60px">
<h5>Want to get right to it?</h5>
<h5>Choose one the options below</h5>
<br />
<a href="/attempt_quiz"
><button class="main_link" style="width: 40%">
Attempt a Quiz
</button></a
><br />
<a href="/create_quiz"
><button class="main_link" style="width: 40%">
Create a New Quiz
</button></a
><br />
</div>
</div>
</div>
</body>
</html>