diff --git a/src/front/static/ts/main.ts b/src/front/static/ts/main.ts index dd8847a..0443d91 100644 --- a/src/front/static/ts/main.ts +++ b/src/front/static/ts/main.ts @@ -85,6 +85,8 @@ const routes = [ { path: "/login", view: () => import("./views/LoginPage.ts") }, { path: "/register", view: () => import("./views/RegisterPage.ts") }, + { path: "/profile", view: () => import("./views/Profile.ts") }, + { path: "/tetris", view: () => import("./views/Tetris.ts") }, ]; diff --git a/src/front/static/ts/views/Game.ts b/src/front/static/ts/views/Game.ts index 41fe224..5988cc4 100644 --- a/src/front/static/ts/views/Game.ts +++ b/src/front/static/ts/views/Game.ts @@ -14,12 +14,14 @@ export default class extends Aview { async getHTML() { return ` -
-
- - +
+
+
+ + +
+
-