diff --git a/samples/ControlCatalog/Assets/banner-bg.png b/samples/ControlCatalog/Assets/banner-bg.png new file mode 100644 index 0000000000..ce5c343f23 Binary files /dev/null and b/samples/ControlCatalog/Assets/banner-bg.png differ diff --git a/samples/ControlCatalog/Assets/banner-logo.png b/samples/ControlCatalog/Assets/banner-logo.png new file mode 100644 index 0000000000..48e825d993 Binary files /dev/null and b/samples/ControlCatalog/Assets/banner-logo.png differ diff --git a/samples/ControlCatalog/Assets/logo1.png b/samples/ControlCatalog/Assets/logo1.png new file mode 100644 index 0000000000..2964991aa6 Binary files /dev/null and b/samples/ControlCatalog/Assets/logo1.png differ diff --git a/samples/ControlCatalog/Assets/logo2.png b/samples/ControlCatalog/Assets/logo2.png new file mode 100644 index 0000000000..024dfee50c Binary files /dev/null and b/samples/ControlCatalog/Assets/logo2.png differ diff --git a/samples/ControlCatalog/Assets/logo3.png b/samples/ControlCatalog/Assets/logo3.png new file mode 100644 index 0000000000..46a0697b7f Binary files /dev/null and b/samples/ControlCatalog/Assets/logo3.png differ diff --git a/samples/ControlCatalog/Assets/logo4.png b/samples/ControlCatalog/Assets/logo4.png new file mode 100644 index 0000000000..16d247c7d9 Binary files /dev/null and b/samples/ControlCatalog/Assets/logo4.png differ diff --git a/samples/ControlCatalog/Pages/HomePage.xaml b/samples/ControlCatalog/Pages/HomePage.xaml index bd0d6432fa..df288857f1 100644 --- a/samples/ControlCatalog/Pages/HomePage.xaml +++ b/samples/ControlCatalog/Pages/HomePage.xaml @@ -1,7 +1,6 @@ - - - - - - - - - + + - + - - - - + + + + - - - - - - + diff --git a/samples/ControlCatalog/Pages/HomePage.xaml.cs b/samples/ControlCatalog/Pages/HomePage.xaml.cs index 95fa183745..9d99678f5b 100644 --- a/samples/ControlCatalog/Pages/HomePage.xaml.cs +++ b/samples/ControlCatalog/Pages/HomePage.xaml.cs @@ -25,10 +25,10 @@ namespace ControlCatalog.Pages if (DataContext is not MainWindowViewModel) DataContext = this.FindAncestorOfType()?.DataContext; - StartFloatingAnimation(FloatIcon1, 12, 8, TimeSpan.FromSeconds(12)); - StartFloatingAnimation(FloatIcon2, -14, 8, TimeSpan.FromSeconds(10)); - StartFloatingAnimation(FloatIcon3, -12, -12, TimeSpan.FromSeconds(14)); - StartFloatingAnimation(FloatIcon4, 12, -8, TimeSpan.FromSeconds(11)); + StartFloatingAnimation(BannerLogo1, 12, 8, TimeSpan.FromSeconds(12)); + StartFloatingAnimation(BannerLogo2, -14, 8, TimeSpan.FromSeconds(10)); + StartFloatingAnimation(BannerLogo3, -12, -12, TimeSpan.FromSeconds(14)); + StartFloatingAnimation(BannerLogo4, 12, -8, TimeSpan.FromSeconds(11)); } private static void StartFloatingAnimation(Control target, double dx, double dy, TimeSpan duration)