- Added Image in card head for certificate and badge section.

- Added Image param for certification in config.yaml
This commit is contained in:
Prakash4844
2023-07-14 11:28:18 +05:30
parent a36ef35350
commit 0581d786e7
2 changed files with 5 additions and 0 deletions
+2
View File
@@ -276,8 +276,10 @@ params:
- title: Google kickstart runner - title: Google kickstart runner
content: I solved all problems with optimal solution. content: I solved all problems with optimal solution.
url: https://example.com url: https://example.com
image: /images/projects/profile.png
- title: Facebook Hackathon Winner - title: Facebook Hackathon Winner
content: Developed a product using Artificial Intelligence. content: Developed a product using Artificial Intelligence.
image: /images/projects/profile.png
- title: Hugo Profile - title: Hugo Profile
content: Developed a theme and getting 1K+ downloads per month. content: Developed a theme and getting 1K+ downloads per month.
url: "https://github.com/gurusabarish/hugo-profile" url: "https://github.com/gurusabarish/hugo-profile"
@@ -8,6 +8,9 @@
{{ if .url }} {{ if .url }}
<div class="col-lg-4 col-md-6 my-3"> <div class="col-lg-4 col-md-6 my-3">
<a class="card my-3 h-100 p-3" href="{{ .url }}" title="{{ .title }}" target="_blank"> <a class="card my-3 h-100 p-3" href="{{ .url }}" title="{{ .title }}" target="_blank">
<div class="card-head">
<img class="card-img-top" src="{{ .image }}">
</div>
<div class="card-body bg-transparent"> <div class="card-body bg-transparent">
<h5 class="card-title bg-transparent">{{ .title }}</h5> <h5 class="card-title bg-transparent">{{ .title }}</h5>
<div class="card-text secondary-font"> <div class="card-text secondary-font">