|
|
@ -4,60 +4,39 @@
|
|
|
|
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
|
|
|
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
|
|
xmlns:views="clr-namespace:GameAtlas.Views"
|
|
|
|
xmlns:views="clr-namespace:GameAtlas.Views"
|
|
|
|
Shell.NavBarIsVisible="False"
|
|
|
|
|
|
|
|
Shell.FlyoutBehavior="Disabled">
|
|
|
|
Shell.FlyoutBehavior="Disabled">
|
|
|
|
|
|
|
|
|
|
|
|
<TabBar>
|
|
|
|
<Shell.Resources>
|
|
|
|
<Tab Title="Connexion">
|
|
|
|
<ResourceDictionary>
|
|
|
|
<ShellContent
|
|
|
|
<Style x:Key="BaseStyle" TargetType="Element">
|
|
|
|
Title="Connexion"
|
|
|
|
<Setter Property="Shell.ForegroundColor" Value="{StaticResource Gray1000}" />
|
|
|
|
ContentTemplate="{DataTemplate views:PageConnexion}"
|
|
|
|
<Setter Property="Shell.UnselectedColor" Value="{StaticResource Gray300}" />
|
|
|
|
Route="Views/PageConnexion" />
|
|
|
|
<Setter Property="Shell.TabBarBackgroundColor" Value="{StaticResource Gray1000}" />
|
|
|
|
</Tab>
|
|
|
|
<Setter Property="Shell.TabBarForegroundColor" Value="{StaticResource White}"/>
|
|
|
|
|
|
|
|
<Setter Property="Shell.TabBarUnselectedColor" Value="{StaticResource Gray300}"/>
|
|
|
|
<Tab Title="Inscription">
|
|
|
|
</Style>
|
|
|
|
<ShellContent
|
|
|
|
<Style TargetType="TabBar" BasedOn="{StaticResource BaseStyle}" />
|
|
|
|
Title="Connexion"
|
|
|
|
<Style TargetType="FlyoutItem" BasedOn="{StaticResource BaseStyle}" />
|
|
|
|
ContentTemplate="{DataTemplate views:PageInscription}"
|
|
|
|
</ResourceDictionary>
|
|
|
|
Route="Views/PageInscription" />
|
|
|
|
</Shell.Resources>
|
|
|
|
</Tab>
|
|
|
|
|
|
|
|
|
|
|
|
<TabBar>
|
|
|
|
<Tab Title="Accueil">
|
|
|
|
<ShellContent
|
|
|
|
<ShellContent
|
|
|
|
Title="Accueil"
|
|
|
|
Title="Accueil"
|
|
|
|
Icon="home"
|
|
|
|
ContentTemplate="{DataTemplate views:PageAcceuil}"
|
|
|
|
ContentTemplate="{DataTemplate views:PageAcceuil}"
|
|
|
|
Route="Views/PageAcceuil" />
|
|
|
|
Route="PageAccueil" />
|
|
|
|
</Tab>
|
|
|
|
<ShellContent
|
|
|
|
|
|
|
|
Title="Parcourir"
|
|
|
|
<Tab Title="Profil">
|
|
|
|
Icon="console"
|
|
|
|
<ShellContent
|
|
|
|
ContentTemplate="{DataTemplate views:PageParcourir}"
|
|
|
|
Title="Profil"
|
|
|
|
Route="PageParcourir" />
|
|
|
|
ContentTemplate="{DataTemplate views:PageProfil}"
|
|
|
|
<ShellContent
|
|
|
|
Route="Views/PageProfil" />
|
|
|
|
Title="Profil"
|
|
|
|
</Tab>
|
|
|
|
Icon="account"
|
|
|
|
|
|
|
|
ContentTemplate="{DataTemplate views:PageProfil}"
|
|
|
|
<Tab Title="Jeu">
|
|
|
|
Route="PageProfil" />
|
|
|
|
<ShellContent
|
|
|
|
|
|
|
|
Title="Jeu"
|
|
|
|
|
|
|
|
ContentTemplate="{DataTemplate views:PageJeu}"
|
|
|
|
|
|
|
|
Route="Views/PageJeu" />
|
|
|
|
|
|
|
|
</Tab>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</TabBar>
|
|
|
|
</TabBar>
|
|
|
|
|
|
|
|
|
|
|
|
<FlyoutItem>
|
|
|
|
|
|
|
|
<ShellContent
|
|
|
|
|
|
|
|
Title="Parcourir"
|
|
|
|
|
|
|
|
ContentTemplate="{DataTemplate views:PageParcourir}"
|
|
|
|
|
|
|
|
Route="Views/PageParcourir" />
|
|
|
|
|
|
|
|
</FlyoutItem>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<FlyoutItem>
|
|
|
|
|
|
|
|
<ShellContent
|
|
|
|
|
|
|
|
Title="Jeu"
|
|
|
|
|
|
|
|
ContentTemplate="{DataTemplate views:PageJeu}"
|
|
|
|
|
|
|
|
Route="Views/PageJeu" />
|
|
|
|
|
|
|
|
</FlyoutItem>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</Shell>
|
|
|
|
</Shell>
|
|
|
|