Merge pull request #2 from osmandi/master

Add attribute on click in the image on Projects
This commit is contained in:
이강준 2020-12-27 22:40:19 +09:00 committed by GitHub
commit c78cf6dcfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -96,11 +96,13 @@
>
{{ range $data.project.list }}
<div class="w-full rounded overflow-hidden shadow-lg">
<img
<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">