2023-11-29 14:56:32 -05:00
|
|
|
import AbstractAuthentificateView from "./AbstractAuthentifiedView.js";
|
2023-11-27 13:15:15 -05:00
|
|
|
|
2023-11-29 13:55:44 -05:00
|
|
|
export default class extends AbstractAuthentificateView {
|
2023-11-27 13:15:15 -05:00
|
|
|
constructor(params) {
|
|
|
|
super(params);
|
2023-11-29 10:05:49 -05:00
|
|
|
this.setTitle("Home");
|
2023-11-29 13:55:44 -05:00
|
|
|
this.redirect_url = "/login"
|
2023-11-27 13:15:15 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
async getHtml() {
|
|
|
|
return `
|
|
|
|
<h1>HOME</h1>
|
2023-11-29 10:05:49 -05:00
|
|
|
<a href="/logout" class="nav__link" data-link>Logout</a>
|
2023-11-27 13:15:15 -05:00
|
|
|
`;
|
|
|
|
}
|
|
|
|
}
|