Skip to content

Commit

Permalink
Stub out bag tab
Browse files Browse the repository at this point in the history
  • Loading branch information
codemonkey85 committed Nov 21, 2024
1 parent 500ced1 commit 4639cc1
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Pkmds.Web/Components/MainTabPages/BagTab.razor
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
@inherits BasePkmdsComponent

@if (AppState.SaveFile is { Context: { } saveFileEntityContext, Generation: { } saveGeneration } saveFile &&
saveFileEntityContext is not
EntityContext.None or
EntityContext.SplitInvalid or
EntityContext.MaxInvalid)
{

<MudTabs Outlined
Rounded
Border>

<MudTabPanel Text="Items">
</MudTabPanel>

<MudTabPanel Text="PC Items">
</MudTabPanel>

</MudTabs>
}
5 changes: 5 additions & 0 deletions Pkmds.Web/Components/MainTabPages/BagTab.razor.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
namespace Pkmds.Web.Components.MainTabPages;

public partial class BagTab
{
}
4 changes: 4 additions & 0 deletions Pkmds.Web/Components/SaveFileComponent.razor
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,9 @@ else
<TrainerInfoTab />
</MudTabPanel>

<MudTabPanel Text="Bag">
<BagTab />
</MudTabPanel>

</MudTabs>
}

1 comment on commit 4639cc1

@codemonkey85
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Starting work on #23

Please sign in to comment.