Remove trailing to home page in links

This commit is contained in:
DrMint 2024-07-29 07:51:19 +02:00
parent 99e0fd6bc7
commit 1c85884f70
3 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ const { t, getLocalizedUrl } = await getI18n(Astro.locals.currentLocale);
{ {
(!hideHomeButton || backlinks.length > 0) && ( (!hideHomeButton || backlinks.length > 0) && (
<div id="left" class="hide-scrollbar"> <div id="left" class="hide-scrollbar">
<a href={getLocalizedUrl("/")} class="pressable-label"> <a href={getLocalizedUrl("")} class="pressable-label">
<Icon name="material-symbols:home" width={16} height={16} /> <Icon name="material-symbols:home" width={16} height={16} />
<p>{t("home.title")}</p> <p>{t("home.title")}</p>
</a> </a>

View File

@ -12,7 +12,7 @@ const { t, getLocalizedUrl } = await getI18n(Astro.locals.currentLocale);
<div id="text-container"> <div id="text-container">
<h1 class="font-serif font-5xl">404</h1> <h1 class="font-serif font-5xl">404</h1>
<h2 class="font-4xl">Not found</h2> <h2 class="font-4xl">Not found</h2>
<a href={getLocalizedUrl("/")}> <a href={getLocalizedUrl("")}>
<Button icon="material-symbols:home" title={t("home.title")} /> <Button icon="material-symbols:home" title={t("home.title")} />
</a> </a>
</div> </div>

View File

@ -24,7 +24,7 @@ const { t, getLocalizedUrl } = await getI18n(Astro.locals.currentLocale);
website technical administrator website technical administrator
</a>. </a>.
</p> </p>
<a href={getLocalizedUrl("/")}> <a href={getLocalizedUrl("")}>
<Button icon="material-symbols:home" title={t("home.title")} /> <Button icon="material-symbols:home" title={t("home.title")} />
</a> </a>
</div> </div>