updates readme
This commit is contained in:
@@ -8,13 +8,16 @@
|
|||||||
[](https://github.com/Flomp/wanderer/)
|
[](https://github.com/Flomp/wanderer/)
|
||||||
[](https://www.buymeacoffee.com/wanderertrails)
|
[](https://www.buymeacoffee.com/wanderertrails)
|
||||||
|
|
||||||
|
|
||||||
|
[](https://wanderer.to)
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
wanderer is a self-hosted trail database. You can upload your recorded tracks or create new ones and add various metadata to build an easily searchable catalogue.
|
wanderer is a self-hosted trail database. You can upload your recorded tracks or create new ones and add various metadata to build an easily searchable catalogue.
|
||||||
|
|
||||||
## Core Features
|
## Core Features
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
- Manage your trails
|
- Manage your trails
|
||||||
- Plan new routes
|
- Plan new routes
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ hero:
|
|||||||
image:
|
image:
|
||||||
file: ../../assets/logo_dark.svg
|
file: ../../assets/logo_dark.svg
|
||||||
actions:
|
actions:
|
||||||
- text: Visit the demo
|
- text: Try the demo
|
||||||
link: https://demo.wanderer.to
|
link: https://demo.wanderer.to
|
||||||
icon: rocket
|
icon: rocket
|
||||||
variant: primary
|
variant: primary
|
||||||
|
|||||||
@@ -1,11 +1,13 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { beforeNavigate, goto } from "$app/navigation";
|
import { beforeNavigate, goto } from "$app/navigation";
|
||||||
|
import { PUBLIC_IS_DEMO } from "$env/static/public";
|
||||||
import Toast from "$lib/components/base/toast.svelte";
|
import Toast from "$lib/components/base/toast.svelte";
|
||||||
import Footer from "$lib/components/footer.svelte";
|
import Footer from "$lib/components/footer.svelte";
|
||||||
import NavBar from "$lib/components/nav_bar.svelte";
|
import NavBar from "$lib/components/nav_bar.svelte";
|
||||||
import { currentUser } from "$lib/stores/user_store";
|
import { currentUser } from "$lib/stores/user_store";
|
||||||
import { isRouteProtected } from "$lib/util/authorization_util";
|
import { isRouteProtected } from "$lib/util/authorization_util";
|
||||||
import "@fortawesome/fontawesome-free/css/all.min.css";
|
import "@fortawesome/fontawesome-free/css/all.min.css";
|
||||||
|
import { fade, slide } from "svelte/transition";
|
||||||
import "../css/app.css";
|
import "../css/app.css";
|
||||||
import "../css/components.css";
|
import "../css/components.css";
|
||||||
import "../css/theme.css";
|
import "../css/theme.css";
|
||||||
@@ -16,8 +18,26 @@
|
|||||||
goto("/login?r=" + n.to?.url?.pathname);
|
goto("/login?r=" + n.to?.url?.pathname);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
let hideDemoHint = false;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
{#if PUBLIC_IS_DEMO && !hideDemoHint}
|
||||||
|
<div
|
||||||
|
class="flex items-center justify-between bg-amber-200 text-center p-4 text-sm"
|
||||||
|
out:slide
|
||||||
|
>
|
||||||
|
<div></div>
|
||||||
|
<span
|
||||||
|
>This is a demo instance. Do not store any relevant data here. You
|
||||||
|
can use the user 'demo' and password 'password' to login.
|
||||||
|
</span>
|
||||||
|
<button class="btn-icon self-end" on:click={() => (hideDemoHint = true)}
|
||||||
|
><i class="fa fa-close"></i></button
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
|
|
||||||
<NavBar></NavBar>
|
<NavBar></NavBar>
|
||||||
<Toast></Toast>
|
<Toast></Toast>
|
||||||
<slot />
|
<slot />
|
||||||
|
|||||||
Reference in New Issue
Block a user