Dieser Commit ist enthalten in:
Ursprung
f652b4a4f2
Commit
fe37a70d26
@ -53,7 +53,7 @@ const {Content} = await page.render();
|
||||
<h1 class="text-3xl font-bold">{t(`${page.data.translationKey}.title`)}</h1>
|
||||
{mode && mode.data.ranked && (
|
||||
<Fragment>
|
||||
<EloTable gamemode={page.id.split("/")[1].split(".")[0]} client:load/>
|
||||
<EloTable gamemode={page.id.split("/")[1].split(".")[0]} client:load topFive={true}/>
|
||||
<a class="text-neutral-800 dark:text-neutral-400 hover:underline" href={l(`/rangliste/${page.id.split("/")[1].split(".")[0]}`)}>{t("rules.ranking")}</a>
|
||||
</Fragment>
|
||||
)}
|
||||
|
@ -31,14 +31,15 @@ const modes = await getCollection("modes", entry => entry.data.main);
|
||||
alt={t("rules." + value.data.translationKey + ".title")} class="h-full aspect-square max-w-fit"></Image>
|
||||
</a>
|
||||
<div class="ml-4">
|
||||
<h1 class="text-2xl font-bold">{t(value.data.translationKey + ".title")}</h1>
|
||||
<div>{t("rules." + value.data.translationKey + ".description")}</div>
|
||||
<a href={l(`/rules/${value.id}`)}>
|
||||
<h1 class="text-2xl font-bold">{t(value.data.translationKey + ".title")}</h1>
|
||||
<div>{t("rules." + value.data.translationKey + ".description")}</div>
|
||||
</a>
|
||||
<div class="mt-2 flex flex-col">
|
||||
<a href={l(`/rules/${value.id}`)} class="text-yellow-300 hover:underline w-fit">{t("rules.rules")}</a>
|
||||
<a href={l(`/publics/${value.id}`)} class="text-yellow-300 hover:underline w-fit">{t("rules.publics")}</a>
|
||||
{value.data.ranked
|
||||
? <a href={l(`/ranked/${value.id}`)}
|
||||
class="text-yellow-300 hover:underline w-fit">{t("rules.ranking")}</a>
|
||||
class="text-yellow-300 hover:underline w-fit">{t("rules.ranking")}</a>
|
||||
: null}
|
||||
</div>
|
||||
</div>
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren