-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmissions_hub.html
More file actions
164 lines (146 loc) · 8.76 KB
/
missions_hub.html
File metadata and controls
164 lines (146 loc) · 8.76 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
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
156
157
158
159
160
161
162
163
164
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Missions Hub</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet">
<link rel="preload" as="style" onload="this.rel='stylesheet'" href="/assets/css/missions_hub.css">
<meta name="description"
content="Access the missions hub to find and complete missions on Constellation Networking.">
<meta name="keywords" content="Constellation Networking, missions hub, find missions, complete missions">
<meta name="author" content="Constellation Networking Team">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-FTXQ5HF0C5"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-FTXQ5HF0C5');
</script>
<!-- Firebase -->
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-firestore.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-auth.js"></script>
<script src="assets/js/firebase_init.js"></script>
</head>
<body class="bg-[#161616] text-white">
<div class="flex flex-1 min-h-full">
<!-- Sidebar -->
<div class="w-64 bg-[#1E1E1E] p-4 overflow-auto">
<a href="/index.html">
<div class="flex items-center mb-8">
<img src="/assets/img/icon.png" class="mr-2 rounded-md" width="40" height="40">
<span class="text-xl font-bold">Constellation</span>
</div>
</a>
<nav>
<ul>
<!-- <li class="mb-5"><a href="/index.html" class="flex items-center text-gray-400 hover:text-white"><i
class="fas fa-home mr-2"></i> Home</a></li> -->
<li class="mb-5"><a href="/missions.html"
class="flex items-center text-gray-400 hover:text-white"><i class="fas fa-cube mr-2"></i> My
Missions</a></li>
<li class="mb-5"><a href="#" class="flex items-center text-white"><i class="fas fa-store mr-2"></i>
Missions Hub (still in development)</a></li>
<li class="mb-5"><a href="/rewards.html" class="flex items-center text-gray-400 hover:text-white"><i
class="fas fa-tshirt mr-2"></i> Rewards</a></li>
</ul>
</nav>
</div>
<!-- Main Content -->
<div class="flex-1 p-6">
<!-- Header -->
<div class="flex justify-between items-center mb-6">
<div></div>
<div class="flex items-center">
<span id="user-novacoins" class="text-yellow-400 font-bold"></span>
<button class="text-gray-400 hover:text-gray-600 duration-300 ml-4 fas fa-bell"></button>
<button class="text-gray-400 hover:text-gray-600 duration-300 mx-4 fas fa-plus"></button>
<div>
<a href="/account.html">
<img src="/assets/img/default_user.jpeg" id="user-profile-img" alt="User Avatar"
class="rounded-full" width="40" height="40">
</a>
</div>
</div>
</div>
<!-- Welcome Section -->
<div class="bg-[#2B2B2B] p-6 rounded-md mb-6">
<h1 class="text-3xl font-bold mb-2">Welcome to Constellation Missions Hub</h1>
<p class="text-gray-400 mb-4">Explore all user created missions here in the Constellation Missions Hub.
</p>
<button onclick="smoothScrollAboveElement('section:all-missions', 100);"
class="bg-blue-600 px-4 py-2 rounded-md hover:bg-blue-700 duration-300">Explore</button>
</div>
<!-- All Missions Section -->
<div id="section:all-missions">
<div class="flex justify-between items-center mb-4">
<h2 class="text-2xl font-bold">All Missions</h2>
<a href="#" class="text-blue-500 hover:text-blue-600 duration-300">View all</a>
</div>
<div class="grid grid-cols-4 gap-4">
<div class="bg-[#2B2B2B] p-4 rounded-md">
<img src="https://placehold.co/150x150" alt="Mission 1" class="mb-2 rounded-md">
<h3 class="text-lg font-bold">Mission 1</h3>
<p class="text-sm text-gray-300">Mission description here.</p>
<button
class="bg-blue-600 text-md px-3 py-1 mt-3 rounded-md hover:bg-blue-700 duration-300">Add</button>
</div>
<div class="bg-[#2B2B2B] p-4 rounded-md">
<img src="https://placehold.co/150x150" alt="Mission 2" class="mb-2 rounded-md">
<h3 class="text-lg font-bold">Mission 2</h3>
<p class="text-sm text-gray-300">Mission description here.</p>
<button
class="bg-blue-600 text-md px-3 py-1 mt-3 rounded-md hover:bg-blue-700 duration-300">Add</button>
</div>
<div class="bg-[#2B2B2B] p-4 rounded-md">
<img src="https://placehold.co/150x150" alt="Mission 3" class="mb-2 rounded-md">
<h3 class="text-lg font-bold">Mission 3</h3>
<p class="text-sm text-gray-300">Mission description here.</p>
<button
class="bg-blue-600 text-md px-3 py-1 mt-3 rounded-md hover:bg-blue-700 duration-300">Add</button>
</div>
<div class="bg-[#2B2B2B] p-4 rounded-md">
<img src="https://placehold.co/150x150" alt="Mission 4" class="mb-2 rounded-md">
<h3 class="text-lg font-bold">Mission 4</h3>
<p class="text-sm text-gray-300">Mission description here.</p>
<button
class="bg-blue-600 text-md px-3 py-1 mt-3 rounded-md hover:bg-blue-700 duration-300">Add</button>
</div>
<div class="bg-[#2B2B2B] p-4 rounded-md">
<img src="https://placehold.co/150x150" alt="Mission 5" class="mb-2 rounded-md">
<h3 class="text-lg font-bold">Mission 5</h3>
<p class="text-sm text-gray-300">Mission description here.</p>
<button
class="bg-blue-600 text-md px-3 py-1 mt-3 rounded-md hover:bg-blue-700 duration-300">Add</button>
</div>
<div class="bg-[#2B2B2B] p-4 rounded-md">
<img src="https://placehold.co/150x150" alt="Mission 6" class="mb-2 rounded-md">
<h3 class="text-lg font-bold">Mission 6</h3>
<p class="text-sm text-gray-300">Mission description here.</p>
<button
class="bg-blue-600 text-md px-3 py-1 mt-3 rounded-md hover:bg-blue-700 duration-300">Add</button>
</div>
<div class="bg-[#2B2B2B] p-4 rounded-md">
<img src="https://placehold.co/150x150" alt="Mission 7" class="mb-2 rounded-md">
<h3 class="text-lg font-bold">Mission 7</h3>
<p class="text-sm text-gray-300">Mission description here.</p>
<button
class="bg-blue-600 text-md px-3 py-1 mt-3 rounded-md hover:bg-blue-700 duration-300">Add</button>
</div>
<div class="bg-[#2B2B2B] p-4 rounded-md">
<img src="https://placehold.co/150x150" alt="Mission 8" class="mb-2 rounded-md">
<h3 class="text-lg font-bold">Mission 8</h3>
<p class="text-sm text-gray-300">Mission description here.</p>
<button
class="bg-blue-600 text-md px-3 py-1 mt-3 rounded-md hover:bg-blue-700 duration-300">Add</button>
</div>
</div>
</div>
</div>
</div>
</body>
<script src="/assets/js/missions_hub.js"></script>
</html>