diff --git a/sources/PocketBook/Auteur.xaml b/sources/PocketBook/Auteur.xaml
new file mode 100644
index 0000000..e449401
--- /dev/null
+++ b/sources/PocketBook/Auteur.xaml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sources/PocketBook/Auteur.xaml.cs b/sources/PocketBook/Auteur.xaml.cs
new file mode 100644
index 0000000..093ca89
--- /dev/null
+++ b/sources/PocketBook/Auteur.xaml.cs
@@ -0,0 +1,9 @@
+namespace PocketBook;
+
+public partial class Auteur : ContentPage
+{
+ public Auteur()
+ {
+ InitializeComponent();
+ }
+}
\ No newline at end of file
diff --git a/sources/PocketBook/ContentViewFilter.xaml b/sources/PocketBook/ContentViewFilter.xaml
index f760d1c..57bd611 100644
--- a/sources/PocketBook/ContentViewFilter.xaml
+++ b/sources/PocketBook/ContentViewFilter.xaml
@@ -5,7 +5,7 @@
-
+
diff --git a/sources/PocketBook/ContentViewFilter.xaml.cs b/sources/PocketBook/ContentViewFilter.xaml.cs
index 9205aed..08c89f3 100644
--- a/sources/PocketBook/ContentViewFilter.xaml.cs
+++ b/sources/PocketBook/ContentViewFilter.xaml.cs
@@ -28,6 +28,9 @@ public partial class ContentViewFilter : ContentView
public ContentViewFilter()
{
InitializeComponent();
-
+
+ filterImage.SetBinding(Image.SourceProperty, new Binding(nameof(FilterImageName), source: this));
+ filterNameLabel.SetBinding(Label.TextProperty, new Binding(nameof(FilterName), source: this));
+ filterNumLabel.SetBinding(Label.TextProperty, new Binding(nameof(FilterNum), source: this));
}
}
\ No newline at end of file
diff --git a/sources/PocketBook/MainPage.xaml b/sources/PocketBook/MainPage.xaml
index 7a0d37a..ced66f1 100644
--- a/sources/PocketBook/MainPage.xaml
+++ b/sources/PocketBook/MainPage.xaml
@@ -13,13 +13,31 @@
+ FilterNum="45">
+
+
+
+
+ FilterName="A lire plus tard"/>
+
+
+
+
+
+
+
+
+
+
diff --git a/sources/PocketBook/MainPage.xaml.cs b/sources/PocketBook/MainPage.xaml.cs
index b970a6b..afcad9d 100644
--- a/sources/PocketBook/MainPage.xaml.cs
+++ b/sources/PocketBook/MainPage.xaml.cs
@@ -2,11 +2,18 @@
public partial class MainPage : ContentPage
{
- int count = 0;
-
public MainPage()
{
InitializeComponent();
}
+
+ private async void OnContentViewFilterTappedTous(object sender, EventArgs e)
+ {
+ await Navigation.PushAsync(new TousPage());
+ }
+ private async void OnContentViewFilterTappedAuteur(object sender, EventArgs e)
+ {
+ await Navigation.PushAsync(new Auteur());
+ }
}
diff --git a/sources/PocketBook/PocketBook.csproj b/sources/PocketBook/PocketBook.csproj
index 6195046..7c83ab2 100644
--- a/sources/PocketBook/PocketBook.csproj
+++ b/sources/PocketBook/PocketBook.csproj
@@ -53,12 +53,18 @@
+
+ MSBuild:Compile
+
MSBuild:Compile
MSBuild:Compile
+
+ MSBuild:Compile
+
diff --git a/sources/PocketBook/Resources/Images/arrows.svg b/sources/PocketBook/Resources/Images/arrows.svg
new file mode 100644
index 0000000..7562729
--- /dev/null
+++ b/sources/PocketBook/Resources/Images/arrows.svg
@@ -0,0 +1,5 @@
+
+
\ No newline at end of file
diff --git a/sources/PocketBook/Resources/Images/chevron_left.svg b/sources/PocketBook/Resources/Images/chevron_left.svg
new file mode 100644
index 0000000..018f8b6
--- /dev/null
+++ b/sources/PocketBook/Resources/Images/chevron_left.svg
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/sources/PocketBook/TousPage.xaml b/sources/PocketBook/TousPage.xaml
new file mode 100644
index 0000000..e6e4c37
--- /dev/null
+++ b/sources/PocketBook/TousPage.xaml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/sources/PocketBook/TousPage.xaml.cs b/sources/PocketBook/TousPage.xaml.cs
new file mode 100644
index 0000000..36bba43
--- /dev/null
+++ b/sources/PocketBook/TousPage.xaml.cs
@@ -0,0 +1,10 @@
+namespace PocketBook;
+
+public partial class TousPage : ContentPage
+{
+ public TousPage()
+ {
+ InitializeComponent();
+ }
+
+}
\ No newline at end of file