Merge pull request 'Fusion des correctifs d'affichage pour les deux nouvelles pages' (#11) from remi into master

Reviewed-on: remi.lavergne/SAE2.01-IHM_-_Remi_LAVERGNE_-_Yvan_CALATAYUD#11
pull/13/head^2
Rémi LAVERGNE 2 years ago
commit ca3b1539d7

Binary file not shown.

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

@ -3,7 +3,7 @@
<PropertyGroup>
<IsFirstTimeProjectOpen>False</IsFirstTimeProjectOpen>
<ActiveDebugFramework>net7.0-android</ActiveDebugFramework>
<ActiveDebugProfile>Xiaomi 2201117SY (Android 12.0 - API 31)</ActiveDebugProfile>
<ActiveDebugProfile>Pixel 5 - API 33 (1) (Android 13.0 - API 33)</ActiveDebugProfile>
<SelectedPlatformGroup>PhysicalDevice</SelectedPlatformGroup>
<DefaultDevice>pixel_5_-_api_33_1</DefaultDevice>
</PropertyGroup>

@ -4,22 +4,22 @@
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
<Color x:Key="Primary">#512BD4</Color>
<Color x:Key="Secondary">#DFD8F7</Color>
<Color x:Key="Tertiary">#2B0B98</Color>
<Color x:Key="Primary">#FAD05D</Color>
<Color x:Key="Secondary">#C8D1FF</Color>
<Color x:Key="Tertiary">#D9D9D9</Color>
<Color x:Key="White">White</Color>
<Color x:Key="Black">Black</Color>
<Color x:Key="Gray100">#E1E1E1</Color>
<Color x:Key="Gray200">#C8C8C8</Color>
<Color x:Key="Gray300">#ACACAC</Color>
<Color x:Key="Gray300">#A0A0A0</Color>
<Color x:Key="Gray400">#919191</Color>
<Color x:Key="Gray500">#6E6E6E</Color>
<Color x:Key="Gray500">#5E5E5E</Color>
<Color x:Key="Gray600">#404040</Color>
<Color x:Key="Gray900">#212121</Color>
<Color x:Key="Gray950">#141414</Color>
<Color x:Key="Gray1000">#121212</Color>
<SolidColorBrush x:Key="PrimaryBrush" Color="{StaticResource Primary}"/>
<SolidColorBrush x:Key="SecondaryBrush" Color="{StaticResource Secondary}"/>
<SolidColorBrush x:Key="TertiaryBrush" Color="{StaticResource Tertiary}"/>
<SolidColorBrush x:Key="WhiteBrush" Color="{StaticResource White}"/>
<SolidColorBrush x:Key="BlackBrush" Color="{StaticResource Black}"/>
<SolidColorBrush x:Key="Gray100Brush" Color="{StaticResource Gray100}"/>

@ -132,8 +132,8 @@
<Style TargetType="Frame">
<Setter Property="HasShadow" Value="False" />
<Setter Property="BorderColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray950}}" />
<Setter Property="CornerRadius" Value="8" />
<Setter Property="CornerRadius" Value="0" />
<Setter Property="Padding" Value="0" />
</Style>
<Style TargetType="ImageButton">
@ -407,7 +407,6 @@
<Style TargetType="Image" x:Key="Stars">
<Setter Property="Source" Value="star.png"/>
<Setter Property="HorizontalOptions" Value="Start"/>

@ -10,6 +10,9 @@
<Grid RowDefinitions="166,*" ColumnDefinitions="30,*,30" Padding="10,20,10,0">
<Image Source="arrowback" VerticalOptions="Start" WidthRequest="30">
<Image.GestureRecognizers>
<TapGestureRecognizer Tapped="Back_Tapped"/>
</Image.GestureRecognizers>
</Image>
<Border Grid.Row="0" Grid.Column="1" WidthRequest="290" HeightRequest="166" StrokeShape="RoundRectangle 5" VerticalOptions="Start" HorizontalOptions="Center">

@ -13,5 +13,8 @@ public partial class PageJeu : ContentPage
InitializeComponent();
}
async void Back_Tapped(System.Object sender, Microsoft.Maui.Controls.TappedEventArgs e)
{
await Navigation.PopAsync();
}
}

@ -82,6 +82,10 @@
</Border.Shadow>
<Frame HasShadow="False" HeightRequest="97.5" CornerRadius="5" IsClippedToBounds="True">
<Image HeightRequest="97.5" Source="{Binding .}" Aspect="AspectFill"/>
<Frame.GestureRecognizers>
<TapGestureRecognizer Tapped="OnGame_Tapped"/>
</Frame.GestureRecognizers>
</Frame>
</Border>
</DataTemplate>

@ -6,4 +6,9 @@ public partial class PageProfil : ContentPage
{
InitializeComponent();
}
async void OnGame_Tapped(System.Object sender, Microsoft.Maui.Controls.TappedEventArgs e)
{
await Shell.Current.GoToAsync(nameof(DetailPage));
}
}

