Przeprowadzka
This commit is contained in:
Executable
+74
@@ -0,0 +1,74 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<Shell
|
||||
x:Class="HomePantry.AppShell"
|
||||
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
xmlns:views="clr-namespace:HomePantry.Views"
|
||||
Title="HomePantry"
|
||||
FlyoutBehavior="Flyout">
|
||||
|
||||
<!-- <ShellContent
|
||||
Title="Home"
|
||||
ContentTemplate="{DataTemplate views:MainPage}"
|
||||
Route="MainPage" />
|
||||
|
||||
<ShellContent
|
||||
Title="Spizarnia"
|
||||
ContentTemplate="{DataTemplate views:PantryPage}"
|
||||
Route="PantryPage" />
|
||||
|
||||
<ShellContent
|
||||
Title="Dodaj produkt"
|
||||
ContentTemplate="{DataTemplate views:AddProductPage}"
|
||||
Route="AddProductPage" /> -->
|
||||
|
||||
<!-- <TabBar>
|
||||
<Tab Title="Spiżarnia">
|
||||
<Tab.Icon>
|
||||
<FontImageSource Glyph="🏠" />
|
||||
</Tab.Icon>
|
||||
<ShellContent ContentTemplate="{DataTemplate views:PantryPage}" />
|
||||
</Tab>
|
||||
<Tab Title="Dodaj">
|
||||
<Tab.Icon>
|
||||
<FontImageSource Glyph="➕" />
|
||||
</Tab.Icon>
|
||||
<ShellContent ContentTemplate="{DataTemplate views:AddProductPage}" />
|
||||
</Tab>
|
||||
<Tab Title="Kategorie">
|
||||
<Tab.Icon>
|
||||
<FontImageSource Glyph="📄" />
|
||||
</Tab.Icon>
|
||||
<ShellContent ContentTemplate="{DataTemplate views:PantryPage}" />
|
||||
</Tab>
|
||||
<Tab Title="Ustawienia">
|
||||
<Tab.Icon>
|
||||
<FontImageSource Glyph="⚙️" />
|
||||
</Tab.Icon>
|
||||
<ShellContent ContentTemplate="{DataTemplate views:AddProductPage}" />
|
||||
</Tab>
|
||||
</TabBar> -->
|
||||
|
||||
<Shell.FlyoutHeader>
|
||||
<Grid HeightRequest="120" BackgroundColor="#2E7D32">
|
||||
<VerticalStackLayout VerticalOptions="Center" Margin="20, 0">
|
||||
<Label Text="🏠 Domowa Spiżarnia" TextColor="White" FontSize="22" FontAttributes="Bold" />
|
||||
<Label Text="Zarządzaj swoimi produktami" TextColor="#C8E6C9" FontSize="13" />
|
||||
</VerticalStackLayout>
|
||||
</Grid>
|
||||
</Shell.FlyoutHeader>
|
||||
|
||||
<FlyoutItem Title="Spiżarnia">
|
||||
<ShellContent ContentTemplate="{DataTemplate views:PantryPage}" />
|
||||
</FlyoutItem>
|
||||
<FlyoutItem Title="Dodaj">
|
||||
<ShellContent ContentTemplate="{DataTemplate views:AddProductPage}" />
|
||||
</FlyoutItem>
|
||||
<FlyoutItem Title="Kategorie">
|
||||
<ShellContent ContentTemplate="{DataTemplate views:CategoriesPage}" />
|
||||
</FlyoutItem>
|
||||
<FlyoutItem Title="Ustawienia">
|
||||
<ShellContent ContentTemplate="{DataTemplate views:AddProductPage}" />
|
||||
</FlyoutItem>
|
||||
|
||||
</Shell>
|
||||
Reference in New Issue
Block a user