Skip to content

Commit

Permalink
rollback store design
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpapst committed Jul 10, 2024
1 parent e024065 commit e37c8a5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion _includes/store-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
<div class="d-flex text-muted pt-1">
<div class="fs-sm pe-3 me-0 me-md-3 flex-fill">
{{ translation.intro }}
<a href="{{ product.url }}" class="d-block mt-3">{{ site.data[page.lang].translation.read-more }}</a>
<br>
<a href="{{ product.url }}" class="btn btn-outline-secondary mt-3">{{ site.data[page.lang].translation.read-more }}</a>
</div>
<p class="fs-sm fw-semibold text-primary mb-0 text-nowrap d-none d-md-block">
<a href="{{ product.url }}">
Expand Down
10 changes: 5 additions & 5 deletions _layouts/store.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,35 +47,35 @@ <h1 class="display-3 mb-4">
<span class="badge bg-primary shadow-info fs-base fw-normal">Featured</span>
</header>
{% assign products = site.store | where: "lang", page.lang | where_exp:"product", "product.type == 'featured'" | sort: 'order', 'last' %}
{% include store-list-cards.html products=products %}
{% include store-list.html products=products %}
</article>
<article class="mb-5 pt-3">
<header class="d-flex align-items-center justify-content-between mb-5">
<span class="badge bg-success shadow-info fs-base fw-normal">Support</span>
</header>
{% assign products = site.store | where: "lang", page.lang | where_exp:"product", "product.type == 'support'" | sort: 'title' %}
{% include store-list-cards.html products=products %}
{% include store-list.html products=products %}
</article>
<article class="mb-5 pt-3">
<header class="d-flex align-items-center justify-content-between mb-5">
<span class="badge bg-info shadow-info fs-base fw-normal">{{ site.data[page.lang].translation.store-category-apps }}</span>
</header>
{% assign products = site.store | where: "lang", page.lang | where_exp:"product", "product.type == 'app'" | sort: 'title' %}
{% include store-list-cards.html products=products %}
{% include store-list.html products=products %}
</article>
<article class="mb-5 pt-3">
<header class="d-flex align-items-center justify-content-between mb-5">
<span class="badge bg-warning shadow-info fs-base fw-normal">{{ site.data[page.lang].translation.store-category-plugins }}</span>
</header>
{% assign products = site.store | where: "lang", page.lang | where_exp:"product", "product.type == 'plugin'" | sort: 'title' %}
{% include store-list-cards.html products=products %}
{% include store-list.html products=products %}
</article>
<article class="mb-5 pt-3">
<header class="d-flex align-items-center justify-content-between mb-5">
<span class="badge bg-danger shadow-info fs-base fw-normal">{{ site.data[page.lang].translation.store-category-client }}</span>
</header>
{% assign products = site.store | where: "lang", page.lang | where_exp:"product", "product.type == 'client'" %}
{% include store-list-cards.html products=products %}
{% include store-list.html products=products %}
</article>
</section>

Expand Down

0 comments on commit e37c8a5

Please sign in to comment.