Add card.html support to embedded resources

This commit includes `card.html` in the embedded files by updating the `all.hpp` file. It modifies the function to map and include the `card.html` resource. Additionally, `index.html` was updated to ensure the latest content is embedded.
This commit is contained in:
2024-12-04 22:14:30 +01:00
parent 0b04ea0ac2
commit c1f3ece454
7 changed files with 112 additions and 69 deletions

10
res/html/card.html Normal file
View File

@@ -0,0 +1,10 @@
<a href="#" class="tool-card">
<img src="{{imgSrc}}" alt="{{toolName}}">
<div class="tool-info">
<h3>{{toolName}}</h3>
<p>{{toolDescription}}</p>
</div>
<div class="tool-action">
<button>{{buttonText}}</button>
</div>
</a>