parent
59a8bdebc7
commit
d9bf7bf5f3
@ -1,115 +1,74 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||||
|
xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
|
||||||
x:Class="Vue.Home">
|
x:Class="Vue.Home">
|
||||||
|
|
||||||
|
|
||||||
<FlexLayout
|
<toolkit:DockLayout
|
||||||
Direction="Row"
|
HorizontalSpacing="20">
|
||||||
AlignItems="Stretch"
|
|
||||||
BackgroundColor="Red"
|
|
||||||
FlowDirection="LeftToRight"
|
|
||||||
Wrap="NoWrap">
|
|
||||||
|
|
||||||
<BoxView
|
<!-- Aux menu -->
|
||||||
Color="{StaticResource Tertiary}"
|
<StackLayout toolkit:DockLayout.DockPosition="Left"
|
||||||
WidthRequest="300"/>
|
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>
|
<ScrollView>
|
||||||
|
<StackLayout>
|
||||||
|
<Label Text="Suggestions" TextColor="{StaticResource Secondary}"
|
||||||
|
FontSize="32" FontAttributes="Bold" Padding="15"/>
|
||||||
|
|
||||||
<FlexLayout
|
<FlexLayout toolkit:DockLayout.DockPosition="None"
|
||||||
Direction="Row"
|
Margin="0, 15, 15, 0"
|
||||||
JustifyContent="SpaceEvenly"
|
Wrap="Wrap"
|
||||||
AlignItems="Center"
|
JustifyContent="SpaceEvenly"
|
||||||
BackgroundColor="White"
|
AlignItems="Center"
|
||||||
Wrap="Wrap">
|
AlignContent="SpaceEvenly">
|
||||||
|
|
||||||
|
|
||||||
<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>
|
<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>
|
</ContentPage>
|
||||||
|
After Width: | Height: | Size: 548 B |
Loading…
Reference in new issue