forked from singhayushh/kgec-summer-of-code
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathheader.html
93 lines (92 loc) · 4.74 KB
/
header.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
<!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" />
<link rel="shortcut icon" href="./img/ksoc-new-fav-icon.png" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css"
/>
<link rel="stylesheet" href="./css/style.css" />
<link rel="stylesheet" href="./css/bubbles.css" />
<link rel="stylesheet" href="./css/faq.css" />
<link rel="stylesheet" href="./css/leaderboard.css" />
<link rel="stylesheet" href="./css/modal.css" />
<title>{{.title}}</title>
</head>
<body>
<div class="navbar">
<div class="nav-links">
<div class="nav-link-item">
<a href="/"><i class="fa-solid fa-house"></i></a>
</div>
<div class="nav-link-item">
<a href="/#timeline"><i class="fa-solid fa-timeline"></i></a>
</div>
<div class="nav-link-item">
<a href="/projects"><i class="fa-solid fa-file-code"></i></a>
</div>
<div class="nav-link-item">
<a href="/dashboard"><i class="fa-solid fa-table-columns"></i></a>
</div>
<div class="nav-link-item">
<a href="/leaderboard"><i class="fa-solid fa-people-group"></i></a>
</div>
</div>
</div>
<header>
<div class="container">
<a class="logo" href="/">
<img src="./img/ksoc-new-logo.png" alt="KSOC" />
</a>
{{if .button}}
<a class="btn btn-cta big" href="/dashboard"> View Dashboard </a>
<a class="btn btn-cta small" href="/dashboard" title="View Dashboard">
<svg
aria-hidden="true"
focusable="false"
data-prefix="fas"
data-icon="analytics"
role="img"
width="25"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 576 512"
class="svg-inline--fa fa-analytics fa-w-18 fa-7x"
>
<path
fill="currentColor"
d="M510.62 92.63C516.03 94.74 521.85 96 528 96c26.51 0 48-21.49 48-48S554.51 0 528 0s-48 21.49-48 48c0 2.43.37 4.76.71 7.09l-95.34 76.27c-5.4-2.11-11.23-3.37-17.38-3.37s-11.97 1.26-17.38 3.37L255.29 55.1c.35-2.33.71-4.67.71-7.1 0-26.51-21.49-48-48-48s-48 21.49-48 48c0 4.27.74 8.34 1.78 12.28l-101.5 101.5C56.34 160.74 52.27 160 48 160c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-4.27-.74-8.34-1.78-12.28l101.5-101.5C199.66 95.26 203.73 96 208 96c6.15 0 11.97-1.26 17.38-3.37l95.34 76.27c-.35 2.33-.71 4.67-.71 7.1 0 26.51 21.49 48 48 48s48-21.49 48-48c0-2.43-.37-4.76-.71-7.09l95.32-76.28zM400 320h-64c-8.84 0-16 7.16-16 16v160c0 8.84 7.16 16 16 16h64c8.84 0 16-7.16 16-16V336c0-8.84-7.16-16-16-16zm160-128h-64c-8.84 0-16 7.16-16 16v288c0 8.84 7.16 16 16 16h64c8.84 0 16-7.16 16-16V208c0-8.84-7.16-16-16-16zm-320 0h-64c-8.84 0-16 7.16-16 16v288c0 8.84 7.16 16 16 16h64c8.84 0 16-7.16 16-16V208c0-8.84-7.16-16-16-16zM80 352H16c-8.84 0-16 7.16-16 16v128c0 8.84 7.16 16 16 16h64c8.84 0 16-7.16 16-16V368c0-8.84-7.16-16-16-16z"
class=""
></path>
</svg>
<div class="tooltip">View Dashboard</div>
</a>
{{end}} {{if not .button}}
<a class="btn btn-cta big" href="/projects"> View Projects </a>
<a class="btn btn-cta small" href="/projects" title="View Projects">
<svg
aria-hidden="true"
focusable="false"
data-prefix="fas"
data-icon="books"
role="img"
width="25"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 576 512"
class="svg-inline--fa fa-books fa-w-18 fa-7x"
>
<path
fill="currentColor"
d="M575.11 443.25L461.51 19.06C458.2 6.7 445.61-3.18 430.15.96L414.7 5.1c-6.18 1.66-11.53 6.4-16.06 14.24-14.03 6.94-52.3 17.21-68 18.22-7.84-4.53-14.85-5.96-21.03-4.3l-15.46 4.14c-2.42.65-4.2 1.95-6.15 3.08V32c0-17.67-14.33-32-32-32h-64c-17.67 0-32 14.33-32 32v64h128l101.66 396.94c3.31 12.36 15.9 22.24 31.36 18.1l15.45-4.14c6.18-1.66 11.53-6.4 16.06-14.24 13.91-6.88 52.18-17.2 68-18.22 7.84 4.53 14.85 5.96 21.03 4.3l15.46-4.14c15.45-4.14 21.41-18.99 18.09-31.35zm-134.4-7.06L348.64 92.37l61.82-16.56 92.07 343.82-61.82 16.56zM0 384h128V128H0v256zM96 0H32C14.33 0 0 14.33 0 32v64h128V32c0-17.67-14.33-32-32-32zM0 480c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64H0v64zm160-96h128V128H160v256zm0 96c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64H160v64z"
class=""
></path>
</svg>
<div class="tooltip">View Projects</div>
</a>
{{end}}
</div>
</header>
</body>
</html>