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