🎨 style(service_card.html): add max-w-md class to the anchor tag to limit its maximum width

🐛 fix(service_card.html): update href attribute to include the service name for proper routing
This commit is contained in:
pluja 2023-10-31 00:05:12 +01:00
parent 3dcc5d7dc2
commit c27ef88594

View File

@ -1,5 +1,5 @@
{{/* service_card.html */}}
<a href="/service/{{.Name}}">
<a href="/service/{{.Name}}" class="max-w-md">
<div class="p-4 m-2 transition duration-500 bg-gray-700 border border-transparent rounded-lg shadow-lg backdrop-blur-md bg-opacity-30 hover:border-lime-600 min-w-32">
<div class="flex items-center justify-between">
<div class="flex items-center">