credit page + edit of styles

test_old_branch
Jérémy Mouyon 1 year ago
parent 482c0cb9bd
commit 58d8043910

@ -31,5 +31,9 @@
Title="Settings"
ContentTemplate="{DataTemplate localPages:Settings}"
Route="Settings" />
<ShellContent
Title="Credits"
ContentTemplate="{DataTemplate localPages:Credits}"
Route="Credits" />
</Shell>

@ -12,6 +12,7 @@
Text="QWIRKLE"
FontSize="100"
FontFamily="DiloWorld"
TextColor="DarkSlateGrey"
HorizontalTextAlignment="Center"
/>

@ -0,0 +1,60 @@
<?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="Qwirkle.Pages.Credits"
Title="Credits">
<ScrollView>
<VerticalStackLayout>
<Grid ColumnDefinitions="*, 4*,*"
Margin="10, 0">
<Button Text="Go Back"
Grid.Column="0"
Grid.Row="0"
HorizontalOptions="Start"
VerticalOptions="Center"
/>
<Label FontSize="Header"
Grid.Column="1"
Grid.Row="0"
FontAttributes="Bold"
HorizontalOptions="Center"
Padding="50, 10"
Text="Credits"/>
</Grid>
<Label
Text="Line-UP : "
FontSize="30"
FontAttributes="Bold"
Padding="10"
HorizontalOptions="Center" />
<Label
Text="Jules Lascret"
FontSize="20"
HorizontalOptions="Center" />
<Label
Text="Rémy Portet"
FontSize="20"
HorizontalOptions="Center" />
<Label
Text="Jérémy Mouyon (Project leader)"
FontSize="20"
HorizontalOptions="Center" />
<Label
Text="Merci à l'IUT Informatique de l'université de Clermont-Auvernge pour nous avoir permis de realiser ce projet."
FontSize="20"
Padding="75"
FontAttributes="Bold"
HorizontalOptions="Center" />
<Image
Source="uca.png"
HeightRequest="300"
Aspect="AspectFit"
/>
</VerticalStackLayout>
</ScrollView>
</ContentPage>

@ -0,0 +1,9 @@
namespace Qwirkle.Pages;
public partial class Credits : ContentPage
{
public Credits()
{
InitializeComponent();
}
}

@ -60,6 +60,7 @@
<None Remove="Resources\Fonts\DiloWorld.ttf" />
<None Remove="Resources\Fonts\Lexend-Medium.ttf" />
<None Remove="Resources\Images\qwirklelogo.png" />
<None Remove="Resources\Images\uca.png" />
</ItemGroup>
<ItemGroup>
@ -75,6 +76,9 @@
<Compile Update="Pages\GameBoard.xaml.cs">
<DependentUpon>Gameboard.xaml</DependentUpon>
</Compile>
<Compile Update="Pages\Credits.xaml.cs">
<DependentUpon>Credits.xaml</DependentUpon>
</Compile>
<Compile Update="Pages\SetPlayers.xaml.cs">
<DependentUpon>SetPlayers.xaml</DependentUpon>
</Compile>
@ -96,6 +100,9 @@
<MauiXaml Update="Pages\Gameboard.xaml">
<Generator>MSBuild:Compile</Generator>
</MauiXaml>
<MauiXaml Update="Pages\Credits.xaml">
<Generator>MSBuild:Compile</Generator>
</MauiXaml>
<MauiXaml Update="Pages\SetPlayers.xaml">
<Generator>MSBuild:Compile</Generator>
</MauiXaml>

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

@ -165,7 +165,7 @@
</Style>
<Style TargetType="Label">
<Setter Property="TextColor" Value="DarkSlateGrey" />
<Setter Property="TextColor" Value="Black" />
<Setter Property="BackgroundColor" Value="Transparent" />
<Setter Property="FontFamily" Value="Lexend-Meduim" />
<Setter Property="FontSize" Value="14" />

Loading…
Cancel
Save