parent
59a8bdebc7
commit
d9bf7bf5f3
@ -1,115 +1,74 @@
|
||||
<?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"
|
||||
xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
|
||||
x:Class="Vue.Home">
|
||||
|
||||
|
||||
<FlexLayout
|
||||
Direction="Row"
|
||||
AlignItems="Stretch"
|
||||
BackgroundColor="Red"
|
||||
FlowDirection="LeftToRight"
|
||||
Wrap="NoWrap">
|
||||
<toolkit:DockLayout
|
||||
HorizontalSpacing="20">
|
||||
|
||||
<BoxView
|
||||
Color="{StaticResource Tertiary}"
|
||||
WidthRequest="300"/>
|
||||
<!-- Aux menu -->
|
||||
<StackLayout toolkit:DockLayout.DockPosition="Left"
|
||||
WidthRequest="250"
|
||||
BackgroundColor="{StaticResource Tertiary}">
|
||||
|
||||
<ImageButton Source="person_default.png"
|
||||
BackgroundColor="{StaticResource Secondary}"
|
||||
WidthRequest="100" HeightRequest="100"
|
||||
CornerRadius="50" Margin="0, 40, 0, 0"
|
||||
HorizontalOptions="Fill"
|
||||
VerticalOptions="Fill"
|
||||
IsEnabled="False"/>
|
||||
|
||||
<Button Text="se connecter" TextColor="{StaticResource Black}"
|
||||
BackgroundColor="{StaticResource Primary}"
|
||||
CornerRadius="5"
|
||||
Margin="15, 40"/>
|
||||
|
||||
<Button Text="Recherche" Style="{StaticResource button1}"/>
|
||||
|
||||
<Entry Text="Mot-clés" FontAttributes="Italic"
|
||||
Margin="10, 0, 10, 30"/>
|
||||
|
||||
<Button Text="Entrées" Style="{StaticResource button1}"/>
|
||||
<Button Text="Plats" Style="{StaticResource button1}"/>
|
||||
<Button Text="Desserts" Style="{StaticResource button1}"/>
|
||||
|
||||
</StackLayout>
|
||||
|
||||
<!-- Master recipes -->
|
||||
<ScrollView>
|
||||
<StackLayout>
|
||||
<Label Text="Suggestions" TextColor="{StaticResource Secondary}"
|
||||
FontSize="32" FontAttributes="Bold" Padding="15"/>
|
||||
|
||||
<FlexLayout
|
||||
Direction="Row"
|
||||
JustifyContent="SpaceEvenly"
|
||||
AlignItems="Center"
|
||||
BackgroundColor="White"
|
||||
Wrap="Wrap">
|
||||
|
||||
|
||||
<BoxView
|
||||
Color="{StaticResource Secondary}"
|
||||
WidthRequest="300"
|
||||
HeightRequest="200"
|
||||
CornerRadius="10"
|
||||
Margin="20"/>
|
||||
<BoxView
|
||||
Color="{StaticResource Secondary}"
|
||||
WidthRequest="300"
|
||||
HeightRequest="200"
|
||||
CornerRadius="10"
|
||||
Margin="20"/>
|
||||
<BoxView
|
||||
Color="{StaticResource Secondary}"
|
||||
WidthRequest="300"
|
||||
HeightRequest="200"
|
||||
CornerRadius="10"
|
||||
Margin="20"/>
|
||||
<BoxView
|
||||
Color="{StaticResource Secondary}"
|
||||
WidthRequest="300"
|
||||
HeightRequest="200"
|
||||
CornerRadius="10"
|
||||
Margin="20"/>
|
||||
<BoxView
|
||||
Color="{StaticResource Secondary}"
|
||||
WidthRequest="300"
|
||||
HeightRequest="200"
|
||||
CornerRadius="10"
|
||||
Margin="20"/>
|
||||
<BoxView
|
||||
Color="{StaticResource Secondary}"
|
||||
WidthRequest="300"
|
||||
HeightRequest="200"
|
||||
CornerRadius="10"
|
||||
Margin="20"/>
|
||||
<BoxView
|
||||
Color="{StaticResource Secondary}"
|
||||
WidthRequest="300"
|
||||
HeightRequest="200"
|
||||
CornerRadius="10"
|
||||
Margin="20"/>
|
||||
<BoxView
|
||||
Color="{StaticResource Secondary}"
|
||||
WidthRequest="300"
|
||||
HeightRequest="200"
|
||||
CornerRadius="10"
|
||||
Margin="20"/>
|
||||
<BoxView
|
||||
Color="{StaticResource Secondary}"
|
||||
WidthRequest="300"
|
||||
HeightRequest="200"
|
||||
CornerRadius="10"
|
||||
Margin="20"/>
|
||||
<BoxView
|
||||
Color="{StaticResource Secondary}"
|
||||
WidthRequest="300"
|
||||
HeightRequest="200"
|
||||
CornerRadius="10"
|
||||
Margin="20"/>
|
||||
<BoxView
|
||||
Color="{StaticResource Secondary}"
|
||||
WidthRequest="300"
|
||||
HeightRequest="200"
|
||||
CornerRadius="10"
|
||||
Margin="20"/>
|
||||
<BoxView
|
||||
Color="{StaticResource Secondary}"
|
||||
WidthRequest="300"
|
||||
HeightRequest="200"
|
||||
CornerRadius="10"
|
||||
Margin="20"/>
|
||||
<BoxView
|
||||
Color="{StaticResource Secondary}"
|
||||
WidthRequest="300"
|
||||
HeightRequest="200"
|
||||
CornerRadius="10"
|
||||
Margin="20"/>
|
||||
|
||||
|
||||
</FlexLayout>
|
||||
</ScrollView>
|
||||
<FlexLayout toolkit:DockLayout.DockPosition="None"
|
||||
Margin="0, 15, 15, 0"
|
||||
Wrap="Wrap"
|
||||
JustifyContent="SpaceEvenly"
|
||||
AlignItems="Center"
|
||||
AlignContent="SpaceEvenly">
|
||||
|
||||
</FlexLayout>
|
||||
<BoxView Style="{StaticResource boxView1}"/>
|
||||
<BoxView Style="{StaticResource boxView1}"/>
|
||||
<BoxView Style="{StaticResource boxView1}"/>
|
||||
<BoxView Style="{StaticResource boxView1}"/>
|
||||
<BoxView Style="{StaticResource boxView1}"/>
|
||||
<BoxView Style="{StaticResource boxView1}"/>
|
||||
<BoxView Style="{StaticResource boxView1}"/>
|
||||
<BoxView Style="{StaticResource boxView1}"/>
|
||||
<BoxView Style="{StaticResource boxView1}"/>
|
||||
<BoxView Style="{StaticResource boxView1}"/>
|
||||
<BoxView Style="{StaticResource boxView1}"/>
|
||||
<BoxView Style="{StaticResource boxView1}"/>
|
||||
<BoxView Style="{StaticResource boxView1}"/>
|
||||
|
||||
</FlexLayout>
|
||||
</StackLayout>
|
||||
</ScrollView>
|
||||
|
||||
</toolkit:DockLayout>
|
||||
|
||||
|
||||
</ContentPage>
|
||||
|
After Width: | Height: | Size: 548 B |
Loading…
Reference in new issue