-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Categories for projects and an optional horizontal project card style…
… (#224) * Add webpage to academic pages list * adding panelbear analytics * added categories for projects and horizontal mode display for projects * rewrote the code to ensure it works properly with current project definitions * Style adjustments Co-authored-by: Maruan Al-Shedivat <[email protected]>
- Loading branch information
1 parent
0e4df83
commit e27fe2a
Showing
12 changed files
with
178 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<div class="card-item col"> | ||
{% if project.redirect %} | ||
<a href="{{ project.redirect }}" target="_blank"> | ||
{% else %} | ||
<a href="{{ project.url | relative_url }}"> | ||
{% endif %} | ||
<div class="card hoverable"> | ||
<div class="row g-0"> | ||
{% if project.img %} | ||
<div class="card-img col-md-6"> | ||
<img src="{{ project.img | relative_url }}" alt="project thumbnail"> | ||
</div> | ||
<div class="col-md-6"> | ||
{% else %} | ||
<div class="col-md-12"> | ||
{% endif %} | ||
<div class="card-body"> | ||
<h3 class="card-title text-lowercase">{{ project.title }}</h3> | ||
<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> | ||
</div> | ||
</div> | ||
</a> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters