fixes demo hint
This commit is contained in:
@@ -13,13 +13,13 @@
|
||||
<h5 class="font-semibold">Resources</h5>
|
||||
<ul class="mt-4 text-sm">
|
||||
<li>
|
||||
<a href="/docs/api/index.html"
|
||||
>{$_("api-documentation")}</a
|
||||
<a href="https://wanderer.to/getting-started/installation/"
|
||||
>{$_("documentation")}</a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://github.com/Flomp/wanderer/wiki"
|
||||
>{$_("documentation")}</a
|
||||
<a href="/wanderer.to/api-reference/auth"
|
||||
>{$_("api-documentation")}</a
|
||||
>
|
||||
</li>
|
||||
<li><a href="https://pocketbase.io/">PocketBase</a></li>
|
||||
@@ -30,16 +30,16 @@
|
||||
<h5 class="font-semibold">wanderer</h5>
|
||||
<ul class="mt-4 text-sm">
|
||||
<li>
|
||||
<a href="https://github.com/Flomp/wanderer/wiki"
|
||||
>{$_("about")}</a
|
||||
>
|
||||
<a href="https://wanderer.to">{$_("about")}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://github.com/Flomp/wanderer/wiki/Basic-usage"
|
||||
>{$_("features")}</a
|
||||
<a href="https://wanderer.to/#features">{$_("features")}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://wanderer.to/getting-started/changelog/"
|
||||
>{$_("changelog")}</a
|
||||
>
|
||||
</li>
|
||||
<li>{$_("changelog")}</li>
|
||||
<li>
|
||||
<a href="https://github.com/Flomp/wanderer/blob/main/LICENSE"
|
||||
>{$_("license")}</a
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { beforeNavigate, goto } from "$app/navigation";
|
||||
import { PUBLIC_IS_DEMO } from "$env/static/public";
|
||||
import { env } from "$env/dynamic/public";
|
||||
import Toast from "$lib/components/base/toast.svelte";
|
||||
import Footer from "$lib/components/footer.svelte";
|
||||
import NavBar from "$lib/components/nav_bar.svelte";
|
||||
@@ -22,7 +22,7 @@
|
||||
let hideDemoHint = false;
|
||||
</script>
|
||||
|
||||
{#if PUBLIC_IS_DEMO === "true" && !hideDemoHint}
|
||||
{#if env.PUBLIC_IS_DEMO === "true" && !hideDemoHint}
|
||||
<div
|
||||
class="flex items-center justify-between bg-amber-200 text-center p-4 text-sm"
|
||||
out:slide
|
||||
|
||||
@@ -6,9 +6,10 @@
|
||||
import TextField from "$lib/components/base/text_field.svelte";
|
||||
import LogoTextTwoLineDark from "$lib/components/logo/logo_text_two_line_dark.svelte";
|
||||
import LogoTextTwoLineLight from "$lib/components/logo/logo_text_two_line_light.svelte";
|
||||
import type { User } from "$lib/models/user";
|
||||
import { theme } from "$lib/stores/theme_store";
|
||||
import { show_toast } from "$lib/stores/toast_store";
|
||||
import { login, type User } from "$lib/stores/user_store";
|
||||
import { login } from "$lib/stores/user_store";
|
||||
import { createForm } from "$lib/vendor/svelte-form-lib";
|
||||
import { ClientResponseError, type AuthProviderInfo } from "pocketbase";
|
||||
import { _ } from "svelte-i18n";
|
||||
|
||||
Reference in New Issue
Block a user