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