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

DanielŻuławskid2415e42e588
diff --git a/src/Web/Grand.Web/Views/Shared/Components/HomePageCategories/Default.cshtml b/src/Web/Grand.Web/Views/Shared/Components/HomePageCategories/Default.cshtml
index 00c5ba14a..75cdfbeea 100644
--- a/src/Web/Grand.Web/Views/Shared/Components/HomePageCategories/Default.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/Components/HomePageCategories/Default.cshtml
@@ -1,23 +1,21 @@
@model IList<CategoryModel>
@inject DisplayOrderHomePage order
-<div class="categoryGrid [email protected]">
- <b-col cols="12" class="px-0">
- <b-form-row>
+<div class="categoryGrid [email protected]">
+ <div cols="12" class="col-12 px-0">
+ <div class="form-row">
@foreach (var item in Model)
{
- <b-col xl="@order.Pc_Xl" lg="@order.Pc_Lg" md="@order.Pc_Md" sm="@order.Pc_Sm" cols="@order.Pc_Col">
- <b-link href="@Url.RouteUrl("Category", new { SeName = item.SeName })" title="@item.PictureModel.Title">
- <b-card no-body
- tag="article"
- class="mb-2">
+ <a href="@Url.RouteUrl("Category", 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>
- <h2 class="h5">@item.Name</h2>
- </b-card-body>
- </b-card>
- </b-link>
- </b-col>
+ <div class="card-body">
+ <h4>@item.Name</h4>
+ </div>
+ </article>
+ </a>
+ </div>
}
- </b-form-row>
- </b-col>
+ </div>
+ </div>
</div>