ft_transcendence/srcs/frontend/static/js/views/Posts.js

15 lines
309 B
JavaScript
Raw Normal View History

2023-11-23 10:43:30 -05:00
import AbstractView from "./AbstractView.js";
export default class extends AbstractView {
constructor(params) {
super(params);
this.setTitle("Posts");
}
async getHtml() {
return `
<h1>Posts</h1>
<p>You are viewing the posts!</p>
`;
}
}