improved achievment image support
This commit is contained in:
@@ -277,16 +277,16 @@ 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
|
image: /images/achievment.jpg
|
||||||
- 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/profile2.jpg
|
image: /images/achievment.jpg
|
||||||
- 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"
|
||||||
|
image: /images/achievment.jpg
|
||||||
- title: Microsoft Imagine Runner
|
- title: Microsoft Imagine Runner
|
||||||
content: We are developed a product which can help others.
|
content: We are developed a product which can help others.
|
||||||
image: /images/projects/converter.jpg
|
|
||||||
- title: Google Summer of Code
|
- title: Google Summer of Code
|
||||||
content: Contributed to a open source project.
|
content: Contributed to a open source project.
|
||||||
url: https://example.com
|
url: https://example.com
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 133 KiB |
@@ -8,9 +8,11 @@
|
|||||||
{{ 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">
|
{{if .image }}
|
||||||
<img class="card-img-top" src="{{ .image }}">
|
<div class="card-head">
|
||||||
</div>
|
<img class="card-img-top" src="{{ .image }}">
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
<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">
|
||||||
@@ -22,6 +24,11 @@
|
|||||||
{{ else }}
|
{{ else }}
|
||||||
<div class="col-lg-4 col-md-6 my-3">
|
<div class="col-lg-4 col-md-6 my-3">
|
||||||
<div class="card my-3 h-100 p-3" title="{{ .title }}">
|
<div class="card my-3 h-100 p-3" title="{{ .title }}">
|
||||||
|
{{if .image }}
|
||||||
|
<div class="card-head">
|
||||||
|
<img class="card-img-top" src="{{ .image }}">
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
<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">
|
||||||
|
|||||||
@@ -515,6 +515,10 @@ header .navbar.animate {
|
|||||||
color: var(--text-secondary-color) !important;
|
color: var(--text-secondary-color) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#achievements img {
|
||||||
|
border-radius: 0.7rem;
|
||||||
|
}
|
||||||
|
|
||||||
/* contact */
|
/* contact */
|
||||||
|
|
||||||
#contact h3 {
|
#contact h3 {
|
||||||
|
|||||||
Reference in New Issue
Block a user