Merge PR de la base de la page principale

Reviewed-on: #13
pull/20/head
Rémi LAVERGNE 1 year ago
commit cf2b4b336f

@ -10,7 +10,7 @@
<ShellContent
Title="Home"
ContentTemplate="{DataTemplate views:PageConnexion}"
Route="PageConnexion" />
ContentTemplate="{DataTemplate views:PageMenuPrincipal}"
Route="PageMenuPrincipal" />
</Shell>

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Trek_12.Views.PageMenuPrincipal">
<ContentPage.Content>
<Grid RowDefinitions="*,*" BackgroundColor="DarkSalmon">
<Image
Grid.Row="0"
Source="trek12.png"
VerticalOptions="Start"
HorizontalOptions="Center"
HeightRequest="150"/>
<HorizontalStackLayout Grid.Row="1" HorizontalOptions="Center" Spacing="50">
<Button Text="Leaderboard" WidthRequest="300" HeightRequest="60" CornerRadius="4"/>
<Button Text="JOUER" WidthRequest="300" HeightRequest="60" CornerRadius="4"/>
<Button Text="Règles" WidthRequest="300" HeightRequest="60" CornerRadius="4"/>
</HorizontalStackLayout>
</Grid>
</ContentPage.Content>
</ContentPage>

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Trek_12.Views;
public partial class PageMenuPrincipal : ContentPage
{
public PageMenuPrincipal()
{
InitializeComponent();
}
}
Loading…
Cancel
Save