diff --git a/frontend/static/js/index.js b/frontend/static/js/index.js index 3cba44e..2616dbb 100644 --- a/frontend/static/js/index.js +++ b/frontend/static/js/index.js @@ -1,6 +1,5 @@ import { Client } from "./api/Client.js"; -import Dashboard from "./views/Dashboard.js"; import Search from "./views/Search.js"; import HomeView from "./views/HomeView.js"; import LogoutView from "./views/accounts/LogoutView.js"; @@ -78,7 +77,6 @@ async function renderView(view) const router = async(uri) => { const routes = [ - { path: "/", view: Dashboard }, { path: "/profiles/:id/history", view: GameHistoryView }, { path: "/profiles/:username", view: ProfilePageView }, { path: "/tournaments/create", view: TournamentCreateView }, diff --git a/frontend/static/js/views/Dashboard.js b/frontend/static/js/views/Dashboard.js deleted file mode 100644 index 7b8be35..0000000 --- a/frontend/static/js/views/Dashboard.js +++ /dev/null @@ -1,20 +0,0 @@ -import AbstractView from "./abstracts/AbstractView.js"; - -export default class extends AbstractView { - constructor(params) { - super(params, "Dashboard"); - } - - async getHtml() { - return ` -
- Akel is a game engine designed to be easy to use. The purpose of the project is learning about game engine development, discovering new rendering processes and learning to use new tools. It is mainly coded on and for Linux but is cross-platform and has been tested on Windows and MacOS. -
-- Akel Engine. - View recent posts. -
- `; - } -}