Update RootView.js

This commit is contained in:
Dome
2026-04-07 19:16:16 +02:00
committed by GitHub
parent 160ddead30
commit 211b14db78
+8 -8
View File
@@ -30,14 +30,14 @@ export class RootView extends TemplateView {
t.mapView(vm => vm.createLinkViewModel, vm => vm ? new CreateLinkView(vm) : null),
t.mapView(vm => vm.loadServerPolicyViewModel, vm => vm ? new LoadServerPolicyView(vm) : null),
t.div({className: "footer"}, [
t.p(t.img({src: "images/matrix-logo.svg"})),
t.p(["This invite uses ", externalLink(t, "https://matrix.org", "Matrix"), ", an open network for secure, decentralized communication."]),
t.ul({className: "links"}, [
t.li(externalLink(t, "https://github.com/matrix-org/matrix.to", "GitHub project")),
t.li(externalLink(t, "https://github.com/matrix-org/matrix.to/tree/main/src/open/clients", "Add your app")),
t.li({className: {hidden: vm => !vm.hasPreferences}},
t.button({className: "text", onClick: () => vm.clearPreferences()}, "Clear preferences")),
t.li(t.a({href: "#/disclaimer/"}, "Disclaimer")),
t.p([
"© 2026 ",
t.a({href: "https://ztfr.eu"}, "Zeitfresser"),
" | Powered by ",
externalLink(t, "https://github.com/matrix-org/matrix.to", "Matrix-To)
]),
t.p({className: {hidden: vm => !vm.hasPreferences}}, [
t.button({className: "text", onClick: () => vm.clearPreferences()}, "Clear preferences")
])
])
]);