-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhome-n.ejs
More file actions
34 lines (34 loc) · 1.61 KB
/
home-n.ejs
File metadata and controls
34 lines (34 loc) · 1.61 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel = 'stylesheet' href = 'homestyles.css'>
<title>QuizzHub | Home</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@100&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Tektur&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Oswald:wght@300&display=swap" rel="stylesheet">
</head>
<body>
<div class = 'headbar'>
<a href = '/home-n' class = 'home'>QuizzHub </a>
<a href = '/create' class = 'create'>CREATE</a>
<p style = 'color:white; font-family: "Oswald"'>Hi <%= name %></p>
</div>
<div class = 'search-container'>
<form action = '/home-n' method = 'post'>
<input type = 'text' placeholder = 'Search...' name = 'search' class = 'search-input'>
<img src = 'searchicon.png' class = 'search-icon'>
</form>
</div>
<form action = '/logout' method = 'DELETE'>
<button type = 'submit' class = 'logout'>Logout</button>
</form>
</body>
</html>