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.createLinkViewModel, vm => vm ? new CreateLinkView(vm) : null),
t.mapView(vm => vm.loadServerPolicyViewModel, vm => vm ? new LoadServerPolicyView(vm) : null), t.mapView(vm => vm.loadServerPolicyViewModel, vm => vm ? new LoadServerPolicyView(vm) : null),
t.div({className: "footer"}, [ t.div({className: "footer"}, [
t.p(t.img({src: "images/matrix-logo.svg"})), t.p([
t.p(["This invite uses ", externalLink(t, "https://matrix.org", "Matrix"), ", an open network for secure, decentralized communication."]), "© 2026 ",
t.ul({className: "links"}, [ t.a({href: "https://ztfr.eu"}, "Zeitfresser"),
t.li(externalLink(t, "https://github.com/matrix-org/matrix.to", "GitHub project")), " | Powered by ",
t.li(externalLink(t, "https://github.com/matrix-org/matrix.to/tree/main/src/open/clients", "Add your app")), externalLink(t, "https://github.com/matrix-org/matrix.to", "Matrix-To)
t.li({className: {hidden: vm => !vm.hasPreferences}}, ]),
t.button({className: "text", onClick: () => vm.clearPreferences()}, "Clear preferences")), t.p({className: {hidden: vm => !vm.hasPreferences}}, [
t.li(t.a({href: "#/disclaimer/"}, "Disclaimer")), t.button({className: "text", onClick: () => vm.clearPreferences()}, "Clear preferences")
]) ])
]) ])
]); ]);