-
+
+
-
\ No newline at end of file
+
diff --git a/src/pages/index.astro b/src/pages/index.astro
index c378266..ec5b3e1 100644
--- a/src/pages/index.astro
+++ b/src/pages/index.astro
@@ -1,29 +1,28 @@
---
import dayjs from "dayjs";
import NavbarLayout from "@layouts/NavbarLayout.astro";
-import {getCollection} from "astro:content";
-import {astroI18n} from "astro-i18n";
+import { getCollection } from "astro:content";
+import { astroI18n } from "astro-i18n";
-import {Image} from "astro:assets";
+import { Image } from "astro:assets";
import Card from "@components/Card.svelte";
-import {CaretRight, Pause, Rocket, Crosshair1} from "@astropub/icons";
-import {t} from "astro-i18n";
-import {l} from "@utils/util";
+import { CaretRight, Pause, Rocket, Crosshair1 } from "@astropub/icons";
+import { t } from "astro-i18n";
+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";
import PostComponent from "../components/PostComponent.astro";
import BackgroundImage from "../components/BackgroundImage.astro";
-const teamMember: { [key: string]: Player[]} = await fetch(import.meta.env.PUBLIC_API_SERVER + "/data/team")
- .then(value => value.json());
+const teamMember: { [key: string]: Player[] } = await fetch(import.meta.env.PUBLIC_API_SERVER + "/data/team").then((value) => value.json());
-const posts = await getCollection("announcements", entry => entry.id.split("/")[0] === astroI18n.locale);
+const posts = await getCollection("announcements", (entry) => entry.id.split("/")[0] === astroI18n.locale);
-const germanPosts = await getCollection("announcements", entry => entry.id.split("/")[0] === astroI18n.fallbackLocale);
+const germanPosts = await getCollection("announcements", (entry) => entry.id.split("/")[0] === astroI18n.fallbackLocale);
-germanPosts.forEach(value => {
- if (posts.find(post => post.data.key === value.data.key)) {
+germanPosts.forEach((value) => {
+ if (posts.find((post) => post.data.key === value.data.key)) {
return;
} else {
posts.push(value);
@@ -43,27 +42,29 @@ const prefixColorMap: {
};
---
-
-