RetroGamingProfileView.xaml 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <UserControl xmlns="https://github.com/avaloniaui"
  2. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3. x:Class="ControlCatalog.Pages.RetroGamingProfileView">
  4. <ScrollViewer VerticalScrollBarVisibility="Auto">
  5. <StackPanel Spacing="0">
  6. <!-- Avatar section -->
  7. <StackPanel HorizontalAlignment="Center" Spacing="8" Margin="16,24,16,16">
  8. <Border Width="70" Height="70"
  9. Background="#2d1b4e"
  10. BorderBrush="#ad2bee" BorderThickness="2"
  11. ClipToBounds="True" HorizontalAlignment="Center">
  12. <Border.Background>
  13. <ImageBrush Source="avares://ControlCatalog/Assets/RetroGaming/hero.jpg"
  14. Stretch="UniformToFill"/>
  15. </Border.Background>
  16. </Border>
  17. <TextBlock Text="PLAYER 1"
  18. FontFamily="Courier New, monospace" FontSize="12" FontWeight="Bold"
  19. Foreground="#e0d0ff" HorizontalAlignment="Center"/>
  20. <TextBlock Text="LV. 42 ■ 4,520 XP"
  21. FontFamily="Courier New, monospace" FontSize="9"
  22. Foreground="#ffff00" HorizontalAlignment="Center"/>
  23. </StackPanel>
  24. <!-- Stats grid -->
  25. <Grid ColumnDefinitions="*,*,*" Margin="16,0,16,16">
  26. <Border Grid.Column="0" Background="#2d1b4e"
  27. BorderBrush="#ad2bee" BorderThickness="1"
  28. Margin="0,0,0,0" Padding="8,10">
  29. <StackPanel HorizontalAlignment="Center">
  30. <TextBlock Text="42" FontFamily="Courier New, monospace"
  31. FontSize="14" FontWeight="Bold" Foreground="#00ffff"
  32. HorizontalAlignment="Center"/>
  33. <TextBlock Text="GAMES" FontFamily="Courier New, monospace"
  34. FontSize="8" Foreground="#7856a8"
  35. HorizontalAlignment="Center"/>
  36. </StackPanel>
  37. </Border>
  38. <Border Grid.Column="1" Background="#2d1b4e"
  39. BorderBrush="#ad2bee" BorderThickness="1"
  40. Margin="4,0,0,0" Padding="8,10">
  41. <StackPanel HorizontalAlignment="Center">
  42. <TextBlock Text="128" FontFamily="Courier New, monospace"
  43. FontSize="14" FontWeight="Bold" Foreground="#00ffff"
  44. HorizontalAlignment="Center"/>
  45. <TextBlock Text="HOURS" FontFamily="Courier New, monospace"
  46. FontSize="8" Foreground="#7856a8"
  47. HorizontalAlignment="Center"/>
  48. </StackPanel>
  49. </Border>
  50. <Border Grid.Column="2" Background="#2d1b4e"
  51. BorderBrush="#ad2bee" BorderThickness="1"
  52. Margin="4,0,0,0" Padding="8,10">
  53. <StackPanel HorizontalAlignment="Center">
  54. <TextBlock Text="3" FontFamily="Courier New, monospace"
  55. FontSize="14" FontWeight="Bold" Foreground="#00ffff"
  56. HorizontalAlignment="Center"/>
  57. <TextBlock Text="TROPHIES" FontFamily="Courier New, monospace"
  58. FontSize="8" Foreground="#7856a8"
  59. HorizontalAlignment="Center"/>
  60. </StackPanel>
  61. </Border>
  62. </Grid>
  63. </StackPanel>
  64. </ScrollViewer>
  65. </UserControl>