Add a legal disclaimer view

This commit is contained in:
Danila Fedorin
2021-08-25 14:47:42 -07:00
parent c25a9dae4d
commit 34b30de288
3 changed files with 34 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
import {TemplateView} from "../utils/TemplateView.js";
export class DisclaimerView extends TemplateView {
render(t) {
return t.div({ className: "DisclaimerView card" }, [
t.h1("Disclaimer"),
t.p(
'Matrix.to is a service provided by the Matrix.org Foundation ' +
'which allows you to easily create invites to Matrix rooms and accounts, ' +
'regardless of your Matrix homeserver. The service is provided "as is" without ' +
'warranty of any kind, either express, implied, statutory or otherwise. ' +
'The Matrix.org Foundation shall not be responsible or liable for the room ' +
'and account contents shared via this service.'
),
]);
}
}