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

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

${lang.get('homeOnline', 'Play online')} ${lang.get('homeOffline', 'Play offline')} ${lang.get('ticTacToeOnline')} ${lang.get('ticTacToe')} ${lang.get('homeSettings', 'Settings')} ${lang.get('homeLogout', 'Logout')} `; } }