未验证 提交 f0491a91 编写于 作者: P Paweł Kuna 提交者: GitHub

Merge pull request #482 from tabler/dev-pricing-cards

Added pricing cards
......@@ -115,6 +115,9 @@ extra:
search-results:
title: Search results
url: search-results.html
pricing cards:
url: pricing.html
title: Pricing cards
docs:
title: Docs
icon: file-text
......
<div class="row">
{% for product in site.data.products%}
<div class="col-lg-3">
<div class="card p-3">
<img src="{{ site.base }}/img/products/{{ product.image }}" alt="" class="mb-3">
<h3 class="mb-0">{{product.name}}</h3>
<div class="text-muted mb-2">{{product.producer}}</div>
<h1 class="text-azure">{{product.price}}$</h1>
<div class="d-flex justify-content-between align-items-center">
{% include ui/stars.html %}
<a href="#" class="btn btn-primary">Add to cart</a>
</div>
</div>
</div>
{% endfor %}
</div>
<div class="d-flex">
{% include parts/pagination.html class="ml-auto" %}
</div>
\ No newline at end of file
{% assign person-id = include.person-id | default: 0 %}
{% assign person = site.data.people[person-id] %}
<a class="card card-link" href="#">
<div class="card-cover text-center{% if include.blurred %} card-cover-blurred{% endif %}" style="background-image: url({% include ui/image.html id=person-id %})">
<div class="card-cover text-center{% if include.blurred %} card-cover-blurred{% endif %}" style="background-image: url({%include ui/image.html id=person-id %})">
{% include ui/avatar.html size="xl" person=person thumb=true %}
</div>
<div class="card-body text-center">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册