adds docs folder
Former-commit-id: b8f174c66402b64a5a61ce96ad01911c0aeebd20
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -3,5 +3,6 @@
|
||||
|
||||
search/meilisearch
|
||||
search/data.ms
|
||||
search/dumps
|
||||
|
||||
run.sh
|
||||
@@ -8,7 +8,7 @@ wanderer is a self-hosted trail database. You can upload your recorded tracks an
|
||||
|
||||
## Core Features
|
||||
|
||||

|
||||

|
||||
|
||||
- Manage your trails
|
||||
- Extensive map integration and visualization
|
||||
|
||||
@@ -11,7 +11,6 @@ services:
|
||||
environment:
|
||||
<<: *cenv
|
||||
MEILI_NO_ANALYTICS: true
|
||||
MEILI_HTTP_PAYLOAD_SIZE_LIMIT: 150 Mb
|
||||
ports:
|
||||
- 7700:7700
|
||||
networks:
|
||||
|
||||
|
Before Width: | Height: | Size: 837 KiB After Width: | Height: | Size: 837 KiB |
BIN
docs/imgs/pocketbase.png
Normal file
BIN
docs/imgs/pocketbase.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 435 KiB |
@@ -55,7 +55,7 @@
|
||||
await import("leaflet.awesome-markers");
|
||||
|
||||
map = L.map("map").setView([0, 0], 4);
|
||||
map.attributionControl.setPrefix(false)
|
||||
map.attributionControl.setPrefix(false);
|
||||
|
||||
L.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", {
|
||||
attribution: "© OpenStreetMap contributors",
|
||||
@@ -186,6 +186,10 @@
|
||||
if (!trail.expand.gpx_data) {
|
||||
reject();
|
||||
}
|
||||
|
||||
const thumbnail = trail.photos.length
|
||||
? getFileURL(trail, trail.photos[trail.thumbnail])
|
||||
: "/imgs/default_thumbnail.webp";
|
||||
const gpxLayer = new L.GPX(trail.expand.gpx_data!, {
|
||||
async: true,
|
||||
polyline_options: {
|
||||
@@ -214,10 +218,7 @@
|
||||
marker.bindPopup(
|
||||
`<a href="map/trail/${trail.id}">
|
||||
<li class="flex items-center gap-4 cursor-pointer text-black">
|
||||
<div class="shrink-0"><img class="h-14 w-14 object-cover rounded-xl" src="${getFileURL(
|
||||
trail,
|
||||
trail.photos[trail.thumbnail],
|
||||
)}" alt="">
|
||||
<div class="shrink-0"><img class="h-14 w-14 object-cover rounded-xl" src="${thumbnail}" alt="">
|
||||
</div>
|
||||
<div>
|
||||
<h4 class="font-semibold text-lg">${trail.name}</h4>
|
||||
|
||||
Reference in New Issue
Block a user