RetroGamingSearchView.xaml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. <UserControl xmlns="https://github.com/avaloniaui"
  2. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3. x:Class="ControlCatalog.Pages.RetroGamingSearchView"
  4. Background="#120a1f">
  5. <StackPanel Spacing="16" Margin="16,24,16,16">
  6. <!-- Header row: title + close button -->
  7. <Grid ColumnDefinitions="*,Auto">
  8. <TextBlock Text="&gt; SEARCH GAMES"
  9. FontFamily="Courier New, monospace" FontSize="18" FontWeight="Bold"
  10. Foreground="#ffff00" VerticalAlignment="Center"/>
  11. <Button x:Name="CloseBtn" Grid.Column="1"
  12. Width="32" Height="32" Padding="0"
  13. Background="Transparent"
  14. BorderThickness="1" BorderBrush="#00ffff"
  15. CornerRadius="0"
  16. HorizontalContentAlignment="Center"
  17. VerticalContentAlignment="Center">
  18. <TextBlock Text="X" FontFamily="Courier New, monospace"
  19. FontSize="16" FontWeight="Bold" Foreground="#00ffff"/>
  20. </Button>
  21. </Grid>
  22. <!-- Search box -->
  23. <TextBox PlaceholderText="Type game name..."
  24. FontFamily="Courier New, monospace" FontSize="14"
  25. Background="#2d1b4e" Foreground="#e0d0ff"
  26. BorderThickness="1" BorderBrush="#ad2bee"
  27. CornerRadius="0" Padding="12,10"/>
  28. <!-- Category filter chips -->
  29. <WrapPanel Orientation="Horizontal">
  30. <Button Padding="10,6" CornerRadius="0" Margin="0,0,6,6"
  31. BorderThickness="1" BorderBrush="#7856a8"
  32. Classes="retro-cat-btn">
  33. <TextBlock Text="ALL" FontFamily="Courier New, monospace"
  34. FontSize="11" Foreground="#e0d0ff"/>
  35. </Button>
  36. <Button Padding="10,6" CornerRadius="0" Margin="0,0,6,6"
  37. BorderThickness="1" BorderBrush="#7856a8"
  38. Classes="retro-cat-btn">
  39. <TextBlock Text="ACTION" FontFamily="Courier New, monospace"
  40. FontSize="11" Foreground="#e0d0ff"/>
  41. </Button>
  42. <Button Padding="10,6" CornerRadius="0" Margin="0,0,6,6"
  43. BorderThickness="1" BorderBrush="#7856a8"
  44. Classes="retro-cat-btn">
  45. <TextBlock Text="RPG" FontFamily="Courier New, monospace"
  46. FontSize="11" Foreground="#e0d0ff"/>
  47. </Button>
  48. <Button Padding="10,6" CornerRadius="0" Margin="0,0,6,6"
  49. BorderThickness="1" BorderBrush="#7856a8"
  50. Classes="retro-cat-btn">
  51. <TextBlock Text="RACING" FontFamily="Courier New, monospace"
  52. FontSize="11" Foreground="#e0d0ff"/>
  53. </Button>
  54. <Button Padding="10,6" CornerRadius="0" Margin="0,0,6,6"
  55. BorderThickness="1" BorderBrush="#7856a8"
  56. Classes="retro-cat-btn">
  57. <TextBlock Text="PUZZLE" FontFamily="Courier New, monospace"
  58. FontSize="11" Foreground="#e0d0ff"/>
  59. </Button>
  60. <Button Padding="10,6" CornerRadius="0" Margin="0,0,6,6"
  61. BorderThickness="1" BorderBrush="#7856a8"
  62. Classes="retro-cat-btn">
  63. <TextBlock Text="STRATEGY" FontFamily="Courier New, monospace"
  64. FontSize="11" Foreground="#e0d0ff"/>
  65. </Button>
  66. </WrapPanel>
  67. <Border Height="1" Background="#3CFFFFFF" Margin="0,4"/>
  68. <TextBlock Text="POPULAR SEARCHES"
  69. FontFamily="Courier New, monospace" FontSize="12" FontWeight="Bold"
  70. Foreground="#7856a8"/>
  71. <!-- Search results list -->
  72. <ScrollViewer VerticalScrollBarVisibility="Auto">
  73. <StackPanel Spacing="2">
  74. <!-- Cyber Ninja 2084 -->
  75. <Button x:Name="SearchCyberNinjaBtn" Padding="8" CornerRadius="0"
  76. HorizontalAlignment="Stretch"
  77. HorizontalContentAlignment="Stretch"
  78. Classes="retro-list-btn">
  79. <Grid ColumnDefinitions="Auto,*,Auto">
  80. <Border Width="3" Height="28" Background="#ad2bee"
  81. VerticalAlignment="Center" Margin="0,0,10,0"/>
  82. <StackPanel Grid.Column="1" VerticalAlignment="Center">
  83. <TextBlock Text="Cyber Ninja 2084"
  84. FontFamily="Courier New, monospace" FontSize="13"
  85. FontWeight="Bold" Foreground="#e0d0ff"/>
  86. <TextBlock Text="ACTION RPG"
  87. FontFamily="Courier New, monospace" FontSize="10"
  88. Foreground="#7856a8"/>
  89. </StackPanel>
  90. <TextBlock Grid.Column="2" Text="&gt;"
  91. FontFamily="Courier New, monospace" FontSize="16"
  92. Foreground="#7856a8" VerticalAlignment="Center"/>
  93. </Grid>
  94. </Button>
  95. <!-- Neon Racer -->
  96. <Button x:Name="SearchNeonRacerBtn" Padding="8" CornerRadius="0"
  97. HorizontalAlignment="Stretch"
  98. HorizontalContentAlignment="Stretch"
  99. Classes="retro-list-btn">
  100. <Grid ColumnDefinitions="Auto,*,Auto">
  101. <Border Width="3" Height="28" Background="#ad2bee"
  102. VerticalAlignment="Center" Margin="0,0,10,0"/>
  103. <StackPanel Grid.Column="1" VerticalAlignment="Center">
  104. <TextBlock Text="Neon Racer"
  105. FontFamily="Courier New, monospace" FontSize="13"
  106. FontWeight="Bold" Foreground="#e0d0ff"/>
  107. <TextBlock Text="RACING"
  108. FontFamily="Courier New, monospace" FontSize="10"
  109. Foreground="#7856a8"/>
  110. </StackPanel>
  111. <TextBlock Grid.Column="2" Text="&gt;"
  112. FontFamily="Courier New, monospace" FontSize="16"
  113. Foreground="#7856a8" VerticalAlignment="Center"/>
  114. </Grid>
  115. </Button>
  116. <!-- Dungeon Bit -->
  117. <Button x:Name="SearchDungeonBitBtn" Padding="8" CornerRadius="0"
  118. HorizontalAlignment="Stretch"
  119. HorizontalContentAlignment="Stretch"
  120. Classes="retro-list-btn">
  121. <Grid ColumnDefinitions="Auto,*,Auto">
  122. <Border Width="3" Height="28" Background="#00cc88"
  123. VerticalAlignment="Center" Margin="0,0,10,0"/>
  124. <StackPanel Grid.Column="1" VerticalAlignment="Center">
  125. <TextBlock Text="Dungeon Bit"
  126. FontFamily="Courier New, monospace" FontSize="13"
  127. FontWeight="Bold" Foreground="#e0d0ff"/>
  128. <TextBlock Text="RPG"
  129. FontFamily="Courier New, monospace" FontSize="10"
  130. Foreground="#7856a8"/>
  131. </StackPanel>
  132. <TextBlock Grid.Column="2" Text="&gt;"
  133. FontFamily="Courier New, monospace" FontSize="16"
  134. Foreground="#7856a8" VerticalAlignment="Center"/>
  135. </Grid>
  136. </Button>
  137. <!-- Forest Spirit -->
  138. <Button x:Name="SearchForestSpiritBtn" Padding="8" CornerRadius="0"
  139. HorizontalAlignment="Stretch"
  140. HorizontalContentAlignment="Stretch"
  141. Classes="retro-list-btn">
  142. <Grid ColumnDefinitions="Auto,*,Auto">
  143. <Border Width="3" Height="28" Background="#ff9900"
  144. VerticalAlignment="Center" Margin="0,0,10,0"/>
  145. <StackPanel Grid.Column="1" VerticalAlignment="Center">
  146. <TextBlock Text="Forest Spirit"
  147. FontFamily="Courier New, monospace" FontSize="13"
  148. FontWeight="Bold" Foreground="#e0d0ff"/>
  149. <TextBlock Text="PUZZLE"
  150. FontFamily="Courier New, monospace" FontSize="10"
  151. Foreground="#7856a8"/>
  152. </StackPanel>
  153. <TextBlock Grid.Column="2" Text="&gt;"
  154. FontFamily="Courier New, monospace" FontSize="16"
  155. Foreground="#7856a8" VerticalAlignment="Center"/>
  156. </Grid>
  157. </Button>
  158. <!-- Pixel Quest -->
  159. <Button x:Name="SearchPixelQuestBtn" Padding="8" CornerRadius="0"
  160. HorizontalAlignment="Stretch"
  161. HorizontalContentAlignment="Stretch"
  162. Classes="retro-list-btn">
  163. <Grid ColumnDefinitions="Auto,*,Auto">
  164. <Border Width="3" Height="28" Background="#00ffff"
  165. VerticalAlignment="Center" Margin="0,0,10,0"/>
  166. <StackPanel Grid.Column="1" VerticalAlignment="Center">
  167. <TextBlock Text="Pixel Quest"
  168. FontFamily="Courier New, monospace" FontSize="13"
  169. FontWeight="Bold" Foreground="#e0d0ff"/>
  170. <TextBlock Text="PLATFORMER"
  171. FontFamily="Courier New, monospace" FontSize="10"
  172. Foreground="#7856a8"/>
  173. </StackPanel>
  174. <TextBlock Grid.Column="2" Text="&gt;"
  175. FontFamily="Courier New, monospace" FontSize="16"
  176. Foreground="#7856a8" VerticalAlignment="Center"/>
  177. </Grid>
  178. </Button>
  179. <!-- Space Voids -->
  180. <Button x:Name="SearchSpaceVoidsBtn" Padding="8" CornerRadius="0"
  181. HorizontalAlignment="Stretch"
  182. HorizontalContentAlignment="Stretch"
  183. Classes="retro-list-btn">
  184. <Grid ColumnDefinitions="Auto,*,Auto">
  185. <Border Width="3" Height="28" Background="#ffff00"
  186. VerticalAlignment="Center" Margin="0,0,10,0"/>
  187. <StackPanel Grid.Column="1" VerticalAlignment="Center">
  188. <TextBlock Text="Space Voids"
  189. FontFamily="Courier New, monospace" FontSize="13"
  190. FontWeight="Bold" Foreground="#e0d0ff"/>
  191. <TextBlock Text="SHOOTER"
  192. FontFamily="Courier New, monospace" FontSize="10"
  193. Foreground="#7856a8"/>
  194. </StackPanel>
  195. <TextBlock Grid.Column="2" Text="&gt;"
  196. FontFamily="Courier New, monospace" FontSize="16"
  197. Foreground="#7856a8" VerticalAlignment="Center"/>
  198. </Grid>
  199. </Button>
  200. <!-- Cyber City -->
  201. <Button x:Name="SearchCyberCityBtn" Padding="8" CornerRadius="0"
  202. HorizontalAlignment="Stretch"
  203. HorizontalContentAlignment="Stretch"
  204. Classes="retro-list-btn">
  205. <Grid ColumnDefinitions="Auto,*,Auto">
  206. <Border Width="3" Height="28" Background="#00ffff"
  207. VerticalAlignment="Center" Margin="0,0,10,0"/>
  208. <StackPanel Grid.Column="1" VerticalAlignment="Center">
  209. <TextBlock Text="Cyber City"
  210. FontFamily="Courier New, monospace" FontSize="13"
  211. FontWeight="Bold" Foreground="#e0d0ff"/>
  212. <TextBlock Text="STRATEGY"
  213. FontFamily="Courier New, monospace" FontSize="10"
  214. Foreground="#7856a8"/>
  215. </StackPanel>
  216. <TextBlock Grid.Column="2" Text="&gt;"
  217. FontFamily="Courier New, monospace" FontSize="16"
  218. Foreground="#7856a8" VerticalAlignment="Center"/>
  219. </Grid>
  220. </Button>
  221. </StackPanel>
  222. </ScrollViewer>
  223. </StackPanel>
  224. </UserControl>