Ajout Image

pull/8/head
Remi LAVERGNE 2 years ago
parent 05c1848fa4
commit cbaa499e28

Binary file not shown.

@ -4,7 +4,7 @@
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="true"
Shell.NavBarIsVisible="False"
Shell.FlyoutBehavior="Disabled">
<TabBar>

@ -2,8 +2,8 @@
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<IsFirstTimeProjectOpen>False</IsFirstTimeProjectOpen>
<ActiveDebugFramework>net7.0-android</ActiveDebugFramework>
<ActiveDebugProfile>Google Pixel 6a (Android 13.0 - API 33)</ActiveDebugProfile>
<ActiveDebugFramework>net7.0-windows10.0.19041.0</ActiveDebugFramework>
<ActiveDebugProfile>Windows Machine</ActiveDebugProfile>
<SelectedPlatformGroup>PhysicalDevice</SelectedPlatformGroup>
<DefaultDevice>pixel_5_-_api_33</DefaultDevice>
</PropertyGroup>

@ -18,7 +18,7 @@ namespace GameAtlas.Models
ListJeux = new List<Jeu>();
Admins = new List<Admin>();
Utilisateurs = new List<Utilisateur>();
}
}
public void AddJeux(Jeu jeux)
{

Binary file not shown.

After

Width:  |  Height:  |  Size: 368 KiB

@ -57,9 +57,9 @@
<ScrollView Orientation="Horizontal" Grid.Row="4" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand">
<HorizontalStackLayout Padding="18" Spacing="18">
<ImageButton Source="logo.png" CornerRadius="10" HeightRequest="160" WidthRequest="290"/>
<ImageButton Source="logo.png" CornerRadius="10" HeightRequest="160" WidthRequest="290"/>
<ImageButton Source="logo.png" CornerRadius="10" HeightRequest="160" WidthRequest="290"/>
<ImageButton Source="cover_zelda.png" CornerRadius="20" HeightRequest="160" WidthRequest="290"/>
<ImageButton Source="cover_zelda.png" CornerRadius="20" HeightRequest="160" WidthRequest="290"/>
<ImageButton Source="cover_zelda.png" CornerRadius="20" HeightRequest="160" WidthRequest="290"/>
</HorizontalStackLayout>
</ScrollView>

@ -1,4 +1,6 @@
namespace GameAtlas.Views;
namespace GameAtlas.Views;
using GameAtlas.Models;
using System.Text.RegularExpressions;
public partial class PageInscription : ContentPage
@ -34,6 +36,8 @@ public partial class PageInscription : ContentPage
return;
}
await Navigation.PushAsync(new PageAcceuil());

@ -21,4 +21,6 @@ public partial class PageJeu : ContentPage
JeuManager.AddJeux(MonJeu);
Debug.WriteLine(JeuManager.ListJeux.Count);
}
}

@ -7,18 +7,13 @@
BackgroundColor="Beige">
<VerticalStackLayout>
<HorizontalStackLayout>
<HorizontalStackLayout HorizontalOptions="FillAndExpand">
<Image Source="arrow_back.png" WidthRequest="25" HeightRequest="25" HorizontalOptions="Start" Margin="20,20,0,0"/>
<SearchBar Placeholder="Rechercher"
BackgroundColor="White"
TextColor="Black"
HorizontalTextAlignment="Center"
VerticalOptions="Center"
HorizontalOptions="Fill"
Grid.Row="2"
Grid.Column="0"
Margin="10"
HorizontalOptions="EndAndExpand"
/>
</HorizontalStackLayout>
<Label
@ -31,10 +26,10 @@
<Grid RowDefinitions="auto, auto, auto, auto"
ColumnDefinitions="*,*">
<Rectangle Grid.Column="0" Grid.Row="0" BackgroundColor="Blue" HeightRequest="97" WidthRequest="170" />
<Rectangle Grid.Column="1" Grid.Row="0" BackgroundColor="Red" HeightRequest="97" WidthRequest="170" />
<Rectangle Grid.Column="0" Grid.Row="1" BackgroundColor="Green" HeightRequest="97" WidthRequest="170" />
<Rectangle Grid.Column="1" Grid.Row="1" BackgroundColor="Orange" HeightRequest="97" WidthRequest="170" />
<ImageButton Source="cover_zelda.png" CornerRadius="10" Grid.Column="0" Grid.Row="0" HeightRequest="97" WidthRequest="170" Margin="0,0,0,20" />
<ImageButton Source="cover_zelda.png" CornerRadius="10" Grid.Column="1" Grid.Row="0" HeightRequest="97" WidthRequest="170" Margin="0,0,0,20" />
<ImageButton Source="cover_zelda.png" CornerRadius="10" Grid.Column="0" Grid.Row="1" HeightRequest="97" WidthRequest="170" Margin="0,0,0,20" />
<ImageButton Source="cover_zelda.png" CornerRadius="10" Grid.Column="1" Grid.Row="1" HeightRequest="97" WidthRequest="170" Margin="0,0,0,20" />
</Grid>

Loading…
Cancel
Save