diff --git a/MCTG/Views/App.xaml.cs b/MCTG/Views/App.xaml.cs index 7f5a65e..6747bdf 100644 --- a/MCTG/Views/App.xaml.cs +++ b/MCTG/Views/App.xaml.cs @@ -30,7 +30,8 @@ namespace Views /* - Comment(ctrl-k + ctrl-c)/Uncomment(ctrl-k + ctrl-u) to change page - */ - MainPage = new MyProfil(); + UserAppTheme = AppTheme.Light; + MainPage = new RecipeReviews(); //MainPage = new MyPosts(); } } diff --git a/MCTG/Views/RecipeReviews.xaml b/MCTG/Views/RecipeReviews.xaml new file mode 100644 index 0000000..a8c9551 --- /dev/null +++ b/MCTG/Views/RecipeReviews.xaml @@ -0,0 +1,39 @@ + + + + + + + + + + + + +Recette facile, non prise de tête et agréable à réaliser avec ses grand-parents. Le résultat est délicieux, ma famille a adorée. + + + + +Très bonne recette à l’exeption près qu’il est compliqué d’offrir ces cookies à des enfants. En effet, ils ne sont pas très friant de fruit ou de légumes... Mais ils ont eu beaucoup de succès auprès de mes vieux ! + + + + +Je suis plutôt vin blanc. + + + + + + + + + \ No newline at end of file diff --git a/MCTG/Views/RecipeReviews.xaml.cs b/MCTG/Views/RecipeReviews.xaml.cs new file mode 100644 index 0000000..82932d9 --- /dev/null +++ b/MCTG/Views/RecipeReviews.xaml.cs @@ -0,0 +1,9 @@ +namespace Views; + +public partial class RecipeReviews : ContentPage +{ + public RecipeReviews() + { + InitializeComponent(); + } +} \ No newline at end of file diff --git a/MCTG/Views/Resources/Images/star_icon.svg b/MCTG/Views/Resources/Images/star_icon.svg new file mode 100644 index 0000000..eab0dd5 --- /dev/null +++ b/MCTG/Views/Resources/Images/star_icon.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/MCTG/Views/UserReview.xaml b/MCTG/Views/UserReview.xaml new file mode 100644 index 0000000..31fa6ba --- /dev/null +++ b/MCTG/Views/UserReview.xaml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/MCTG/Views/UserReview.xaml.cs b/MCTG/Views/UserReview.xaml.cs new file mode 100644 index 0000000..8a5bbc2 --- /dev/null +++ b/MCTG/Views/UserReview.xaml.cs @@ -0,0 +1,18 @@ +namespace Views; + +public partial class UserReview : ContentView +{ + public UserReview() + { + InitializeComponent(); + } + + public static readonly BindableProperty CommentProperty = + BindableProperty.Create("Comment", typeof(string), typeof(Label), ""); + + public string Comment + { + get => (string)GetValue(CommentProperty); + set => SetValue(CommentProperty, value); + } +} diff --git a/MCTG/Views/Views.csproj b/MCTG/Views/Views.csproj index e281306..e6d8cf3 100644 --- a/MCTG/Views/Views.csproj +++ b/MCTG/Views/Views.csproj @@ -80,9 +80,15 @@ MSBuild:Compile + + MSBuild:Compile + MSBuild:Compile + + MSBuild:Compile + MSBuild:Compile