Ajout de la boite pour se connecter et de nouvelles polices d'écritures

pull/8/head
Rémi LAVERGNE 2 years ago
parent 143c7f9c7b
commit b67ff5115f

Binary file not shown.

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

@ -39,7 +39,6 @@
<!-- Images --> <!-- Images -->
<MauiImage Include="Resources\Images\*" /> <MauiImage Include="Resources\Images\*" />
<MauiImage Update="Resources\Images\dotnet_bot.svg" BaseSize="168,208" />
<!-- Custom Fonts --> <!-- Custom Fonts -->
<MauiFont Include="Resources\Fonts\*" /> <MauiFont Include="Resources\Fonts\*" />

@ -4,6 +4,15 @@
<IsFirstTimeProjectOpen>False</IsFirstTimeProjectOpen> <IsFirstTimeProjectOpen>False</IsFirstTimeProjectOpen>
<ActiveDebugFramework>net7.0-windows10.0.19041.0</ActiveDebugFramework> <ActiveDebugFramework>net7.0-windows10.0.19041.0</ActiveDebugFramework>
<ActiveDebugProfile>Windows Machine</ActiveDebugProfile> <ActiveDebugProfile>Windows Machine</ActiveDebugProfile>
<SelectedPlatformGroup>Emulator</SelectedPlatformGroup>
<DefaultDevice>pixel_5_-_api_33</DefaultDevice>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetPlatformIdentifier)'=='iOS'">
<RuntimeIdentifier>iossimulator-x64</RuntimeIdentifier>
<PlatformTarget>x64</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net7.0-android|AnyCPU'">
<DebuggerFlavor>ProjectDebugger</DebuggerFlavor>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<MauiXaml Update="Views\PageConnexion.xaml"> <MauiXaml Update="Views\PageConnexion.xaml">

@ -15,6 +15,7 @@ public static class MauiProgram
{ {
fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular"); fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold"); fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
fonts.AddFont("Aladin-Regular.ttf", "Aladin");
}); });
#if DEBUG #if DEBUG

@ -3,7 +3,7 @@
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit" xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
x:Class="GameAtlas.Views.PageAcceuil" x:Class="GameAtlas.Views.PageAcceuil"
Title="ACCUEIL"> Title="ACCUEIL" WidthRequest="390" HeightRequest="844">
<VerticalStackLayout> <VerticalStackLayout>
<Grid Margin="30"> <Grid Margin="30">
@ -32,10 +32,11 @@
HorizontalOptions="Start" HorizontalOptions="Start"
Padding="10" Padding="10"
Grid.Column="1" Grid.Column="1"
Grid.Row="0"/> Grid.Row="0"
FontFamily="Aladin"/>
<Entry x:Name="search" <Entry x:Name="search"
MaxLength="20" MaxLength="17"
ClearButtonVisibility="WhileEditing" ClearButtonVisibility="WhileEditing"
BackgroundColor="LightGray" BackgroundColor="LightGray"
Placeholder="Rechercher..." Placeholder="Rechercher..."

@ -2,39 +2,108 @@
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" <ContentPage 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"
x:Class="GameAtlas.Views.PageConnexion" x:Class="GameAtlas.Views.PageConnexion"
Title="ECRAN DE CONNEXION" Title="ECRAN DE CONNEXION" WidthRequest="390" HeightRequest="844"
BackgroundColor="#FAD05D"> BackgroundColor="#FAD05D">
<ContentPage.MenuBarItems>
<MenuBarItem Text="Onglet 1">
</MenuBarItem>
<MenuBarItem Text="Onglet 2">
</MenuBarItem>
<MenuBarItem Text="Onglet 3">
</MenuBarItem>
</ContentPage.MenuBarItems>
<VerticalStackLayout> <VerticalStackLayout>
<Frame Margin="40"
BorderColor="DarkViolet" <Grid>
CornerRadius="50" <Grid.RowDefinitions>
HeightRequest="60" <RowDefinition Height="*"/>
WidthRequest="60" <RowDefinition Height="*"/>
IsClippedToBounds="True" <RowDefinition Height="*"/>
HorizontalOptions="Center" </Grid.RowDefinitions>
VerticalOptions="Center"> <Grid.ColumnDefinitions>
<Image Source="unknown.png" <ColumnDefinition Width="*"/>
Aspect="AspectFit" <ColumnDefinition Width="auto"/>
Margin="-20" <ColumnDefinition Width="*"/>
HeightRequest="60" </Grid.ColumnDefinitions>
WidthRequest="60"/>
</Frame> <Frame Margin="40"
BorderColor="DarkViolet"
<Label Text="Hello !" CornerRadius="50"
VerticalOptions="Center" HeightRequest="60"
WidthRequest="60"
IsClippedToBounds="True"
HorizontalOptions="Center" HorizontalOptions="Center"
FontSize="20" VerticalOptions="Center"
FontAttributes="Bold,Italic"/> Grid.Column="1"
Grid.Row="0">
<BoxView Margin="50" <Image Source="unknown.png"
Color="#74B9FF" Aspect="AspectFit"
CornerRadius="14" Margin="-20"
WidthRequest="321" HeightRequest="60"
HeightRequest="333" WidthRequest="60"/>
VerticalOptions="Center" </Frame>
HorizontalOptions="Center"
Opacity="0.6"/> <Label Text="Hello !"
TextColor="Black"
VerticalOptions="Center"
HorizontalOptions="Center"
FontSize="20"
FontAttributes="Bold,Italic"
FontFamily="Roboto"/>
<Border Stroke="Black"
StrokeThickness="2"
Background="#74B9FF"
Opacity="0.6"
Padding="16,8"
WidthRequest="300"
HeightRequest="300"
Grid.Column="1"
Grid.Row="2"
HorizontalOptions="Center"
VerticalOptions="Start">
<Border.StrokeShape>
<RoundRectangle CornerRadius="14"/>
</Border.StrokeShape>
</Border>
<Label Text="Connexion"
TextColor="Black"
FontSize="20"
HorizontalTextAlignment="Start"
Margin="30,10, 0, 0"
Grid.Column="1"
Grid.Row="2"
FontAttributes="Bold"
FontFamily="Roboto"/>
<Label Text="Inscription"
TextColor="Black"
FontSize="20"
HorizontalTextAlignment="End"
Margin="0,10,30,0"
Grid.Column="1"
Grid.Row="2"
FontFamily="Roboto"/>
<Rectangle Fill="Black"
WidthRequest="2"
HeightRequest="45"
HorizontalOptions="Center"
VerticalOptions="Start"
Grid.Column="1"
Grid.Row="2"/>
<Rectangle Fill="Black"
WidthRequest="296"
HeightRequest="2"
HorizontalOptions="Center"
VerticalOptions="Center"
Grid.Column="1"
Grid.Row="2"/>
</Grid>
</VerticalStackLayout> </VerticalStackLayout>
</ContentPage> </ContentPage>
Loading…
Cancel
Save