Skip to content
Snippets Groups Projects
Commit 55319e7d authored by jaramillo's avatar jaramillo
Browse files

Added university services + cl-mail

parent d1b57d5d
No related branches found
No related tags found
1 merge request!13Added university services + cl-mail
import { Service } from "../../model/Service.mjs"
import { ServiceLink } from "../pieces/ServiceLink.mjs"
import { Base } from "./Base.mjs"
export const Uni = {
oncreate() {
document.title = "University Services · FS Coli Portal"
},
view() {
return m(
Base,
m("article.services", [
m(ServiceLink, new Service(
"cl-mail", "https://mail.cl.uni-heidelberg.de/", "fa-solid fa-at", "CL-Account"
)),
]),
)
},
}
......@@ -38,6 +38,13 @@ export const Nav = {
label: "Alle Dienste",
}),
),
m(
"li",
m(NavPageLink, {
href: "/uni-services",
label: "Universitätsdienste",
}),
),
m(
"li",
m(NavPageLink, {
......
import { All } from "./components/pages/AllServices.mjs"
import { Uni } from "./components/pages/UniServices.mjs"
import { Start } from "./components/pages/Start.mjs"
import { Unlock } from "./components/pages/Unlock.mjs"
import { Fachschaftssitzung } from "./components/pages/Fachschaftssitzung.mjs"
......@@ -11,6 +12,7 @@ m.route.prefix = ""
m.route(document.body, "/", {
"/": Start,
"/all-services": All,
"/uni-services": Uni,
"/unlock": Unlock,
"/fachschaftssitzung": Fachschaftssitzung,
"/login": Login,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment