17 lines
369 B
JavaScript
17 lines
369 B
JavaScript
import AbstractView from "./AbstractView.js";
|
|
import { client, navigateTo } from "../index.js";
|
|
|
|
export default class extends AbstractView {
|
|
constructor(params) {
|
|
super(params);
|
|
if (client.isAuthentificate() == false)
|
|
navigateTo("/home");
|
|
this.setTitle("register");
|
|
}
|
|
|
|
async getHtml() {
|
|
return `
|
|
<h1>HOME</h1>
|
|
`;
|
|
}
|
|
} |