After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 221 B |
After Width: | Height: | Size: 27 KiB |
After Width: | Height: | Size: 342 B |
After Width: | Height: | Size: 237 B |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 310 B |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 1.2 KiB |
@ -0,0 +1,109 @@
|
||||
<?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="GameAtlas.Views.PageProfil"
|
||||
Title="PageProfil">
|
||||
|
||||
<Grid x:Name="outerGrid" RowDefinitions="50,35,*" ColumnDefinitions="70,*,70" ColumnSpacing="15" RowSpacing="30" Padding="10,20,10,0">
|
||||
<Grid.Background>
|
||||
<LinearGradientBrush EndPoint="1,0">
|
||||
<GradientStop Color="#DFE4FF"
|
||||
Offset="0.1" />
|
||||
<GradientStop Color="#FDF7E6"
|
||||
Offset="1.0" />
|
||||
</LinearGradientBrush>
|
||||
</Grid.Background>
|
||||
|
||||
|
||||
|
||||
<Grid RowDefinitions="50" ColumnDefinitions="50" HorizontalOptions="End" >
|
||||
<Frame Grid.Row="0" WidthRequest="50" HeightRequest="50" CornerRadius="25" VerticalOptions="Start" >
|
||||
<Frame.Background>
|
||||
<LinearGradientBrush EndPoint="1,0">
|
||||
<GradientStop Color="#C57CFF"
|
||||
Offset="0.1" />
|
||||
<GradientStop Color="#8F00FF"
|
||||
Offset="1.0" />
|
||||
</LinearGradientBrush>
|
||||
</Frame.Background>
|
||||
<Frame HeightRequest="48" WidthRequest="48" CornerRadius="24" VerticalOptions="Center" HorizontalOptions="Center" IsClippedToBounds="True">
|
||||
<Image Source="https://codefirst.iut.uca.fr/git/avatars/4045f9272217b1c04fb71402eac9c97d" Aspect="AspectFill"/>
|
||||
</Frame>
|
||||
</Frame>
|
||||
</Grid>
|
||||
|
||||
<VerticalStackLayout Grid.Column="1" VerticalOptions="Center" Spacing="3">
|
||||
<Label Text="Pseudonyme" FontSize="20" FontFamily="AladinRegular" TextColor="{StaticResource Black}"/>
|
||||
<Label Text="Compte créé le 13/01/2023" FontSize="12" FontFamily="RobotoRegular" TextColor="{StaticResource Black}"/>
|
||||
</VerticalStackLayout>
|
||||
|
||||
<Grid Grid.Row="0" Grid.Column="2" RowDefinitions="50" ColumnDefinitions="50" HorizontalOptions="Start">
|
||||
<Frame WidthRequest="50" HeightRequest="50" CornerRadius="25" VerticalOptions="Start" IsClippedToBounds="True" BackgroundColor="{StaticResource Tertiary}">
|
||||
<Image Source="shieldperson" HeightRequest="40"/>
|
||||
</Frame>
|
||||
</Grid>
|
||||
|
||||
<Grid Grid.Row="1" Grid.ColumnSpan="3" RowDefinitions="35" ColumnDefinitions="*,1,*,1,*" Padding="30,0" Margin="0,0,0,0">
|
||||
|
||||
<Label Text="10
Favoris" FontSize="12" FontFamily="RobotoRegular" TextColor="{StaticResource Black}" VerticalOptions="Center" HorizontalOptions="Center" HorizontalTextAlignment="Start" LineHeight="1.15"/>
|
||||
|
||||
<BoxView Grid.Column="1" Color="{StaticResource Black}" WidthRequest="1"/>
|
||||
|
||||
<Label Grid.Column="2" Text="0
Possédé" FontSize="12" FontFamily="RobotoRegular" TextColor="{StaticResource Black}" VerticalOptions="Center" HorizontalOptions="Center" HorizontalTextAlignment="Start" LineHeight="1.15"/>
|
||||
|
||||
<BoxView Grid.Column="3" Color="{StaticResource Black}" WidthRequest="1"/>
|
||||
|
||||
<Label Grid.Column="4" Text="0
Avis" FontSize="12" FontFamily="RobotoRegular" TextColor="{StaticResource Black}" VerticalOptions="Center" HorizontalOptions="Center" HorizontalTextAlignment="Start" LineHeight="1.15"/>
|
||||
|
||||
</Grid>
|
||||
|
||||
<Border Grid.Row="2" Grid.ColumnSpan="3" StrokeShape="RoundRectangle 20,20,0,0" StrokeThickness="0" Margin="-10,0" BackgroundColor="{StaticResource Secondary}">
|
||||
<StackLayout Padding="30,12,30,0">
|
||||
|
||||
<Label Text="Liste de profil" FontFamily="PTSansCBold" FontSize="24" TextColor="{StaticResource Black}" HorizontalOptions="Center"/>
|
||||
|
||||
<Grid>
|
||||
<CollectionView Margin="0,10,0,0" VerticalScrollBarVisibility="Never">
|
||||
<CollectionView.ItemsSource>
|
||||
<x:Array Type="{x:Type x:String}">
|
||||
<x:String>https://cdn1.epicgames.com/offer/b7b42e2078524ab386a8b2a9856ef557/EGS_SifuDeluxeEditionUpgradeBundle_Sloclap_Bundles_S1_2560x1440-43bae7aa2089289442238bd1e2b55655</x:String>
|
||||
<x:String>https://cdn.cloudflare.steamstatic.com/steam/apps/1562430/capsule_616x353.jpg?t=1682587412</x:String>
|
||||
<x:String>https://i.ytimg.com/vi/0JdUZOZBi2g/maxresdefault.jpg</x:String>
|
||||
<x:String>https://staticctf.ubisoft.com/J3yJr34U2pZ2Ieem48Dwy9uqj5PNUQTn/63JzhYgJbTQC1yW74tmZLJ/dd2912bbaf7c7a8a7e005f02d3e6cf4b/jd23-buy-keyart.jpg</x:String>
|
||||
<x:String>https://gaming-cdn.com/images/products/8893/616x353/horizon-forbidden-west-ps5-playstation-5-jeu-playstation-store-cover.jpg</x:String>
|
||||
<x:String>https://www.highgroundgaming.com/wp-content/uploads/2020/09/Uncharted-Games-Ranked.jpg</x:String>
|
||||
<x:String>https://i.ytimg.com/vi/WQUU8jI1Sq8/maxresdefault.jpg</x:String>
|
||||
<x:String>https://cdn1.epicgames.com/offer/e97659b501af4e3981d5430dad170911/EGS_HogwartsLegacy_AvalancheSoftware_S1_2560x1440-2baf3188eb3c1aa248bcc1af6a927b7e</x:String>
|
||||
<x:String>https://cdn1.epicgames.com/offer/236c74b4cd2e4e3099cbe2ebdc9686fd/EGS_DeadIsland2_DeepSilverDambusterStudios_S1_2560x1440-fdc688ce46680914ee3c4a7949ce8a67</x:String>
|
||||
<x:String>https://cdn.akamai.steamstatic.com/steam/apps/986130/capsule_616x353.jpg?t=1682348079</x:String>
|
||||
<x:String>https://cdn1.epicgames.com/offer/b7b42e2078524ab386a8b2a9856ef557/EGS_SifuDeluxeEditionUpgradeBundle_Sloclap_Bundles_S1_2560x1440-43bae7aa2089289442238bd1e2b55655</x:String>
|
||||
<x:String>https://cdn.cloudflare.steamstatic.com/steam/apps/1562430/capsule_616x353.jpg?t=1682587412</x:String>
|
||||
<x:String>https://i.ytimg.com/vi/0JdUZOZBi2g/maxresdefault.jpg</x:String>
|
||||
<x:String>https://staticctf.ubisoft.com/J3yJr34U2pZ2Ieem48Dwy9uqj5PNUQTn/63JzhYgJbTQC1yW74tmZLJ/dd2912bbaf7c7a8a7e005f02d3e6cf4b/jd23-buy-keyart.jpg</x:String>
|
||||
<x:String>https://image.api.playstation.com/vulcan/ap/rnd/202010/2915/X8TO4UqHFGMQbHTDwKNlWU9z.jpg</x:String>
|
||||
<x:String>https://www.highgroundgaming.com/wp-content/uploads/2020/09/Uncharted-Games-Ranked.jpg</x:String>
|
||||
</x:Array>
|
||||
</CollectionView.ItemsSource>
|
||||
<CollectionView.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<Border HeightRequest="97.5" StrokeShape="RoundRectangle 5" VerticalOptions="Start" HorizontalOptions="Center">
|
||||
<Border.Shadow>
|
||||
<Shadow Brush="Black" Offset="0,4" Radius="4" Opacity="0.4" />
|
||||
</Border.Shadow>
|
||||
<Frame HasShadow="False" HeightRequest="97.5" CornerRadius="5" IsClippedToBounds="True">
|
||||
<Image HeightRequest="97.5" Source="{Binding .}" Aspect="AspectFill"/>
|
||||
</Frame>
|
||||
</Border>
|
||||
</DataTemplate>
|
||||
</CollectionView.ItemTemplate>
|
||||
<CollectionView.ItemsLayout>
|
||||
<GridItemsLayout Span="2" Orientation="Vertical" VerticalItemSpacing="30" HorizontalItemSpacing="15"/>
|
||||
</CollectionView.ItemsLayout>
|
||||
</CollectionView>
|
||||
</Grid>
|
||||
|
||||
</StackLayout>
|
||||
</Border>
|
||||
</Grid>
|
||||
|
||||
</ContentPage>
|
@ -0,0 +1,9 @@
|
||||
namespace GameAtlas.Views;
|
||||
|
||||
public partial class PageProfil : ContentPage
|
||||
{
|
||||
public PageProfil()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|