Cleaned up the code used to list features on the home page.

This commit is contained in:
Saud Fatayerji
2023-02-04 16:15:03 +03:00
parent defe6ef1e5
commit 0a67da2c76
2 changed files with 36 additions and 37 deletions

View File

@@ -1,9 +1,5 @@
<div th:fragment="card" class="col-4 h-100">
<div class="dark-card card">
<div class="card-body">
<h5 class="card-title" th:text="${cardTitle}"></h5>
<p class="card-text" th:text="${cardText}"></p>
<a class="btn btn-primary" th:href="${cardLink}">Go</a>
</div>
</div>
<div th:fragment="card" class="feature-card">
<h5 class="card-title" th:text="${cardTitle}"></h5>
<p class="card-text" th:text="${cardText}"></p>
<a class="btn btn-primary" th:href="${cardLink}">Go</a>
</div>