Merge pull request #2 from osmandi/master
Add attribute on click in the image on Projects
This commit is contained in:
commit
c78cf6dcfe
|
@ -96,11 +96,13 @@
|
|||
>
|
||||
{{ range $data.project.list }}
|
||||
<div class="w-full rounded overflow-hidden shadow-lg">
|
||||
<a href="{{ .url }}" target="_blank">
|
||||
<img
|
||||
class="w-full h-48"
|
||||
src="{{ .image }}"
|
||||
alt="Sunset in the mountains"
|
||||
/>
|
||||
</a>
|
||||
<div class="px-6 py-4">
|
||||
<div class="font-bold text-xl mb-2">{{ .title }}</div>
|
||||
<p class="text-gray-700 text-base">
|
||||
|
|
Loading…
Reference in New Issue