Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

Replace <b-tags> - HomePageBlog

DanielŻuławskiad058b328d04
diff --git a/src/Web/Grand.Web/Views/Shared/Components/HomePageBlog/Default.cshtml b/src/Web/Grand.Web/Views/Shared/Components/HomePageBlog/Default.cshtml
index f60612e28..962ec6389 100644
--- a/src/Web/Grand.Web/Views/Shared/Components/HomePageBlog/Default.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/Components/HomePageBlog/Default.cshtml
@@ -6,30 +6,30 @@
<h2 class="generalTitle h5 text-center mb-3">
@Loc["Blog.Latest"]
</h2>
- <b-col cols="12" class="px-0">
- <b-form-row>
+ <div class="col-12 px-0">
+ <div class="form-row">
@foreach (var item in Model.Items)
{
- <b-col xl="@order.Pb_Xl" lg="@order.Pb_Lg" md="@order.Pb_Md" sm="@order.Pb_Sm" cols="@order.Pb_Col" class="mb-3">
- <b-card @if (item.PictureModel != null && !string.IsNullOrEmpty(item.PictureModel.ImageUrl)) { <text>img-src="@item.PictureModel.ImageUrl" img-alt="@item.PictureModel.AlternateText"</text> }>
- <template v-slot:header>
+ <div class="card" @if (item.PictureModel != null && !string.IsNullOrEmpty(item.PictureModel.ImageUrl)) { <text>img-src="@item.PictureModel.ImageUrl" img-alt="@item.PictureModel.AlternateText"</text> }>
+ <div class="card-header">
<h3 class="h5 mb-0">
<b-link href="@Url.RouteUrl("BlogPost", new { SeName = item.SeName })">
@item.Title
</b-link>
</h3>
- </template>
- <div>
+ </div>
+ <div class="card-body">
@Html.Raw(item.Short)
</div>
- <template v-slot:footer>
+ <div class="card-footer">
<small class="date-text">@item.CreatedOn.ToString("D")</small>
- </template>
- </b-card>
- </b-col>
+ </div>
+ </div>
+ </div>
}
- </b-form-row>
- </b-col>
+ </div>
+ </div>
<div class="view-all text-center mt-3">
<a class="btn btn-outline-secondary" href="@Url.RouteUrl("Blog")">@Loc["Blog.ViewAll"]</a>
</div>