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> - HomePageCollections

DanielŻuławski0bb01aa6894f
diff --git a/src/Web/Grand.Web/Views/Shared/Components/HomePageCollections/Default.cshtml b/src/Web/Grand.Web/Views/Shared/Components/HomePageCollections/Default.cshtml
index fd3ed3495..fade990ec 100644
--- a/src/Web/Grand.Web/Views/Shared/Components/HomePageCollections/Default.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/Components/HomePageCollections/Default.cshtml
@@ -1,23 +1,21 @@
@model IList<CollectionModel>
@inject DisplayOrderHomePage order
<div class="categoryGrid @order.HomePageCollections">
- <b-col cols="12" class="px-0">
- <b-form-row>
+ <div cols="12" class="col-12 px-0">
+ <div class="form-row">
@foreach (var item in Model)
{
- <b-col xl="@order.Pm_Xl" lg="@order.Pm_Lg" md="@order.Pm_Md" sm="@order.Pm_Sm" cols="@order.Pm_Col">
- <b-link href="@Url.RouteUrl("Collection", new { SeName = item.SeName })" title="@item.PictureModel.Title">
- <b-card no-body
- tag="article"
- class="mb-2">
+ <a href="@Url.RouteUrl("Collection", new { SeName = item.SeName })" title="@item.PictureModel.Title">
+ <article class="card mb-2">
<b-card-img-lazy src="@item.PictureModel.ImageUrl" alt="@item.PictureModel.AlternateText"></b-card-img-lazy>
- <b-card-body>
+ <div class="card-body">
<h4>@item.Name</h4>
- </b-card-body>
- </b-card>
- </b-link>
- </b-col>
+ </div>
+ </article>
+ </a>
+ </div>
}
- </b-form-row>
- </b-col>
+ </div>
+ </div>
</div>