@page @using Localization.Resources.AbpUi @using Microsoft.Extensions.Localization @using Volo.Abp.GlobalFeatures @using Volo.CmsKit.GlobalFeatures @using Volo.CmsKit.Pages @using Volo.CmsKit.Public.Web.Pages.CmsKit.Shared.Components.Commenting @using Volo.CmsKit.Public.Web.Pages.CmsKit.Shared.Components.Rating @using Volo.CmsKit.Public.Web.Pages.CmsKit.Shared.Components.ReactionSelection @using Volo.CmsKit.Web.Pages.CmsKit.Shared.Components.Contents @using Volo.CmsKit.Web.Pages.CmsKit.Shared.Components.Tags @model IndexModel @inject IStringLocalizer Localizer

CMS Kit DEMO

@await Component.InvokeAsync(typeof(ContentViewComponent), new { entityType = "quote", entityId = "1" }) @await Component.InvokeAsync(typeof(TagViewComponent), new { entityType = "quote", entityId = "1", tags = new List { "a", "b" } }) @if (GlobalFeatureManager.Instance.IsEnabled()) { @await Component.InvokeAsync(typeof(RatingViewComponent), new { entityType = "quote", entityId = "1" }) } @if (GlobalFeatureManager.Instance.IsEnabled()) { @await Component.InvokeAsync(typeof(ReactionSelectionViewComponent), new { entityType = "quote", entityId = "1" }) } @if (GlobalFeatureManager.Instance.IsEnabled()) { @await Component.InvokeAsync(typeof(CommentingViewComponent), new { entityType = "quote", entityId = "1" }) }

"Writing code is very simple, but writing simple code is the hardest thing there is!"

- Halil ibrahim Kalkan Inspired from Johan Cruyff

@if (GlobalFeatureManager.Instance.IsEnabled()) { @await Component.InvokeAsync(typeof(RatingViewComponent), new { entityType = "quote", entityId = "2" }) } @if (GlobalFeatureManager.Instance.IsEnabled()) { @await Component.InvokeAsync(typeof(ReactionSelectionViewComponent), new { entityType = "quote", entityId = "2" }) } @if (GlobalFeatureManager.Instance.IsEnabled()) { @await Component.InvokeAsync(typeof(CommentingViewComponent), new { entityType = "quote", entityId = "2" }) } @await Component.InvokeAsync(typeof(TagViewComponent), new { entityType = "IndexPage", entityId = Guid.Empty.ToString(), tags = new List { "a", "b" } })