diff --git a/BookApp/BookApp/MainPage.xaml b/BookApp/BookApp/MainPage.xaml
index 342dc8d..e10c501 100644
--- a/BookApp/BookApp/MainPage.xaml
+++ b/BookApp/BookApp/MainPage.xaml
@@ -13,21 +13,35 @@
-
+
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/BookApp/BookApp/MainPage.xaml.cs b/BookApp/BookApp/MainPage.xaml.cs
index f1c328c..f3547fd 100644
--- a/BookApp/BookApp/MainPage.xaml.cs
+++ b/BookApp/BookApp/MainPage.xaml.cs
@@ -1,30 +1,35 @@
-namespace BookApp
+using System.Collections.ObjectModel;
+
+namespace BookApp
{
public partial class MainPage : ContentPage
{
- //int count = 0;
-
+ public class ObjetTemp
+ {
+ public string Name { get; set; }
+ public string Icone { get; set; }
+ public ObjetTemp(string name, string icone) { Name = name; Icone = icone; }
+ }
+
+ public ObservableCollection MyCollections { get; set; }
+
public MainPage()
{
InitializeComponent();
+ MyCollections = new ObservableCollection()
+ {
+ new ObjetTemp("Item1", "./Reources/Images/books_vertical_fill.svg"),
+ new ObjetTemp("Item1", "./Reources/Images/books_vertical_fill.svg"),
+ new ObjetTemp("Item1", "./Reources/Images/books_vertical_fill.svg"),
+ new ObjetTemp("Item1", "./Reources/Images/books_vertical_fill.svg"),
+ };
+ BindingContext = this;
}
-
async void OnButtonClicked(object sender, EventArgs args)
{
await Shell.Current.GoToAsync(nameof(Tous));
}
- /*
- private void OnCounterClicked(object sender, EventArgs e)
- {
- count++;
-
- if (count == 1)
- CounterBtn.Text = $"Clicked {count} time";
- else
- CounterBtn.Text = $"Clicked {count} times";
- SemanticScreenReader.Announce(CounterBtn.Text);
- }*/
}
}
\ No newline at end of file
diff --git a/BookApp/BookApp/Resources/Images/plus_icone.svg b/BookApp/BookApp/Resources/Images/plus_icone.svg
new file mode 100644
index 0000000..23b1e66
--- /dev/null
+++ b/BookApp/BookApp/Resources/Images/plus_icone.svg
@@ -0,0 +1,3 @@
+
diff --git a/BookApp/BookApp/Resources/Styles/Colors.xaml b/BookApp/BookApp/Resources/Styles/Colors.xaml
index 245758b..3626a78 100644
--- a/BookApp/BookApp/Resources/Styles/Colors.xaml
+++ b/BookApp/BookApp/Resources/Styles/Colors.xaml
@@ -4,7 +4,7 @@
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
- #512BD4
+ red
#DFD8F7
#2B0B98
White
diff --git a/BookApp/BookApp/Resources/Styles/Styles.xaml b/BookApp/BookApp/Resources/Styles/Styles.xaml
index dc4a034..9f77f8b 100644
--- a/BookApp/BookApp/Resources/Styles/Styles.xaml
+++ b/BookApp/BookApp/Resources/Styles/Styles.xaml
@@ -377,7 +377,7 @@