personal-website/_includes/projects_horizontal.html

28 lines
1018 B
HTML

<div class="card-item col">
{%- if project.redirect -%}
<a href="{{ project.redirect }}" class="stretched-link">
{%- else -%}
<a href="{{ project.url | relative_url }}" class="stretched-link">
{%- endif -%}
<div class="card hoverable h-100">
<div class="card-body">
<h3 class="card-title">{{ project.title }}</h3>
<p class="card-text">{{ project.description }}</p>
<!-- {%- if project.github -%}
<div class="github-icon">
<div class="icon" data-toggle="tooltip" title="Code repository">
<a href="{{ project.github }}" class="stretched-link"><i class="fab fa-lg fa-git gh-icon"></i></a>
</div>
{%- if project.github_stars -%}
<span class="stars" data-toggle="tooltip" title="GitHub Stars">
<i class="fas fa-star"></i>
<span id="{{ project.github_stars }}-stars"></span>
</span>
{%- endif -%}
</div>
{%- endif -%} -->
</div>
</div>
</a>
</div>