-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
102 lines (96 loc) · 4.47 KB
/
index.html
File metadata and controls
102 lines (96 loc) · 4.47 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Project Bo</title>
<meta property="og:description" content="A collection of tools and utilities for Call of Duty Zombies fans. Solve puzzles, track progress, and more!" />
<meta property="og:image" content="https://repository-images.githubusercontent.com/911676030/17ce3025-1dc2-4d50-a1f6-1587468db8b7" />
<meta property="og:url" content="https://sircryptic.github.io/bo/" />
<meta property="og:type" content="website" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Project BO" />
<meta name="twitter:description" content="A collection of tools and utilities for Call of Duty Zombies fans. Solve puzzles, track progress, and more!" />
<meta name="twitter:image" content="https://repository-images.githubusercontent.com/911676030/17ce3025-1dc2-4d50-a1f6-1587468db8b7" />
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap" rel="stylesheet">
<link rel="icon" href="resources/images/logo.png" type="image/png">
<link rel="stylesheet" href="resources/css/main.css">
<style>
/* You can add styles here, if necessary */
</style>
</head>
<body>
<header class="header">
<img src="resources/images/logo.png" alt="Logo" class="logo">
<h1>Project Bo</h1>
</header>
<!-- Navbar with Dropdown and Home Button -->
<nav class="navbar">
<select id="mapSelect" onchange="navigateToMap()">
<option value="">Choose Your Map</option>
<option value="resources/maps/libertyballs.html">Liberty Falls</option>
<option value="resources/maps/terminus.html">Terminus</option>
<option value="resources/maps/cdm.html">Citadelle des Morts</option>
<option value="resources/maps/tomb.html">The Tomb</option>
</select>
<!-- Container for buttons -->
<div class="nav-buttons">
<button onclick="window.location.href='resources/misc/camotracker.html';">Camo Tracker</button>
</div>
</nav>
<main class="main-content">
<h2>Choose Your Map</h2>
<div class="maps-container">
<!-- Map 1 -->
<a href="resources/maps/libertyballs.html" class="map-link">
<div class="map-card">
<img src="resources/images/libertyfalls-bg.png" alt="" class="map-image">
<p>Liberty Falls</p>
</div>
</a>
<!-- Map 2 -->
<a href="resources/maps/terminus.html" class="map-link">
<div class="map-card">
<img src="resources/images/terminus-bg.png" alt="" class="map-image">
<p>Terminus</p>
</div>
</a>
<!-- Map 3 -->
<a href="resources/maps/cdm.html" class="map-link">
<div class="map-card">
<img src="resources/images/cdm-bg.png" alt="" class="map-image">
<p>Citadelle des Morts</p>
</div>
</a>
<!-- Map 4: The Tomb -->
<a href="resources/maps/tomb.html" class="map-link">
<div class="map-card">
<img src="resources/images/tomb.png" alt="" class="map-image">
<p>The Tomb</p>
</div>
</a>
</div>
</main>
<footer class="footer">
<p>Developed By <a href="https://github.com/SirCryptic" target="_blank" rel="noopener noreferrer">SirCryptic</a></p>
</footer>
<script>
function navigateToMap() {
var mapSelect = document.getElementById('mapSelect');
var selectedMap = mapSelect.value;
// List of valid map URLs to prevent open redirects
const validMaps = [
'resources/maps/libertyballs.html',
'resources/maps/terminus.html',
'resources/maps/cdm.html',
'resources/maps/tomb.html'
];
if (selectedMap && validMaps.includes(selectedMap)) {
window.location.href = selectedMap;
} else {
console.warn('Invalid map selected!');
}
}
</script>
</body>
</html>