diff options
Diffstat (limited to '_includes/projects.html')
-rw-r--r-- | _includes/projects.html | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/_includes/projects.html b/_includes/projects.html new file mode 100644 index 0000000..55a1461 --- /dev/null +++ b/_includes/projects.html @@ -0,0 +1,32 @@ +<div class="grid-item"> + {% if project.redirect %} + <a href="{{ project.redirect }}" target="_blank"> + {% else %} + <a href="{{ project.url | relative_url }}"> + {% endif %} + <div class="card hoverable"> + {% if project.img %} + <img src="{{ project.img | relative_url }}" alt="project thumbnail"> + {% endif %} + <div class="card-body"> + <h2 class="card-title text-lowercase">{{ project.title }}</h2> + <p class="card-text">{{ project.description }}</p> + <div class="row ml-1 mr-1 p-0"> + {% if project.github %} + <div class="github-icon"> + <div class="icon" data-toggle="tooltip" title="Code Repository"> + <a href="{{ project.github }}" target="_blank"><i class="fab fa-github 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> + </div> + </a> +</div> |