Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add links to home blocks

Krzysztof Białogłowicz613a90b02101
diff --git a/templates/home.html b/templates/home.html
index eb221cd5df..987130eb26 100644
--- a/templates/home.html
+++ b/templates/home.html
@@ -12,9 +12,7 @@
<div class="home--content-inner">
<h1>{% trans "Promo &amp; Sale" %}</h1>
<h2>{% trans "form the Northpole" %}</h2>
- <button class="btn btn-secondary home__button">
- {% trans "Shop now" %}
- </button>
+ <a class="btn btn-secondary home__button" href="/products/category/default-1/">{% trans "Shop now" %}</a>
</div>
</div>
</div>
@@ -28,9 +26,7 @@
<div class="home--content-wrapper">
<div class="home--content-inner">
<h1>{% trans "Size &amp; Colours" %}</h1>
- <button class="btn btn-secondary home__button">
- {% trans "Shop now" %}
- </button>
+ <a class="btn btn-secondary home__button" href="/products/category/groceries-2/">{% trans "Shop now" %}</a>
</div>
</div>
</div>
@@ -42,9 +38,7 @@
<div class="home--content-wrapper">
<div class="home--content-inner">
<h1>{% trans "Digital Downloads" %}</h1>
- <button class="btn btn-secondary home__button">
- {% trans "Shop now" %}
- </button>
+ <a class="btn btn-secondary home__button" href="/products/category/accessories-3/">{% trans "Shop now" %}</a>
</div>
</div>
</div>