From a9d97efc9846ad4787ae98a5c82701defe25575f Mon Sep 17 00:00:00 2001 From: Bill Date: Thu, 23 Sep 2021 05:20:15 -0400 Subject: [PATCH] Inventory layout updates --- .../views/badge/InventoryBadgeView.tsx | 58 +++++++++++++------ .../inventory/views/bot/InventoryBotView.tsx | 19 +++--- .../furniture/InventoryFurnitureView.tsx | 26 +++++---- .../inventory/views/pet/InventoryPetView.tsx | 17 +++--- 4 files changed, 75 insertions(+), 45 deletions(-) diff --git a/src/views/inventory/views/badge/InventoryBadgeView.tsx b/src/views/inventory/views/badge/InventoryBadgeView.tsx index 58ce4a56..3bcd03b6 100644 --- a/src/views/inventory/views/badge/InventoryBadgeView.tsx +++ b/src/views/inventory/views/badge/InventoryBadgeView.tsx @@ -74,33 +74,55 @@ export const InventoryBadgeView: FC = props => } return ( - <> -
-
-
- -
-
+
+
+
+ +
+
+

{ LocalizeText('inventory.badges.activebadges') }

-
-
{ badge && badge.length && -
-
- -
-

{ LocalizeBadgeName(badge) }

+
+
+
+ +
{ LocalizeBadgeName(badge) }
} -
-
{ LocalizeText('achievements_score_description', [ 'score' ], [ '0' ]) }
-
- +
+ //
+ //
+ //
+ // + //
+ //
+ //

{ LocalizeText('inventory.badges.activebadges') }

+ // + //
+ //
+ //
+ // { badge && badge.length && + //
+ //
+ // + //
+ //

{ LocalizeBadgeName(badge) }

+ //
+ //
+ // + //
} + //
+ //
{ LocalizeText('achievements_score_description', [ 'score' ], [ '0' ]) }
+ //
+ //
+ //
+ // ); } diff --git a/src/views/inventory/views/bot/InventoryBotView.tsx b/src/views/inventory/views/bot/InventoryBotView.tsx index 5ea3ef84..d4828b31 100644 --- a/src/views/inventory/views/bot/InventoryBotView.tsx +++ b/src/views/inventory/views/bot/InventoryBotView.tsx @@ -81,15 +81,18 @@ export const InventoryBotView: FC = props => return (
-
- +
+
-
- - { botItem &&
-

{ botItem.botData.name }

- { !!roomSession && } -
} +
+
+ +
+ { botItem && +
+

{ botItem.botData.name }

+ { !!roomSession && } +
}
); diff --git a/src/views/inventory/views/furniture/InventoryFurnitureView.tsx b/src/views/inventory/views/furniture/InventoryFurnitureView.tsx index 1df916ef..0a4f93cc 100644 --- a/src/views/inventory/views/furniture/InventoryFurnitureView.tsx +++ b/src/views/inventory/views/furniture/InventoryFurnitureView.tsx @@ -121,19 +121,21 @@ export const InventoryFurnitureView: FC = props =>
-
- - { groupItem && groupItem.stuffData.isUnique && -
- -
} - { (groupItem && groupItem.stuffData.rarityLevel > -1) && -
- -
} +
+
+ + { groupItem && groupItem.stuffData.isUnique && +
+ +
} + { (groupItem && groupItem.stuffData.rarityLevel > -1) && +
+ +
} +
{ groupItem && -
-

{ groupItem.name }

+
+

{ groupItem.name }

{ !!roomSession && }
} diff --git a/src/views/inventory/views/pet/InventoryPetView.tsx b/src/views/inventory/views/pet/InventoryPetView.tsx index 5d8d8d90..a90faef1 100644 --- a/src/views/inventory/views/pet/InventoryPetView.tsx +++ b/src/views/inventory/views/pet/InventoryPetView.tsx @@ -81,15 +81,18 @@ export const InventoryPetView: FC = props => return (
-
+
-
- - { petItem &&
-

{ petItem.petData.name }

- { !!roomSession && } -
} +
+
+ +
+ { petItem && +
+

{ petItem.petData.name }

+ { !!roomSession && } +
}
);