diff --git a/README.md b/README.md index cf89fbc..11574c6 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,15 @@ # Enisn.Abp.AspNetCore.Mvc.UI.Theme.Material -A meterial theme for [ABP Framework](/abpframework/abp). +[Material Design](https://mdbootstrap.com/) theme for [ABP Framework](/abpframework/abp). + +## Showcase + +![preview-landing](art/screenshots/preview-landing.png) + +![identity-roles](art/screenshots/preview-identity-roles.png) + +![preview-cmskit-blogposts](art/screenshots/preview-cmskit-blogposts.png) + +![public](art/screenshots/preview-public.png) ## Installation @@ -33,3 +43,28 @@ dotnet add package Enisn.Abp.AspNetCore.Mvc.UI.Theme.Material // ... ``` + + +## Configuration + +### Using Public Layout + +- You can force to use Public layout for entire application via adding `Pages/_ViewStart.cshtml` + +- If you want to use Public layout **only** CmsKit pages, you must place it to `Pages/Public/_ViewStart.cshtml` + + + +```razor +@using Volo.Abp.AspNetCore.Mvc.UI.Theming +@inject IThemeManager ThemeManager +@{ + Layout = ThemeManager.CurrentTheme.GetPublicLayout(); +} +``` + + + +## Credits + +- [MDB - Material Design for Bootstrap 5 & 4 (mdbootstrap.com)](https://mdbootstrap.com/) diff --git a/art/screenshots/preview-cmskit-blogposts.png b/art/screenshots/preview-cmskit-blogposts.png new file mode 100644 index 0000000..addf96f Binary files /dev/null and b/art/screenshots/preview-cmskit-blogposts.png differ diff --git a/art/screenshots/preview-identity-roles.png b/art/screenshots/preview-identity-roles.png new file mode 100644 index 0000000..ce92f8e Binary files /dev/null and b/art/screenshots/preview-identity-roles.png differ diff --git a/art/screenshots/preview-landing.png b/art/screenshots/preview-landing.png new file mode 100644 index 0000000..f320b0f Binary files /dev/null and b/art/screenshots/preview-landing.png differ diff --git a/art/screenshots/preview-public.png b/art/screenshots/preview-public.png new file mode 100644 index 0000000..c9b774f Binary files /dev/null and b/art/screenshots/preview-public.png differ