From 5330adef881b714fbf4379c6f5fa8d29f6b6f06e Mon Sep 17 00:00:00 2001 From: AdrienLSH Date: Wed, 20 Mar 2024 13:50:15 +0100 Subject: [PATCH] removed dashboard --- frontend/static/js/index.js | 2 -- frontend/static/js/views/Dashboard.js | 20 -------------------- 2 files changed, 22 deletions(-) delete mode 100644 frontend/static/js/views/Dashboard.js 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 ` -

Welcome back, Dom

-

- 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. -

- `; - } -}