view: Removed old view and added base new one
This commit is contained in:
30
frontend/static/js/views/TicTacToeOnlineView.js
Normal file
30
frontend/static/js/views/TicTacToeOnlineView.js
Normal file
@ -0,0 +1,30 @@
|
||||
import AbstractView from "./abstracts/AbstractView.js";
|
||||
|
||||
export default class extends AbstractView
|
||||
{
|
||||
constructor(params, titleKey)
|
||||
{
|
||||
this.params = params;
|
||||
this.titleKey = titleKey;
|
||||
}
|
||||
|
||||
async postInit()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
async leavePage()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
setTitle()
|
||||
{
|
||||
document.title = lang.get(this.titleKey, this.titleKey);
|
||||
}
|
||||
|
||||
async getHtml() {
|
||||
return `<h1>Work in progress bozo</h1>
|
||||
<img src="https://cdn.discordapp.com/attachments/1089527100681240716/1219360784224616498/Snapinsta.app_424926392_1109913580191337_8974514051687331181_n_1080.jpg?ex=660b0539&is=65f89039&hm=25dbcab44e50ec8ca3019dab476293a1001c224c6b6312bd9e30fba1f72667b5&">`;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user