adds docs folder

Former-commit-id: b8f174c66402b64a5a61ce96ad01911c0aeebd20
This commit is contained in:
Christian Beutel
2024-03-15 17:16:50 +01:00
parent c2165cab90
commit 814fbe4996
6 changed files with 8 additions and 7 deletions

1
.gitignore vendored
View File

@@ -3,5 +3,6 @@
search/meilisearch
search/data.ms
search/dumps
run.sh

View File

@@ -8,7 +8,7 @@ wanderer is a self-hosted trail database. You can upload your recorded tracks an
## Core Features
![Screenshot of wanderer](web/static/imgs/features.png)
![Screenshot of wanderer](docs/imgs/features.png)
- Manage your trails
- Extensive map integration and visualization

View File

@@ -11,7 +11,6 @@ services:
environment:
<<: *cenv
MEILI_NO_ANALYTICS: true
MEILI_HTTP_PAYLOAD_SIZE_LIMIT: 150 Mb
ports:
- 7700:7700
networks:

View File

Before

Width:  |  Height:  |  Size: 837 KiB

After

Width:  |  Height:  |  Size: 837 KiB

BIN
docs/imgs/pocketbase.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 435 KiB

View File

@@ -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>