You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
2.6 KiB
65 lines
2.6 KiB
<?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"
|
|
x:Class="ShoopNCook.Pages.MyRecipesPage"
|
|
Title="MyRecipesPage"
|
|
xmlns:views="clr-namespace:ShoopNCook.Views"
|
|
BackgroundColor="{StaticResource BackgroundPrimary}">
|
|
<Grid
|
|
RowDefinitions="Auto, *, Auto">
|
|
<!-- Header label and return button -->
|
|
<Grid
|
|
Grid.Row="0"
|
|
Padding="10, 20, 0, 30">
|
|
|
|
<ImageButton
|
|
Grid.Column="0"
|
|
HeightRequest="50"
|
|
WidthRequest="50"
|
|
Source="arrow_back.svg"
|
|
HorizontalOptions="Start"/>
|
|
|
|
<Label
|
|
Grid.Column="0"
|
|
FontSize="24"
|
|
TextColor="{StaticResource TextColorPrimary}"
|
|
Text="My Recipes"
|
|
FontFamily="PoppinsBold"
|
|
HorizontalOptions="Center"
|
|
VerticalOptions="Center"/>
|
|
</Grid>
|
|
|
|
<!-- Favorite items -->
|
|
<ScrollView
|
|
Grid.Row="1">
|
|
<FlexLayout
|
|
JustifyContent="Center"
|
|
AlignItems="Start"
|
|
AlignContent="Start"
|
|
Direction="Row"
|
|
Wrap="Wrap">
|
|
|
|
<views:OwnedRecipeView Margin="5" Note="4.5" Title="Spaghetti Bolognese"/>
|
|
<views:OwnedRecipeView Margin="5" Note="3" Title="Chickend Curry"/>
|
|
<views:OwnedRecipeView Margin="5" Note="0.2" Title="Beef Stroganoff"/>
|
|
<views:OwnedRecipeView Margin="5" Note="1.6" Title="Fish And Ships"/>
|
|
<views:OwnedRecipeView Margin="5" Note="5" Title="Caesar Salad"/>
|
|
<views:OwnedRecipeView Margin="5" Note="3.5" Title="Vegetables"/>
|
|
<views:OwnedRecipeView Margin="5" Note="4.6" Title="Guacamole"/>
|
|
<views:OwnedRecipeView Margin="5" Note="4" Title="Pad Thai"/>
|
|
<views:OwnedRecipeView Margin="5" Note="3" Title="French Toast"/>
|
|
<views:OwnedRecipeView Margin="5" Note="2" Title="Margherita Pizza"/>
|
|
</FlexLayout>
|
|
</ScrollView>
|
|
|
|
<Border
|
|
Margin="20, 0, 20, 5"
|
|
Grid.Row="2"
|
|
Style="{StaticResource SecondaryBorder}">
|
|
<Button
|
|
Style="{StaticResource UserButton}"
|
|
BackgroundColor="{StaticResource Selected}"
|
|
Text="Add a new recipe"/>
|
|
</Border>
|
|
</Grid>
|
|
</ContentPage> |