From 05580436eb820671d50227971d1b91b9284aba1e Mon Sep 17 00:00:00 2001 From: MyNameIsBatman Date: Tue, 22 Feb 2022 23:14:32 -0300 Subject: [PATCH] Update navigator-creator --- .../creator/NavigatorRoomCreatorView.tsx | 96 ++++++++++--------- 1 file changed, 50 insertions(+), 46 deletions(-) diff --git a/src/components/navigator/views/creator/NavigatorRoomCreatorView.tsx b/src/components/navigator/views/creator/NavigatorRoomCreatorView.tsx index 7efe57b7..d88eba3c 100644 --- a/src/components/navigator/views/creator/NavigatorRoomCreatorView.tsx +++ b/src/components/navigator/views/creator/NavigatorRoomCreatorView.tsx @@ -65,57 +65,61 @@ export const NavigatorRoomCreatorView: FC<{}> = props => return ( - - - { LocalizeText('navigator.createroom.roomnameinfo') } - setName(event.target.value) } /> + + + + { LocalizeText('navigator.createroom.roomnameinfo') } + setName(event.target.value) } /> + + + { LocalizeText('navigator.category') } + + + + { LocalizeText('navigator.maxvisitors') } + + + + { LocalizeText('navigator.tradesettings') } + + + + { LocalizeText('navigator.createroom.roomdescinfo') } + setDescription(event.target.value) } /> + - - { LocalizeText('navigator.category') } - + return ( selectModel(model) } itemActive={ (selectedModelName === model.name) } overflow="unset" gap={ 0 } className="p-1" disabled={ (GetSessionDataManager().clubLevel < model.clubLevel) }> + + + + { model.tileSize } { LocalizeText('navigator.createroom.tilesize') } + { model.clubLevel > HabboClubLevelEnum.NO_CLUB && } + ); + }) + } - - { LocalizeText('navigator.maxvisitors') } - - - - { LocalizeText('navigator.tradesettings') } - + + - - { LocalizeText('navigator.createroom.roomdescinfo') } - setDescription(event.target.value) } /> - - - { - RoomModels.map(model => - { - return ( selectModel(model) } itemActive={ (selectedModelName === model.name) } overflow="unset" gap={ 0 } className="p-1" disabled={ (GetSessionDataManager().clubLevel < model.clubLevel) }> - - - - { model.tileSize } { LocalizeText('navigator.createroom.tilesize') } - { model.clubLevel > HabboClubLevelEnum.NO_CLUB && } - ); - }) - } - - ); }