Don't merge, it's prototypal

This commit is contained in:
Xamora
2023-11-30 16:36:21 +01:00
parent c2b6dbb989
commit af9595c447
5 changed files with 45 additions and 5 deletions

View File

@ -3,6 +3,7 @@ import Dashboard from "./views/Dashboard.js";
import Posts from "./views/Posts.js";
import PostView from "./views/PostView.js";
import Settings from "./views/Settings.js";
import Search from "./views/Search.js";
import Chat from "./views/Chat.js";
import HomeView from "./views/HomeView.js";
import RegisterView from "./views/accounts/RegisterView.js";
@ -40,6 +41,7 @@ const router = async (uri = "") => {
{ path: "/login", view: LoginView },
{ path: "/logout", view: LogoutView },
{ path: "/register", view: RegisterView },
{ path: "/search", view: Search },
{ path: "/chat", view: Chat },
{ path: "/home", view: HomeView },
];
@ -94,4 +96,4 @@ document.addEventListener("DOMContentLoaded", () => {
router(location.pathname);
});
export { client, navigateTo }
export { client, navigateTo }