Make Skills and Projects cards linkable (#46)
* Project card header is now can be clicked * skill is card now having url to add on it's header * urls added to some skills * div class synced with original * guthub button text synced with original * text decoration removed * remove next line in card header for text * whole Skill Card now is under hyperlink * hyperlink class separated from card * removed text-decoration from .card class * ProjectCard header hyperlink decoration removed * call adjustSkillCardsHeight after page is loaded * Add "#" in href field when respective URL is not provided Co-authored-by: hossainemruz <emruz@appscode.com>
This commit is contained in:
parent
d7df50ed2a
commit
64fb493030
7 changed files with 43 additions and 41 deletions
|
@ -4,18 +4,20 @@
|
|||
>
|
||||
<div class="card mt-1">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<div class="d-flex">
|
||||
{{ if .logo }}
|
||||
<img class="card-img-xs" src="{{ .logo }}" alt="{{ .name }}" />
|
||||
{{ end }}
|
||||
<h5 class="card-title mb-0">{{ .name }}</h5>
|
||||
<a class="card-header" href="{{ if .repo }}{{ .repo }}{{ else if .url }}{{ .url }}{{ else }}#{{ end }}">
|
||||
<div>
|
||||
<div class="d-flex">
|
||||
{{ if .logo }}
|
||||
<img class="card-img-xs" src="{{ .logo }}" alt="{{ .name }}" />
|
||||
{{ end }}
|
||||
<h5 class="card-title mb-0">{{ .name }}</h5>
|
||||
</div>
|
||||
<div class="sub-title">
|
||||
<span>{{ .role }}</span>
|
||||
<span>{{ .timeline }}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sub-title">
|
||||
<span>{{ .role }}</span>
|
||||
<span>{{ .timeline }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<div class="card-body text-justify pt-1 pb-1">
|
||||
<p>{{ .summary | markdownify }}</p>
|
||||
<span class="float-right">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue