mirror of
https://github.com/Cian-H/am-d-model.eu.git
synced 2025-12-22 13:41:56 +00:00
16 lines
429 B
JavaScript
16 lines
429 B
JavaScript
import { goto } from "$app/navigation";
|
|
import { error } from "@sveltejs/kit";
|
|
|
|
export const navigation = {
|
|
toHome: () => goto("/"),
|
|
toAbout: () => goto("/about"),
|
|
toContact: () => goto("/contact"),
|
|
toRepository: () => {
|
|
window.location.href = "https://invenio.am-d-model.eu/";
|
|
},
|
|
toMethodology: () => goto("/methodology"),
|
|
to404: () => {
|
|
throw error(404, "Page not found");
|
|
},
|
|
};
|