docs: [Zurück zur Übersicht](../README.md) in Alle in README für jeder Verzeichnis

This commit is contained in:
ISA
2025-06-24 08:22:48 +02:00
parent 82a1e11797
commit 0347ec9d98
243 changed files with 1425 additions and 283 deletions

View File

@@ -2,7 +2,8 @@
# 📦 appVersion.js
Diese Datei exportiert die aktuelle App-Version, die an mehreren Stellen in der UI angezeigt werden kann z.B. im `VersionInfoModal`.
Diese Datei exportiert die aktuelle App-Version, die an mehreren Stellen in der UI angezeigt werden
kann z.B. im `VersionInfoModal`.
## Inhalt
@@ -14,3 +15,7 @@ export const APP_VERSION = "1.1.193";
- Im Footer oder Info-Fenster
- Vergleich von Client- vs. Serverversion
---
[Zurück zur Übersicht](../README.md)

View File

@@ -31,7 +31,10 @@ Die Konfiguration entscheidet anhand des Modus:
```js
const mode = process.env.NEXT_PUBLIC_API_PORT_MODE;
const serverURL = mode === "dev" ? `${window.location.protocol}//${window.location.hostname}:80` : `${window.location.origin}`;
const serverURL =
mode === "dev"
? `${window.location.protocol}//${window.location.hostname}:80`
: `${window.location.origin}`;
```
→ Dadurch funktioniert der Code ohne Anpassung bei IP-/Server-Wechseln oder Portunterschieden.
@@ -58,3 +61,7 @@ const serverURL = mode === "dev" ? `${window.location.protocol}//${window.locati
---
📄 Pfad: `/docs/frontend/config/config.md`
---
[Zurück zur Übersicht](../README.md)

View File

@@ -3,7 +3,8 @@
# 🗺️ layers.js
Diese Datei definiert alle verfügbaren Leaflet-Layergruppen im Projekt.
Sie werden global als `MAP_LAYERS` exportiert und enthalten alle Systemtypen (TALAS, GMA, OTDR etc.).
Sie werden global als `MAP_LAYERS` exportiert und enthalten alle Systemtypen (TALAS, GMA, OTDR
etc.).
## Struktur
@@ -19,3 +20,7 @@ export const MAP_LAYERS = {
- Initialisierung der Leaflet-Karte
- Zuweisung von Markern und Linien
---
[Zurück zur Übersicht](../README.md)

View File

@@ -17,3 +17,7 @@ export const BASE_URL = BASE_PATH ? `/${BASE_PATH}` : "";
## Nutzung
- Für konsistente Pfadangaben im gesamten Projekt
---
[Zurück zur Übersicht](../README.md)

View File

@@ -16,3 +16,7 @@ Alle Endpunkte (API, Tiles, Server) werden ohne Port oder Hardcoding erzeugt.
## Hinweis
Alle Berechnungen erfolgen nur **clientseitig** (`typeof window !== "undefined"`).
---
[Zurück zur Übersicht](../README.md)