-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
136 lines (120 loc) · 7.84 KB
/
index.html
File metadata and controls
136 lines (120 loc) · 7.84 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>No Rest for The Wicked - Interactive Map</title>
<meta name="description" content="Interactive map for "No Rest for The Wicked"">
<meta name="theme-color" content="#1a1a1a">
<meta name="apple-mobile-web-app-title" content="NRFTW Map" />
<!-- Open Graph / Social Media Meta Tags -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://nrftw.seroperson.me/">
<meta property="og:title" content="No Rest for The Wicked - Interactive Map">
<meta property="og:description" content="Interactive map for No Rest for The Wicked game with resource locations, loot spawns, and more.">
<meta property="og:image" content="pwa-512x512.png">
<meta property="og:image:alt" content="No Rest for The Wicked Map">
<!-- Twitter Card Meta Tags -->
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="No Rest for The Wicked - Interactive Map">
<meta name="twitter:description" content="Interactive map for No Rest for The Wicked game with resource locations, loot spawns, and more.">
<meta name="twitter:image" content="pwa-512x512.png">
<link rel="manifest" href="manifest.webmanifest" />
<link rel="shortcut icon" href="favicon.ico" sizes="48x48">
<link rel="apple-touch-icon" href="apple-touch-icon-180x180.png" sizes="180x180">
<link rel="stylesheet" href="src/styles.css">
<% if (PROD) { %>
<script defer data-domain="nrftw.seroperson.me" src="https://a.seroperson.me/js/script.js"></script>
<% } %>
</head>
<body>
<div id="app">
<button id="toggle-sidebar" aria-label="Toggle sidebar">◀</button>
<aside id="sidebar">
<div class="sidebar-header">
<h1>Map Filters</h1>
</div>
<div class="sidebar-content">
<!-- Resource Details -->
<section class="filter-section" id="resource-details-section" style="display: none;">
<div class="resource-details-header">
<h2>Selected Resource</h2>
<button id="close-resource-details" class="btn-close-details" aria-label="Close details">×</button>
</div>
<div id="resource-details-content"></div>
</section>
<!-- Resource Filters -->
<section class="filter-section">
<h2>Resources</h2>
<div class="filter-controls">
<button id="check-all" class="btn-filter">✓ Check All</button>
<button id="uncheck-all" class="btn-filter">✕ Uncheck All</button>
</div>
<div id="resource-filters" class="filter-group"></div>
<div class="expert-mode-control">
<label class="expert-mode-label">
<input type="checkbox" id="expert-mode">
<span>⚠️ Expert mode</span>
</label>
<div class="expert-mode-description">
Shows items that are normally hidden or inaccessible, and displays technical information. May contain incorrectly positioned objects.
</div>
</div>
</section>
<!-- Map Filters -->
<section class="filter-section">
<h2>Map Appearance</h2>
<div class="map-filter-buttons" id="map-filter-buttons"></div>
</section>
<!-- Search -->
<section class="share-section">
<button id="search-btn" class="btn-share">
<span class="btn-share-icon">🔍</span>
<span>Search</span>
</button>
</section>
<!-- Share -->
<section class="share-section">
<button id="copy-url" class="btn-share">
<span class="btn-share-icon">🔗</span>
<span>Share</span>
</button>
<div id="copy-feedback" class="feedback hidden">URL copied!</div>
</section>
<!-- Social Links -->
<section class="social-links-section">
<a href="https://github.com/seroperson/nrftw-interactive-map" target="_blank" rel="noopener noreferrer" class="social-link" aria-label="GitHub Repository">
<svg class="social-icon" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/>
</svg>
</a>
<a href="https://t.me/seroperson_me" target="_blank" rel="noopener noreferrer" class="social-link" aria-label="Telegram Channel" data-telegram-link>
<svg class="social-icon" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path d="M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z"/>
</svg>
</a>
</section>
</div>
</aside>
<main id="map-container">
<div id="map" class="map"></div>
<div class="axes-indicator">
<svg class="axes-svg" viewBox="0 0 70 70" xmlns="http://www.w3.org/2000/svg">
<!-- Origin point -->
<circle cx="35" cy="35" r="2" fill="#ffffff" opacity="0.6"/>
<!-- X axis (Red) - pointing right -->
<line class="axis-line axis-x" x1="35" y1="35" x2="60" y2="35" />
<text class="axis-label label-x" x="63" y="38">X</text>
<!-- Y axis (Green) - pointing up -->
<line class="axis-line axis-y" x1="35" y1="35" x2="35" y2="10" />
<text class="axis-label label-y" x="37" y="13">Y</text>
<!-- Z axis (Blue) - pointing down-right (isometric) -->
<line class="axis-line axis-z" x1="35" y1="35" x2="50" y2="50" />
<text class="axis-label label-z" x="52" y="54">Z</text>
</svg>
</div>
</main>
</div>
<script type="module" src="src/main.ts"></script>
</body>
</html>