diff --git a/README.md b/README.md index 5c91169..cbcc34c 100644 --- a/README.md +++ b/README.md @@ -1,38 +1,7 @@ -# create-svelte - -Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte). - -## Creating a project - -If you're seeing this, you've probably already done this step. Congrats! - -```bash -# create a new project in the current directory -npm create svelte@latest - -# create a new project in my-app -npm create svelte@latest my-app -``` - -## Developing - -Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server: - -```bash -npm run dev - -# or start the server and open the app in a new browser tab -npm run dev -- --open -``` - -## Building - -To create a production version of your app: - -```bash -npm run build -``` - -You can preview the production build with `npm run preview`. - -> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment. +```mermaid + graph TD; + A-->B; + A-->C; + B-->D; + C-->D; +``` \ No newline at end of file diff --git a/src/lib/components/AddEvent.svelte b/src/lib/components/AddEvent.svelte index 29649e2..1c9632a 100644 --- a/src/lib/components/AddEvent.svelte +++ b/src/lib/components/AddEvent.svelte @@ -9,7 +9,7 @@

Neues Event

-
+ - - + +
\ No newline at end of file diff --git a/src/lib/components/AddSponsor.svelte b/src/lib/components/AddSponsor.svelte new file mode 100644 index 0000000..f8f6e41 --- /dev/null +++ b/src/lib/components/AddSponsor.svelte @@ -0,0 +1,16 @@ + + +
+
+ + + +
+
+ + diff --git a/src/lib/components/AddTeam.svelte b/src/lib/components/AddTeam.svelte index 6674309..040d0ed 100644 --- a/src/lib/components/AddTeam.svelte +++ b/src/lib/components/AddTeam.svelte @@ -1,67 +1,28 @@
-
- + + - - - + + + +
diff --git a/src/lib/components/AdminSidebar.svelte b/src/lib/components/AdminSidebar.svelte index db31c2f..1b30ea7 100644 --- a/src/lib/components/AdminSidebar.svelte +++ b/src/lib/components/AdminSidebar.svelte @@ -2,7 +2,6 @@ import MenuLinks from "./MenuLinks.svelte"; import Logo from './Logo.svelte' -
@@ -10,7 +9,6 @@ -
\ No newline at end of file diff --git a/src/lib/components/EventsOverviewSingle.svelte b/src/lib/components/EventsOverviewSingle.svelte index e58d06e..8a5bd81 100644 --- a/src/lib/components/EventsOverviewSingle.svelte +++ b/src/lib/components/EventsOverviewSingle.svelte @@ -4,9 +4,10 @@ export let startingTime=""; let fullDate = new Date(startingTime) - let date = fullDate.getDate() + "." + fullDate.getMonth() + "." + fullDate.getFullYear() - let time = fullDate.getHours() + ":" + "" + (((fullDate.getMinutes() + "").length === 1) ? (fullDate.getMinutes() + "0") : (fullDate.getMinutes())) + let date = ("0" + fullDate.getDate()).slice(-2) + "." + ("0" + fullDate.getMonth()).slice(-2) + "." + fullDate.getFullYear() + let time = fullDate.getHours() + ":" + "" + (((fullDate.getMinutes() + "").length === 1) ? (fullDate.getMinutes() + "0") : (fullDate.getMinutes())) + // for accordion import { slide } from 'svelte/transition'; let isOpen = false; @@ -27,10 +28,7 @@
-

{date}

-
-
-

{time}

+

{date} - {time}