add: tournament create view
This commit is contained in:
@ -16,6 +16,7 @@ import ProfilePageView from "./views/ProfilePageView.js";
|
||||
import MatchMakingView from "./views/MatchMakingView.js";
|
||||
import TournamentPageView from "./views/TournamentPageView.js";
|
||||
import TournamentsView from "./views/TournamentsListView.js";
|
||||
import TournamentCreateView from "./views/TournamentCreateView.js";
|
||||
|
||||
let client = new Client(location.protocol + "//" + location.host)
|
||||
|
||||
@ -54,8 +55,9 @@ const router = async (uri) => {
|
||||
const routes = [
|
||||
{ path: "/", view: Dashboard },
|
||||
{ path: "/profiles/:id", view: ProfilePageView },
|
||||
{ path: "/tournaments/create", view: TournamentCreateView },
|
||||
{ path: "/tournaments/:id", view: TournamentPageView },
|
||||
{ path: "/tournaments/", view: TournamentsView},
|
||||
{ path: "/tournaments/", view: TournamentsView },
|
||||
{ path: "/login", view: LoginView },
|
||||
{ path: "/logout", view: LogoutView },
|
||||
{ path: "/register", view: RegisterView },
|
||||
|
Reference in New Issue
Block a user