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.

1.1 KB
Raw Blame
@model IList<CollectionModel>
@inject DisplayOrderHomePage order
<div class="categoryGrid  [email protected]">
    <h2 class="generalTitle text-center mb-3">
        @Loc["Collections"]
    </h2>
    <div cols="12" class="col-12 px-0">
        <div class="row">
            @foreach (var item in Model)
            {
                <div class="[email protected]_Xl [email protected]_Lg [email protected]_Md [email protected]_Sm [email protected]_Col">
                    <div class="card picture-card mb-2">
                        <a href="@Url.RouteUrl("Collection", new { item.SeName })" title="@item.PictureModel.Title">
                            <img class="card-img" src="@item.PictureModel.ImageUrl" alt="@item.PictureModel.AlternateText" loading="lazy">
                        </a>
                        <h4 class="title">
                            <a href="@Url.RouteUrl("Collection", new { item.SeName })" title="@item.PictureModel.Title">
                                @item.Name
                            </a>
                        </h4>
                    </div>
                </div>
            }
        </div>
    </div>
</div>