LAvenirMenuView.xaml 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. <UserControl xmlns="https://github.com/avaloniaui"
  2. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3. x:Class="ControlCatalog.Pages.LAvenirMenuView">
  4. <ScrollViewer VerticalScrollBarVisibility="Auto">
  5. <StackPanel Spacing="0">
  6. <!-- Greeting -->
  7. <StackPanel Margin="16,20,16,8">
  8. <TextBlock Text="GOOD EVENING" FontSize="10" FontWeight="Medium"
  9. Foreground="#94A3B8" LetterSpacing="2"/>
  10. <TextBlock Text="Alexander" FontSize="22" FontWeight="Bold" Foreground="#1E293B"/>
  11. </StackPanel>
  12. <!-- Hero Card -->
  13. <Border CornerRadius="16" ClipToBounds="True" Height="200"
  14. Margin="16,8,16,16">
  15. <Panel>
  16. <Border HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
  17. <Border.Background>
  18. <ImageBrush Source="avares://ControlCatalog/Assets/Restaurant/featured_dish.jpg"
  19. Stretch="UniformToFill"/>
  20. </Border.Background>
  21. </Border>
  22. <Border>
  23. <Border.Background>
  24. <LinearGradientBrush StartPoint="0%,0%" EndPoint="0%,100%">
  25. <GradientStop Color="#00000000" Offset="0"/>
  26. <GradientStop Color="#B4000000" Offset="1"/>
  27. </LinearGradientBrush>
  28. </Border.Background>
  29. </Border>
  30. <StackPanel VerticalAlignment="Bottom" Margin="16,0,16,16">
  31. <Border CornerRadius="999" Background="#4B2BEE" Padding="10,4"
  32. HorizontalAlignment="Left" Margin="0,0,0,8">
  33. <TextBlock Text="CHEF'S SPECIAL" FontSize="10" FontWeight="Bold" Foreground="White"/>
  34. </Border>
  35. <TextBlock Text="Seared Scallops" FontSize="22" FontWeight="Bold" Foreground="White"/>
  36. <TextBlock Text="Fresh scallops with truffle butter and microgreens"
  37. FontSize="12" Foreground="#E2E8F0" TextWrapping="Wrap"/>
  38. </StackPanel>
  39. </Panel>
  40. </Border>
  41. <!-- Category Chips -->
  42. <ScrollViewer HorizontalScrollBarVisibility="Auto"
  43. VerticalScrollBarVisibility="Disabled"
  44. Margin="0,0,0,16">
  45. <StackPanel Orientation="Horizontal" Spacing="8" Margin="16,0">
  46. <Border CornerRadius="999" Background="#4B2BEE" Padding="16,8">
  47. <TextBlock Text="Starters" FontSize="13" FontWeight="SemiBold" Foreground="White"/>
  48. </Border>
  49. <Border CornerRadius="999" Background="Transparent"
  50. BorderBrush="#E2E8F0" BorderThickness="1" Padding="16,8">
  51. <TextBlock Text="Mains" FontSize="13" FontWeight="Medium" Foreground="#94A3B8"/>
  52. </Border>
  53. <Border CornerRadius="999" Background="Transparent"
  54. BorderBrush="#E2E8F0" BorderThickness="1" Padding="16,8">
  55. <TextBlock Text="Desserts" FontSize="13" FontWeight="Medium" Foreground="#94A3B8"/>
  56. </Border>
  57. <Border CornerRadius="999" Background="Transparent"
  58. BorderBrush="#E2E8F0" BorderThickness="1" Padding="16,8">
  59. <TextBlock Text="Wines" FontSize="13" FontWeight="Medium" Foreground="#94A3B8"/>
  60. </Border>
  61. <Border CornerRadius="999" Background="Transparent"
  62. BorderBrush="#E2E8F0" BorderThickness="1" Padding="16,8">
  63. <TextBlock Text="Cocktails" FontSize="13" FontWeight="Medium" Foreground="#94A3B8"/>
  64. </Border>
  65. </StackPanel>
  66. </ScrollViewer>
  67. <!-- Featured Starters header -->
  68. <Grid ColumnDefinitions="*,Auto" Margin="16,0,16,12">
  69. <TextBlock Text="Featured Starters" FontSize="18" FontWeight="Bold" Foreground="#1E293B"/>
  70. <TextBlock Grid.Column="1" Text="See All" FontSize="13" FontWeight="SemiBold"
  71. Foreground="#4B2BEE" VerticalAlignment="Center"/>
  72. </Grid>
  73. <!-- Seared Scallops -->
  74. <Border x:Name="Dish1Card" CornerRadius="12" Background="White" Padding="12"
  75. Margin="16,0,16,12" Cursor="Hand" PointerPressed="OnDish1Pressed">
  76. <Grid ColumnDefinitions="Auto,*,Auto">
  77. <Border Width="72" Height="72" CornerRadius="10" ClipToBounds="True"
  78. VerticalAlignment="Center">
  79. <Border.Background>
  80. <ImageBrush Source="avares://ControlCatalog/Assets/Restaurant/dish1.jpg"
  81. Stretch="UniformToFill"/>
  82. </Border.Background>
  83. </Border>
  84. <StackPanel Grid.Column="1" VerticalAlignment="Center"
  85. Margin="12,0,0,0" Spacing="2">
  86. <TextBlock Text="Seared Scallops" FontSize="15" FontWeight="SemiBold" Foreground="#1E293B"/>
  87. <TextBlock Text="Fresh scallops with truffle butter and microgreens"
  88. FontSize="11" Foreground="#94A3B8" TextWrapping="Wrap" MaxWidth="160"/>
  89. <TextBlock Text="$38" FontSize="16" FontWeight="Bold" Foreground="#4B2BEE"/>
  90. </StackPanel>
  91. <Border Grid.Column="2" Width="36" Height="36" CornerRadius="10"
  92. Background="#1A4B2BEE" VerticalAlignment="Center">
  93. <PathIcon Data="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
  94. Width="18" Height="18" Foreground="#4B2BEE"/>
  95. </Border>
  96. </Grid>
  97. </Border>
  98. <!-- Truffle Risotto -->
  99. <Border x:Name="Dish2Card" CornerRadius="12" Background="White" Padding="12"
  100. Margin="16,0,16,12" Cursor="Hand" PointerPressed="OnDish2Pressed">
  101. <Grid ColumnDefinitions="Auto,*,Auto">
  102. <Border Width="72" Height="72" CornerRadius="10" ClipToBounds="True"
  103. VerticalAlignment="Center">
  104. <Border.Background>
  105. <ImageBrush Source="avares://ControlCatalog/Assets/Restaurant/dish2.jpg"
  106. Stretch="UniformToFill"/>
  107. </Border.Background>
  108. </Border>
  109. <StackPanel Grid.Column="1" VerticalAlignment="Center"
  110. Margin="12,0,0,0" Spacing="2">
  111. <TextBlock Text="Truffle Risotto" FontSize="15" FontWeight="SemiBold" Foreground="#1E293B"/>
  112. <TextBlock Text="Creamy arborio rice with black truffle shavings"
  113. FontSize="11" Foreground="#94A3B8" TextWrapping="Wrap" MaxWidth="160"/>
  114. <TextBlock Text="$34" FontSize="16" FontWeight="Bold" Foreground="#4B2BEE"/>
  115. </StackPanel>
  116. <Border Grid.Column="2" Width="36" Height="36" CornerRadius="10"
  117. Background="#1A4B2BEE" VerticalAlignment="Center">
  118. <PathIcon Data="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
  119. Width="18" Height="18" Foreground="#4B2BEE"/>
  120. </Border>
  121. </Grid>
  122. </Border>
  123. <!-- Wagyu Tartare -->
  124. <Border x:Name="Dish3Card" CornerRadius="12" Background="White" Padding="12"
  125. Margin="16,0,16,12" Cursor="Hand" PointerPressed="OnDish3Pressed">
  126. <Grid ColumnDefinitions="Auto,*,Auto">
  127. <Border Width="72" Height="72" CornerRadius="10" ClipToBounds="True"
  128. VerticalAlignment="Center">
  129. <Border.Background>
  130. <ImageBrush Source="avares://ControlCatalog/Assets/Restaurant/dish3.jpg"
  131. Stretch="UniformToFill"/>
  132. </Border.Background>
  133. </Border>
  134. <StackPanel Grid.Column="1" VerticalAlignment="Center"
  135. Margin="12,0,0,0" Spacing="2">
  136. <TextBlock Text="Wagyu Tartare" FontSize="15" FontWeight="SemiBold" Foreground="#1E293B"/>
  137. <TextBlock Text="Hand-cut wagyu beef with quail egg yolk"
  138. FontSize="11" Foreground="#94A3B8" TextWrapping="Wrap" MaxWidth="160"/>
  139. <TextBlock Text="$42" FontSize="16" FontWeight="Bold" Foreground="#4B2BEE"/>
  140. </StackPanel>
  141. <Border Grid.Column="2" Width="36" Height="36" CornerRadius="10"
  142. Background="#1A4B2BEE" VerticalAlignment="Center">
  143. <PathIcon Data="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
  144. Width="18" Height="18" Foreground="#4B2BEE"/>
  145. </Border>
  146. </Grid>
  147. </Border>
  148. <!-- Lobster Bisque -->
  149. <Border x:Name="Dish4Card" CornerRadius="12" Background="White" Padding="12"
  150. Margin="16,0,16,12" Cursor="Hand" PointerPressed="OnDish4Pressed">
  151. <Grid ColumnDefinitions="Auto,*,Auto">
  152. <Border Width="72" Height="72" CornerRadius="10" ClipToBounds="True"
  153. VerticalAlignment="Center">
  154. <Border.Background>
  155. <ImageBrush Source="avares://ControlCatalog/Assets/Restaurant/dish4.jpg"
  156. Stretch="UniformToFill"/>
  157. </Border.Background>
  158. </Border>
  159. <StackPanel Grid.Column="1" VerticalAlignment="Center"
  160. Margin="12,0,0,0" Spacing="2">
  161. <TextBlock Text="Lobster Bisque" FontSize="15" FontWeight="SemiBold" Foreground="#1E293B"/>
  162. <TextBlock Text="Classic French bisque with cream and cognac"
  163. FontSize="11" Foreground="#94A3B8" TextWrapping="Wrap" MaxWidth="160"/>
  164. <TextBlock Text="$24" FontSize="16" FontWeight="Bold" Foreground="#4B2BEE"/>
  165. </StackPanel>
  166. <Border Grid.Column="2" Width="36" Height="36" CornerRadius="10"
  167. Background="#1A4B2BEE" VerticalAlignment="Center">
  168. <PathIcon Data="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
  169. Width="18" Height="18" Foreground="#4B2BEE"/>
  170. </Border>
  171. </Grid>
  172. </Border>
  173. <Border Height="16"/>
  174. </StackPanel>
  175. </ScrollViewer>
  176. </UserControl>