30 lines
730 B
JavaScript
30 lines
730 B
JavaScript
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&">`;
|
|
}
|
|
} |