mirror of
https://github.com/maikka39/Personal-Website.git
synced 2026-10-02 14:46:25 +00:00
Update portfolio
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
{{- end }}
|
||||
</div>
|
||||
{{- with .Params.skills }}
|
||||
<h3 class="portfolio-skills-title">Skills developed:</h3>
|
||||
<h3 class="portfolio-skills-title">{{ i18n "portfolio.skillsDeveloped"}}:</h3>
|
||||
<ul class="portfolio-skills">
|
||||
{{- range . }}
|
||||
<li class="portfolio-skill">{{ . }}</li>
|
||||
|
||||
@@ -40,6 +40,46 @@
|
||||
{{- end }}
|
||||
</p>
|
||||
|
||||
<div class="portfolio-links">
|
||||
{{- if .Params.source_code }}
|
||||
{{- if hasPrefix (printf "%T" .Params.source_code) "map" }}
|
||||
{{- range $name, $url := .Params.source_code }}
|
||||
<span>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
|
||||
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
||||
class="feather feather-code">
|
||||
<polyline points="16 18 22 12 16 6"></polyline>
|
||||
<polyline points="8 6 2 12 8 18"></polyline>
|
||||
</svg>
|
||||
<a href="{{ $url }}">{{ i18n "portfolio.viewSourceKind" $name}}</a>
|
||||
</span>
|
||||
{{- end }}
|
||||
{{- else }}
|
||||
<span>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
|
||||
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
||||
class="feather feather-code">
|
||||
<polyline points="16 18 22 12 16 6"></polyline>
|
||||
<polyline points="8 6 2 12 8 18"></polyline>
|
||||
</svg>
|
||||
<a href="{{ .Params.source_code }}">{{ i18n "portfolio.viewSource"}}</a>
|
||||
</span>
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .Params.live_demo }}
|
||||
<span>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
|
||||
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
||||
class="feather feather-monitor">
|
||||
<rect x="2" y="3" width="20" height="14" rx="2" ry="2"></rect>
|
||||
<line x1="8" y1="21" x2="16" y2="21"></line>
|
||||
<line x1="12" y1="17" x2="12" y2="21"></line>
|
||||
</svg>
|
||||
<a href="{{ .Params.live_demo }}">{{ i18n "portfolio.liveDemo"}}</a>
|
||||
</span>
|
||||
{{- end }}
|
||||
</div>
|
||||
|
||||
{{- if .Params.Cover }}
|
||||
{{- partial "image.html" (dict "path" .Params.Cover "alt" (.Title | plainify) "class" "portfolio-cover") }}
|
||||
{{- end }}
|
||||
@@ -59,7 +99,7 @@
|
||||
|
||||
<div>
|
||||
{{- with .Params.skills }}
|
||||
<h2 class="portfolio-skills-title">Skills developed:</h2>
|
||||
<h2 class="portfolio-skills-title">{{ i18n "portfolio.skillsDeveloped"}}:</h2>
|
||||
<ul class="portfolio-skills">
|
||||
{{- range . }}
|
||||
<li class="portfolio-skill">{{ . }}</li>
|
||||
|
||||
Reference in New Issue
Block a user