Fix Elo Page
This commit is contained in:
@@ -20,6 +20,7 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import {t} from "astro-i18n";
|
import {t} from "astro-i18n";
|
||||||
import {statsRepo} from "@repo/stats.ts";
|
import {statsRepo} from "@repo/stats.ts";
|
||||||
|
import "@styles/table.css";
|
||||||
|
|
||||||
export let gamemode: string;
|
export let gamemode: string;
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ import {createGetStaticPaths, t} from "astro-i18n";
|
|||||||
import {getCollection, CollectionEntry} from "astro:content";
|
import {getCollection, CollectionEntry} from "astro:content";
|
||||||
import PageLayout from "../../layouts/PageLayout.astro";
|
import PageLayout from "../../layouts/PageLayout.astro";
|
||||||
import EloTable from "../../components/EloTable.svelte";
|
import EloTable from "../../components/EloTable.svelte";
|
||||||
import "@styles/table.css";
|
|
||||||
|
|
||||||
export const getStaticPaths = createGetStaticPaths(async () => {
|
export const getStaticPaths = createGetStaticPaths(async () => {
|
||||||
const modes = await getCollection("modes", entry => entry.data.ranked);
|
const modes = await getCollection("modes", entry => entry.data.ranked);
|
||||||
|
|||||||
Reference in New Issue
Block a user