2023-02-11 15:27:15 +01:00
|
|
|
<div th:fragment="card" class="feature-card">
|
2023-04-15 20:55:55 +02:00
|
|
|
<a th:href="${cardLink}">
|
2023-04-22 00:32:39 +02:00
|
|
|
<div class="d-flex align-items-center"> <!-- Add a flex container to align the SVG and title -->
|
2023-04-22 01:08:36 +02:00
|
|
|
<img th:if="${svgPath}" id="card-icon" class="home-card-icon home-card-icon-colour" th:src="${svgPath}" alt="Icon" width="30" height="30">
|
|
|
|
<h5 class="card-title ml-2" th:text="${cardTitle}"></h5> <!-- Add some margin-left (ml-2) for spacing between SVG and title -->
|
2023-04-22 00:32:39 +02:00
|
|
|
</div>
|
2023-04-15 20:55:55 +02:00
|
|
|
<p class="card-text" th:text="${cardText}"></p>
|
|
|
|
</a>
|
2023-04-22 00:32:39 +02:00
|
|
|
</div>
|