-
Notifications
You must be signed in to change notification settings - Fork 0
/
events.html
155 lines (138 loc) · 6.87 KB
/
events.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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<!DOCTYPE html>
<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="stylesheet" href="./css/output.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Sora">
<title>Flanba · Events</title>
</head>
<body class="font-[Sora] bg-[#2C2F33]">
<div>
<div class="bg-[url('../assets/images/wallpaper.png')] bg-no-repeat bg-cover bg-scroll bg-center text-center py-[5rem]">
<img src="assets/images/logo.png" onclick=" window.location.href='index.html' " class="inline-block h-[8rem] xl:h-[12.5rem] drop-shadow-xl cursor-pointer logoAnimation">
</div>
<nav class="bg-[#23272A] py-[3rem] drop-shadow-2xl text-center">
<div class="mx-auto text-center px-4">
<div class="flex justify-center">
<div class="flex">
<!-- primary nav -->
<div class="hidden xl:grid grid-cols-5 drop-shadow-2xl text-center navbarAnimation">
<div class="text-left">
<a href="https://discord.gg/flanba">
<img src="assets/images/discord.png" class="inline-block w-[3.5rem] h-[3.5rem] ml-[3rem]">
</a>
<div class="inline-block absolute mx-[1.5rem]">
<div class="text-left grid grid-rows-2">
<h1 class="font-bold text-white text-2xl">Discord</h1>
<h1 class="font-bold text-white text-xl">1000+ Members</h1>
</div>
</div>
</div>
<div class="text-center col-span-3">
<a href="index.html" class="nav-sub-btn">Home</a>
<a href="rules.html" class="nav-sub-btn">Rules</a>
<a href="https://flanba.tebex.io" target="_blank" class="nav-main-btn">Store</a>
<a href="apply.html" class="nav-sub-btn">Apply</a>
<a href="events.html" class="nav-sub-btn">Events</a>
</div>
<div class="text-right col-span-1">
<div class="inline-block mx-[1.5rem]">
<div class="text-right grid grid-rows-2">
<h1 class="font-bold text-white text-2xl">play.flanba.com</h1>
<h1 class="font-bold text-white text-xl">19132</h1>
</div>
</div>
<a href="minecraft://?addExternalServer=§l§6Flanba|play.flanba.com:19132">
<img src="assets/images/server.png" class="inline-block w-[3.5rem] h-[3.5rem] mr-[3rem]">
</a>
</div>
</div>
</div>
<!-- mobile button goes here -->
<div class="xl:hidden flex items-center">
<button class="mobile-menu-button">
<svg class="w-6 h-6" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="#FFFFFF">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16" />
</svg>
</button>
</div>
</div>
</div>
<!-- mobile menu -->
<div class="mobile-menu hidden xl:hidden">
<a href="index.html" class="nav-sub-btn-mobile">Home</a>
<a href="rules.html" class="nav-sub-btn-mobile">Rules</a>
<a href="https://flanba.tebex.io" target="_blank" class="nav-main-btn-mobile">Store</a>
<a href="apply.html" class="nav-sub-btn-mobile">Apply</a>
<a href="events.html" class="nav-sub-btn-mobile">Events</a>
</div>
</nav>
</div>
</div>
<div class="mx-[1rem] xl:mx-[20rem] my-[5rem]">
<div class="bg-[#17191b] rounded-t-xl">
<h1 class="text-center text-4xl text-transparent bg-clip-text bg-gradient-to-br from-[#FF7800] to-[#FEB400] font-bold py-[2.5rem]">Events</h1>
</div>
<div class="bg-[#23272A] rounded-b-xl">
<p class="text-center text-lg lg:text-xl text-white font-light mx-[2rem] xl:mx-[10rem] pt-[2rem] xl:pt-[10rem] pb-[1rem] xl:pb-[3rem]">Events are here! You can now participate in official events, scrims and tournaments!</p>
<div class="text-center">
<a href="https://discord.gg/EK4nS2zCzZ" target="_blank" class="nav-sub-btn mb-[2rem] xl:mb-[10rem]">Events Server</a>
</div>
</div>
</div>
<div class="bg-[#23272A] text-center py-[3rem]">
<a href="https://docs.google.com/document/d/19xeHnFu2Ce0U3Usc8P9uACmEKApDh_oq8qF8joMBAew/edit?usp=sharing" class="text-[#619ac0] hover:underline inline-block text-2xl">Network Policies</a>
</div>
<script>
// grab everything we need
const btn = document.querySelector("button.mobile-menu-button");
const menu = document.querySelector(".mobile-menu");
// add event listeners
btn.addEventListener("click", () => {
menu.classList.toggle("hidden");
});
</script>
<style>
.logoAnimation{
animation: logo 2s;
}
@keyframes logo{
from{
opacity: 0;
transform: translateY(25px);
}
to{
opacity: 1;
transform: translateX(0);
}
}
.navbarAnimation{
animation: navbar 2s;
}
@keyframes navbar{
from{
opacity: 0;
transform: translateY(-25px);
}
to{
opacity: 1;
transform: translateX(0);
}
}
.blockAnimation{
animation: block 2s;
}
@keyframes block{
from{
opacity: 0;
transform: translateX(-25px);
}
to{
opacity: 1;
transform: translateX(0);
}
}
</style>
</body>
</html>