Some Code Cleanup
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
---
|
||||
import {astroI18n, createGetStaticPaths} from "astro-i18n";
|
||||
import {getCollection, CollectionEntry} from "astro:content";
|
||||
import PageLayout from "../../layouts/PageLayout.astro";
|
||||
import PageLayout from "@layouts/PageLayout.astro";
|
||||
import {TagSolid, CalendarMonthSolid} from "flowbite-svelte-icons";
|
||||
import TagComponent from "../../components/TagComponent.astro";
|
||||
import LanguageWarning from "../../components/LanguageWarning.astro";
|
||||
import TagComponent from "@components/TagComponent.astro";
|
||||
import LanguageWarning from "@components/LanguageWarning.astro";
|
||||
import { SEO } from "astro-seo";
|
||||
import localBau from "../../images/2022-03-28_13.18.25.png";
|
||||
import localBau from "@images/2022-03-28_13.18.25.png";
|
||||
import {getImage, Image} from "astro:assets";
|
||||
|
||||
export const getStaticPaths = createGetStaticPaths(async () => {
|
||||
@@ -88,12 +88,12 @@ const ogImage = await getImage({
|
||||
)}
|
||||
<Content />
|
||||
<script>
|
||||
import type {ExtendedEvent} from "../../components/types/event";
|
||||
import FightTable from "../../components/FightTable.svelte";
|
||||
import type {ExtendedEvent} from "@types/event";
|
||||
import FightTable from "@components/FightTable.svelte";
|
||||
// @ts-expect-error Import Schenanigans
|
||||
import {get} from "svelte/store";
|
||||
import {eventRepo} from "../../components/repo/repo";
|
||||
import GroupTable from "../../components/GroupTable.svelte";
|
||||
import {eventRepo} from "@repo/repo";
|
||||
import GroupTable from "@components/GroupTable.svelte";
|
||||
const eventMounts: Map<string, ((ev: ExtendedEvent) => void)[]> = new Map();
|
||||
|
||||
class FightTableElement extends HTMLElement {
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
---
|
||||
import NavbarLayout from "../layouts/NavbarLayout.astro";
|
||||
import NavbarLayout from "@layouts/NavbarLayout.astro";
|
||||
|
||||
import { Image } from "astro:assets";
|
||||
import localBau from "../images/2023-10-08_20.43.43.png";
|
||||
import localBau from "@images/2023-10-08_20.43.43.png";
|
||||
import {CaretRight, Archive, Rocket, Bell} from "@astropub/icons";
|
||||
import {t} from "astro-i18n";
|
||||
import {l} from "../util/util";
|
||||
import PlayerCount from "../components/PlayerCount.svelte";
|
||||
import {l} from "@utils/util";
|
||||
import PlayerCount from "@components/PlayerCount.svelte";
|
||||
import "../../public/fonts/barlow-condensed/barlow-condensed.css";
|
||||
import type {Player} from "../components/types/data";
|
||||
import type {Player} from "@components/types/data";
|
||||
|
||||
const teamMember = await fetch("http://localhost:1337/data/team").then(value => value.json());
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
---
|
||||
import Login from "../components/Login.svelte";
|
||||
import NavbarLayout from "../layouts/NavbarLayout.astro";
|
||||
import Login from "@components/Login.svelte";
|
||||
import NavbarLayout from "@layouts/NavbarLayout.astro";
|
||||
import {t} from "astro-i18n";
|
||||
import {Image} from "astro:assets";
|
||||
import localBau from "../images/2023-10-08_20.43.43.png";
|
||||
import localBau from "@images/2023-10-08_20.43.43.png";
|
||||
---
|
||||
|
||||
<NavbarLayout title={t("login.page")}>
|
||||
|
||||
Reference in New Issue
Block a user