@ -1,17 +1,17 @@
{
"format": 1,
"restore": {
"C:\\Users\\remib\\OneDrive\\Bureau\\1A\\SAE2.01-IHM\\GameAtlas\\GameAtlas\\GameAtlas.csproj": {}
"C:\\Users\\remib\\OneDrive\\Bureau\\1A\\SAE2.01-IHM_-_Remi_LAVERGNE_-_Yvan_CALATAYUD\\GameAtlas\\GameAtlas\\GameAtlas.csproj": {}
},
"projects": {
"C:\\Users\\remib\\OneDrive\\Bureau\\1A\\SAE2.01-IHM\\GameAtlas\\GameAtlas\\GameAtlas.csproj": {
"C:\\Users\\remib\\OneDrive\\Bureau\\1A\\SAE2.01-IHM_-_Remi_LAVERGNE_-_Yvan_CALATAYUD\\GameAtlas\\GameAtlas\\GameAtlas.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\remib\\OneDrive\\Bureau\\1A\\SAE2.01-IHM\\GameAtlas\\GameAtlas\\GameAtlas.csproj",
"projectUniqueName": "C:\\Users\\remib\\OneDrive\\Bureau\\1A\\SAE2.01-IHM_-_Remi_LAVERGNE_-_Yvan_CALATAYUD\\GameAtlas\\GameAtlas\\GameAtlas.csproj",
"projectName": "GameAtlas",
"projectPath": "C:\\Users\\remib\\OneDrive\\Bureau\\1A\\SAE2.01-IHM\\GameAtlas\\GameAtlas\\GameAtlas.csproj",
"projectPath": "C:\\Users\\remib\\OneDrive\\Bureau\\1A\\SAE2.01-IHM_-_Remi_LAVERGNE_-_Yvan_CALATAYUD\\GameAtlas\\GameAtlas\\GameAtlas.csproj",
"packagesPath": "C:\\Users\\remib\\.nuget\\packages\\",
"outputPath": "C:\\Users\\remib\\OneDrive\\Bureau\\1A\\SAE2.01-IHM\\GameAtlas\\GameAtlas\\obj\\",
"outputPath": "C:\\Users\\remib\\OneDrive\\Bureau\\1A\\SAE2.01-IHM_-_Remi_LAVERGNE_-_Yvan_CALATAYUD\\GameAtlas\\GameAtlas\\obj\\",
"projectStyle": "PackageReference",
"crossTargeting": true,
"fallbackFolders": [

@ -25006,11 +25006,11 @@
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\remib\\OneDrive\\Bureau\\1A\\SAE2.01-IHM\\GameAtlas\\GameAtlas\\GameAtlas.csproj",
"projectUniqueName": "C:\\Users\\remib\\OneDrive\\Bureau\\1A\\SAE2.01-IHM_-_Remi_LAVERGNE_-_Yvan_CALATAYUD\\GameAtlas\\GameAtlas\\GameAtlas.csproj",
"projectName": "GameAtlas",
"projectPath": "C:\\Users\\remib\\OneDrive\\Bureau\\1A\\SAE2.01-IHM\\GameAtlas\\GameAtlas\\GameAtlas.csproj",
"projectPath": "C:\\Users\\remib\\OneDrive\\Bureau\\1A\\SAE2.01-IHM_-_Remi_LAVERGNE_-_Yvan_CALATAYUD\\GameAtlas\\GameAtlas\\GameAtlas.csproj",
"packagesPath": "C:\\Users\\remib\\.nuget\\packages\\",
"outputPath": "C:\\Users\\remib\\OneDrive\\Bureau\\1A\\SAE2.01-IHM\\GameAtlas\\GameAtlas\\obj\\",
"outputPath": "C:\\Users\\remib\\OneDrive\\Bureau\\1A\\SAE2.01-IHM_-_Remi_LAVERGNE_-_Yvan_CALATAYUD\\GameAtlas\\GameAtlas\\obj\\",
"projectStyle": "PackageReference",
"crossTargeting": true,
"fallbackFolders": [

@ -1,8 +1,8 @@
{
"version": 2,
"dgSpecHash": "vMdiSc1+yYZdXqHO8vvS1Aw4ovTk9USRxvEIpx0dZVsodI8erEF3LkRbetynExN+6SXraNXLDCnd3LmsAqg4Pg==",
"dgSpecHash": "Y3w0Y+Ey7hhZQ692A3sWO4Tvq09uqTQ0u8HSHrvAkqfCxRFvhorB4m2e447JPeTRbl778JhvAgvs+G5e0QiOgg==",
"success": true,
"projectFilePath": "C:\\Users\\remib\\OneDrive\\Bureau\\1A\\SAE2.01-IHM\\GameAtlas\\GameAtlas\\GameAtlas.csproj",
"projectFilePath": "C:\\Users\\remib\\OneDrive\\Bureau\\1A\\SAE2.01-IHM_-_Remi_LAVERGNE_-_Yvan_CALATAYUD\\GameAtlas\\GameAtlas\\GameAtlas.csproj",
"expectedPackageFiles": [
"C:\\Users\\remib\\.nuget\\packages\\communitytoolkit.maui\\5.0.0\\communitytoolkit.maui.5.0.0.nupkg.sha512",
"C:\\Users\\remib\\.nuget\\packages\\communitytoolkit.maui.core\\5.0.0\\communitytoolkit.maui.core.5.0.0.nupkg.sha512",

Loading…
Cancel
Save