parent
7e69eeef29
commit
428d2e2579
@ -15,14 +15,10 @@
|
|||||||
//
|
//
|
||||||
import Login from "./components/Login.svelte";
|
import Login from "./components/Login.svelte";
|
||||||
import Dashboard from "./components/Dashboard.svelte";
|
import Dashboard from "./components/Dashboard.svelte";
|
||||||
import Footer from "./components/Footer.svelte";
|
|
||||||
import NotFound from "./components/NotFound.svelte";
|
import NotFound from "./components/NotFound.svelte";
|
||||||
import Tracks from "./components/Tracks.svelte";
|
|
||||||
// import Profile from "./components/Profile.svelte";
|
|
||||||
import store from "./store.js";
|
import store from "./store.js";
|
||||||
import ForgotPassword from "./components/ForgotPassword.svelte";
|
import ForgotPassword from "./components/ForgotPassword.svelte";
|
||||||
store.init();
|
store.init();
|
||||||
$: logged_in = $store.isLoggedIn;
|
|
||||||
//
|
//
|
||||||
const checkAuth = (detail) => {
|
const checkAuth = (detail) => {
|
||||||
if (!$store.isLoggedIn) {
|
if (!$store.isLoggedIn) {
|
||||||
@ -37,8 +33,6 @@
|
|||||||
"/forgot_password": ForgotPassword,
|
"/forgot_password": ForgotPassword,
|
||||||
"/dashboard": wrap({ component: Dashboard, conditions: [checkAuth] }),
|
"/dashboard": wrap({ component: Dashboard, conditions: [checkAuth] }),
|
||||||
"/": wrap({ component: Dashboard, conditions: [checkAuth] }),
|
"/": wrap({ component: Dashboard, conditions: [checkAuth] }),
|
||||||
// "/password_reset_sent/*": Book,
|
|
||||||
|
|
||||||
// Using named parameters, with last being optional
|
// Using named parameters, with last being optional
|
||||||
// "/author/:first/:last?": Author,
|
// "/author/:first/:last?": Author,
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<script>
|
<script>
|
||||||
import FilePond, { registerPlugin, supported } from "svelte-filepond";
|
import FilePond from "svelte-filepond";
|
||||||
let pond;
|
let pond;
|
||||||
// pond.getFiles() will return the active files
|
// pond.getFiles() will return the active files
|
||||||
// the name to use for the internal file input
|
// the name to use for the internal file input
|
||||||
|
@ -2,12 +2,20 @@
|
|||||||
import { _ } from "svelte-i18n";
|
import { _ } from "svelte-i18n";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<footer class="text-gray-700 body-font">
|
<footer class="block py-4">
|
||||||
<div
|
<div class="container mx-auto px-4">
|
||||||
class="container px-5 py-8 mx-auto flex items-center sm:flex-row flex-col">
|
<hr class="mb-4 border-b-1 border-gray-300" />
|
||||||
<p
|
<footer class="text-gray-700 body-font">
|
||||||
class="text-sm text-gray-500 sm:ml-4 sm:pl-4 sm:py-2 sm:mt-0 mt-4">
|
<div class="container mx-auto flex items-center sm:flex-row flex-col">
|
||||||
proudly powered by <a class="underline" href="https://odit.services" rel="noopener,noreferrer" target="_blank">ODIT.Services</a>
|
<p class="text-sm text-gray-500 mt-4">
|
||||||
</p>
|
Lauf für Kaya! Läufersystem - Copyright © 2020 + proudly powered by
|
||||||
|
<a
|
||||||
|
class="underline"
|
||||||
|
href="https://odit.services"
|
||||||
|
rel="noopener,noreferrer"
|
||||||
|
target="_blank">ODIT.Services</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user