<?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"
             xmlns:local="clr-namespace:MangaMap"
             x:Class="MangaMap.Views.settingsPage"
             BackgroundColor="{StaticResource Secondary}">

    <Grid RowDefinitions="40, *">
        <local:NewContent1 HeightRequest="40" VerticalOptions="Start" Padding="10, 0"/>

        <StackLayout VerticalOptions="Center" HorizontalOptions="Center" Grid.Row="1">
            
            <Button Text="Modifier le compte" Clicked="ModifyAccountClicked"  Margin="0,0,0,10" Style="{StaticResource Bouton}"/>
            
            <Button Text="Deconnexion" Clicked="OnDisconnectClicked" Margin="0,0,0,30" Style="{StaticResource Bouton}"/>

            <Button Text="Connexion Admin" Clicked="LoginAdminClicked" Style="{StaticResource Bouton}"/>

            <Button Text="Ajouter une série" Clicked="AddClicked" Style="{StaticResource Bouton}"/>

            <Entry x:Name="oeuvreEntry" Placeholder="Oeuvre à modifier" Margin="0,10,0,0" Style="{StaticResource Champs}"/>
            <Button Text="Modifier l'ouvre" Clicked="ModifyClicked" Style="{StaticResource Bouton}"/>

        </StackLayout>
    </Grid>

</ContentPage>