make banner & items flexible, create handlebar-component for banner items

This commit is contained in:
Tobias Hilfiker
2022-12-22 17:42:45 +01:00
parent 5c9ea262fa
commit a6067fc0e2
2 changed files with 23 additions and 14 deletions

View File

@@ -0,0 +1,4 @@
<a href="{{href}}" class="flex flex-row m-10 md:flex-col md:items-center">
<img src="{{img}}" alt="{{imgalt}}" class="w-20 h-20"/>
<p class="flex flex-col justify-center ml-5 md:ml-0 md:text-center">{{text}}</p>
</a>