diff --git a/README.md b/README.md index 5a520c2..b5c51a5 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,22 @@ All you need to take from this repo is these files: -- [MainPage.xaml.cs](https://github.com/mhrastegari/MauiBlazorUIBestPractices/blob/master/MainPage.xaml.cs) - Changing default background color of BlazorWebView -- [app.css](https://github.com/mhrastegari/MauiBlazorUIBestPractices/blob/master/wwwroot/css/app.css) - Changing default browser behaviors on mobile -- [index.html](https://github.com/mhrastegari/MauiBlazorUIBestPractices/blob/master/wwwroot/index.html) - Removing the "Loadnig..." text -- [color.xml](https://github.com/mhrastegari/MauiBlazorUIBestPractices/blob/master/Platforms/Android/Resources/values/colors.xml) - Changing Android default system colors +## Mobile UI +- [app.css](https://github.com/mhrastegari/MauiBlazorUIBestPractices/blob/master/wwwroot/styles/app.css) - Change default browser behaviors on mobile +- [color.xml](https://github.com/mhrastegari/MauiBlazorUIBestPractices/blob/master/Platforms/Android/Resources/values/colors.xml) - Change Android default system colors +- [index.html](https://github.com/mhrastegari/MauiBlazorUIBestPractices/blob/master/wwwroot/index.html) - Remove the "Loadnig..." text +- [MainPage.xaml.cs](https://github.com/mhrastegari/MauiBlazorUIBestPractices/blob/master/MainPage.xaml.cs) - Change default background color of BlazorWebView + +Blog Post: [.NET Maui Blazor best practices for Mobile UI](https://dev.to/mhrastegari/net-maui-blazor-best-practices-for-mobile-ui-4def) + +## Desktop UI +- [app.js](https://github.com/mhrastegari/MauiBlazorUIBestPractices/blob/master/wwwroot/scripts/app.js) - Disable macOS context menu +- [app.css](https://github.com/mhrastegari/MauiBlazorUIBestPractices/blob/master/wwwroot/styles/app.css#L60) - Change mouse cursor +- [app.css](https://github.com/mhrastegari/MauiBlazorUIBestPractices/blob/master/wwwroot/styles/app.css#L17) - Disable dragging images +- [app.css](https://github.com/mhrastegari/MauiBlazorUIBestPractices/blob/master/wwwroot/styles/app.css#L59) - Change items background color on hover and click +- [App.xaml](https://github.com/mhrastegari/MauiBlazorUIBestPractices/blob/master/Platforms/Windows/App.xaml) - Change Windows titlebar color +- [Counter.razor](https://github.com/mhrastegari/MauiBlazorUIBestPractices/blob/master/Pages/Counter.razor#L7) - Tooltip sample +- [MainPage.xaml.cs](https://github.com/mhrastegari/MauiBlazorUIBestPractices/blob/master/MainPage.xaml.cs#L33) - Disable Windows refresh with F5 key and zooming with mouse wheel +- [Index.razor.cs](https://github.com/mhrastegari/MauiBlazorUIBestPractices/blob/master/Pages/Index.razor.cs) & [windowSize.js](https://github.com/mhrastegari/MauiBlazorUIBestPractices/blob/master/wwwroot/js/windowSize.js) - Detect window size in our code + +Blog Post: [.NET Maui Blazor best practices for Desktop UI](https://dev.to/mhrastegari/net-maui-blazor-best-practices-for-desktop-ui-4peo)