ft_transcendence/frontend/static/js/views/Dashboard.js

20 lines
638 B
JavaScript
Raw Permalink Normal View History

import AbstractView from "./abstracts/AbstractView.js";
2023-11-21 13:15:16 -05:00
export default class extends AbstractView {
constructor(params) {
2023-11-30 07:05:46 -05:00
super(params, "Dashboard");
2023-11-21 13:15:16 -05:00
}
async getHtml() {
return `
<h1>Welcome back, Dom</h1>
<p>
Fugiat voluptate et nisi Lorem cillum anim sit do eiusmod occaecat irure do. Reprehenderit anim fugiat sint exercitation consequat. Sit anim laborum sit amet Lorem adipisicing ullamco duis. Anim in do magna ea pariatur et.
</p>
<p>
<a href="/posts" data-link>View recent posts</a>.
</p>
`;
}
}