import { client } from "../index.js"; import AbstractAuthentificateView from "./abstracts/AbstractAuthentifiedView.js"; export default class extends AbstractAuthentificateView { constructor(params) { super(params, client.lang.get('homeWindowTitle', 'Home')); this.redirect_url = "/login" } async getHtml() { return /* HTML */ `

${client.lang.get('homeTitle', 'Home')}

${client.lang.get('homeOnline', 'Play online')} ${client.lang.get('homeOffline', 'Play offline')} ${client.lang.get('homeMe', 'Me')} ${client.lang.get('homeLogout', 'Logout')} `; } }