From b2b8f3a86fe8aa67b0b6903f456302999082e6fb Mon Sep 17 00:00:00 2001 From: lobroda Date: Sat, 9 Sep 2023 09:29:58 +0100 Subject: [PATCH] =?UTF-8?q?ADD=20:=20Avancement=20vues=20(=C3=A9l=C3=A9men?= =?UTF-8?q?ts=20cliquables,=20couleurs=20icons...)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LivreLand/LivreLand.csproj | 1 + LivreLand/MauiProgram.cs | 4 +- LivreLand/Resources/Styles/Colors.xaml | 2 + .../ContentViews/DetailsLivreButtonView.xaml | 7 +++- .../View/ContentViews/HomeButtonView.xaml | 7 +++- .../View/ContentViews/HomeButtonView.xaml.cs | 9 ++++ .../ContentViews/PopupHomePlusButtonView.xaml | 15 ++++--- .../PopupHomePlusButtonView.xaml.cs | 4 +- .../SeparatorBigCutStartView.xaml | 6 +-- .../ContentViews/SeparatorCutStartView.xaml | 6 +-- .../ContentViews/SeparatorEntireView.xaml | 9 ++-- LivreLand/View/FiltrageAuteurView.xaml | 4 +- LivreLand/View/FiltrageDateView.xaml | 4 +- LivreLand/View/FiltrageNoteView.xaml | 4 +- LivreLand/View/HeaderPage.xaml | 42 ++++++++++++------- LivreLand/View/HeaderPage.xaml.cs | 8 ++++ 16 files changed, 93 insertions(+), 39 deletions(-) diff --git a/LivreLand/LivreLand.csproj b/LivreLand/LivreLand.csproj index 457b353..7958120 100644 --- a/LivreLand/LivreLand.csproj +++ b/LivreLand/LivreLand.csproj @@ -49,6 +49,7 @@ + diff --git a/LivreLand/MauiProgram.cs b/LivreLand/MauiProgram.cs index 848056d..3df3010 100644 --- a/LivreLand/MauiProgram.cs +++ b/LivreLand/MauiProgram.cs @@ -1,4 +1,5 @@ -using Microsoft.Extensions.Logging; +using CommunityToolkit.Maui; +using Microsoft.Extensions.Logging; namespace LivreLand; @@ -9,6 +10,7 @@ public static class MauiProgram var builder = MauiApp.CreateBuilder(); builder .UseMauiApp() + .UseMauiCommunityToolkit() .ConfigureFonts(fonts => { fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular"); diff --git a/LivreLand/Resources/Styles/Colors.xaml b/LivreLand/Resources/Styles/Colors.xaml index e0df97e..3a4ab54 100644 --- a/LivreLand/Resources/Styles/Colors.xaml +++ b/LivreLand/Resources/Styles/Colors.xaml @@ -10,6 +10,8 @@ #f2f0f6 #c9c9cb + #fd0342 + #512BD4 #DFD8F7 #2B0B98 diff --git a/LivreLand/View/ContentViews/DetailsLivreButtonView.xaml b/LivreLand/View/ContentViews/DetailsLivreButtonView.xaml index 82dadab..c3f045c 100644 --- a/LivreLand/View/ContentViews/DetailsLivreButtonView.xaml +++ b/LivreLand/View/ContentViews/DetailsLivreButtonView.xaml @@ -1,6 +1,7 @@ @@ -15,7 +16,11 @@ + Grid.Column="0"> + + + + diff --git a/LivreLand/View/ContentViews/SeparatorEntireView.xaml b/LivreLand/View/ContentViews/SeparatorEntireView.xaml index 8001920..6cc61ed 100644 --- a/LivreLand/View/ContentViews/SeparatorEntireView.xaml +++ b/LivreLand/View/ContentViews/SeparatorEntireView.xaml @@ -3,12 +3,11 @@ xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="LivreLand.View.ContentViews.SeparatorEntireView"> - - - - + + + diff --git a/LivreLand/View/FiltrageAuteurView.xaml b/LivreLand/View/FiltrageAuteurView.xaml index b19da44..d600bd1 100644 --- a/LivreLand/View/FiltrageAuteurView.xaml +++ b/LivreLand/View/FiltrageAuteurView.xaml @@ -1,6 +1,7 @@ + ButtonNumber="2" + ButtonIconColor="{DynamicResource PinkOrange}"/> diff --git a/LivreLand/View/FiltrageDateView.xaml b/LivreLand/View/FiltrageDateView.xaml index b36a7b1..bd1ee72 100644 --- a/LivreLand/View/FiltrageDateView.xaml +++ b/LivreLand/View/FiltrageDateView.xaml @@ -1,6 +1,7 @@ + ButtonNumber="1" + ButtonIconColor="{DynamicResource PinkOrange}"/> diff --git a/LivreLand/View/FiltrageNoteView.xaml b/LivreLand/View/FiltrageNoteView.xaml index ae2a10c..919524d 100644 --- a/LivreLand/View/FiltrageNoteView.xaml +++ b/LivreLand/View/FiltrageNoteView.xaml @@ -1,6 +1,7 @@ + ButtonNumber="2" + ButtonIconColor="{DynamicResource PinkOrange}"/> diff --git a/LivreLand/View/HeaderPage.xaml b/LivreLand/View/HeaderPage.xaml index 6d60bf5..31d790e 100644 --- a/LivreLand/View/HeaderPage.xaml +++ b/LivreLand/View/HeaderPage.xaml @@ -1,6 +1,7 @@ - + @@ -31,27 +32,36 @@ Grid.Column="0"/>