Added setting page

pull/1/head
Matheo HERSAN 2 years ago
parent 9184f25ac9
commit 65a3924aa9

@ -19,6 +19,10 @@
<ShellContent
ContentTemplate="{DataTemplate Views:loginPage}" />
</Tab>
<Tab Title="settingsPage">
<ShellContent
ContentTemplate="{DataTemplate Views:settingsPage}" />
</Tab>
</TabBar>
</Shell>

@ -68,6 +68,9 @@
<MauiXaml Update="Views\loginPage.xaml">
<Generator>MSBuild:Compile</Generator>
</MauiXaml>
<MauiXaml Update="Views\settingsPage.xaml">
<Generator>MSBuild:Compile</Generator>
</MauiXaml>
<MauiXaml Update="Views\signUpPage.xaml">
<Generator>MSBuild:Compile</Generator>
</MauiXaml>

@ -43,7 +43,7 @@
HeightRequest="150"
Fill="Purple"/>
</HorizontalStackLayout>
<HorizontalStackLayout
Spacing="100"
HorizontalOptions="Center">
@ -71,5 +71,6 @@
</HorizontalStackLayout>
</VerticalStackLayout>
</ScrollView>
</ContentPage>

@ -0,0 +1,14 @@
<?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="MangaMap.Views.settingsPage"
Title="settingsPage">
<StackLayout VerticalOptions="Center" HorizontalOptions="Center">
<Button Text="Deconnexion" Clicked="OnLoginClicked" BackgroundColor="MediumPurple" Margin="30"/>
<Button Text="Connexion/Inscription" Clicked="OnLoginClicked" BackgroundColor="MediumPurple" />
</StackLayout>
</ContentPage>

@ -0,0 +1,14 @@
namespace MangaMap.Views;
public partial class settingsPage : ContentPage
{
public settingsPage()
{
InitializeComponent();
}
private void OnLoginClicked(object sender, EventArgs e)
{
//
}
}
Loading…
Cancel
Save