Fixed navigation to repo

This commit is contained in:
2025-01-21 15:44:38 +00:00
parent edd9920347
commit f4c852b894

View File

@@ -5,7 +5,7 @@ export const navigation = {
toHome: () => goto("/"),
toAbout: () => goto("/about"),
toContact: () => goto("/contact"),
toRepository: () => goto("/repo"),
toRepository: () => window.location.href = "/repo",
to404: () => {
throw error(404, 'Page not found');
}