import AbstractView from "./AbstractView.js"; import { client, navigateTo } from "../index.js"; export default class extends AbstractView { constructor(params) { super(params); this.setTitle("Home"); } async getHtml() { if (await client.isAuthentificate() === false) { navigateTo("/login"); return; } return `