diff --git a/Transcendence/srcs/frontend/src/app.js b/Transcendence/srcs/frontend/src/app.js index b260673..0affa10 100644 --- a/Transcendence/srcs/frontend/src/app.js +++ b/Transcendence/srcs/frontend/src/app.js @@ -2,13 +2,13 @@ * Application entry point * Initializes windows and handles menu interactions */ -import { windowRegistry } from './windows.js'; -import { LoginWindow } from './login.js'; -import { GlobalChat } from './global_chat.js'; -import { AvatarWindow } from './avatar.js'; -import { FriendsWindow } from './friends.js'; -import { GameRoomWindow } from './game_room.js'; -import { StatsWindow } from './stats.js'; +import { windowRegistry } from './core/windows.js'; +import { LoginWindow } from './windows/login.js'; +import { GlobalChat } from './windows/global_chat.js'; +import { AvatarWindow } from './windows/avatar.js'; +import { FriendsWindow } from './windows/friends.js'; +import { GameRoomWindow } from './windows/game_room.js'; +import { StatsWindow } from './windows/stats.js'; /** * Main application class diff --git a/Transcendence/srcs/frontend/src/config.js b/Transcendence/srcs/frontend/src/core/config.js similarity index 100% rename from Transcendence/srcs/frontend/src/config.js rename to Transcendence/srcs/frontend/src/core/config.js diff --git a/Transcendence/srcs/frontend/src/element.js b/Transcendence/srcs/frontend/src/core/element.js similarity index 100% rename from Transcendence/srcs/frontend/src/element.js rename to Transcendence/srcs/frontend/src/core/element.js diff --git a/Transcendence/srcs/frontend/src/events.js b/Transcendence/srcs/frontend/src/core/events.js similarity index 100% rename from Transcendence/srcs/frontend/src/events.js rename to Transcendence/srcs/frontend/src/core/events.js diff --git a/Transcendence/srcs/frontend/src/windows.js b/Transcendence/srcs/frontend/src/core/windows.js similarity index 100% rename from Transcendence/srcs/frontend/src/windows.js rename to Transcendence/srcs/frontend/src/core/windows.js diff --git a/Transcendence/srcs/frontend/src/game.css b/Transcendence/srcs/frontend/src/game/game.css similarity index 100% rename from Transcendence/srcs/frontend/src/game.css rename to Transcendence/srcs/frontend/src/game/game.css diff --git a/Transcendence/srcs/frontend/src/game.html b/Transcendence/srcs/frontend/src/game/game.html similarity index 91% rename from Transcendence/srcs/frontend/src/game.html rename to Transcendence/srcs/frontend/src/game/game.html index c836d29..6738dee 100644 --- a/Transcendence/srcs/frontend/src/game.html +++ b/Transcendence/srcs/frontend/src/game/game.html @@ -21,7 +21,7 @@