Skip to content

Commit

Permalink
add key index sorting and github links
Browse files Browse the repository at this point in the history
  • Loading branch information
kpwelsh committed Nov 21, 2024
1 parent f31cee7 commit 7947a93
Show file tree
Hide file tree
Showing 11 changed files with 36 additions and 9 deletions.
18 changes: 13 additions & 5 deletions _includes/projects/project-card.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,19 @@ <h5 class="card-title">{{ include.page.title }} <small class="text-muted float-e
<span style="background-color: var(--tf-pill-bg); color: var(---tf-pill-color);" class="badge rounded-pill">{{ label }}</span>
{% endfor %}
</p>
{% if page.projecturl %}
<a href="{{ page.projecturl }}" class="btn btn-outline-dark">Project Site</a>
{% else %}
<a href="{{ site.baseurl}}{{ include.page.url }}" class="btn btn-outline-dark">Read More</a>
{% endif %}

<div class="card-body-footer">
<a href="{{ page.github }}" target="_blank">
<svg class="tf-social">
<use xlink:href="{{ '/img/bootstrap-icons.svg' | prepend: site.baseurl }}#github"/>
</svg>
</a>
{% if page.projecturl %}
<a href="{{ page.projecturl }}" class="btn btn-outline-dark">Project Site</a>
{% else %}
<a href="{{ site.baseurl}}{{ include.page.url }}" class="btn btn-outline-dark">Read More</a>
{% endif %}
</div>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion _includes/projects/projects.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ <h1 class="display-4 text-start">Projects</h1>
</div>

<div class="vstack gap-3">
{% assign project_pages = site.pages | where: "type", "project" | sort: "date" | reverse %}
{% assign project_pages = site.pages | where: "type", "project" | sort: "index" | reverse %}
{% for page in project_pages %}
{% unless page.draft %}
{% include projects/project-card.html page=page %}
Expand Down
9 changes: 8 additions & 1 deletion css/techfolio-theme/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,14 @@ h1 {
margin-right: auto;
align-content: center;
height: auto;
width: 100%;
max-width: 100%;
max-height: 15em;
}

.card-body-footer {
display: flex;
align-items: center;
gap: 1em;
}

.img-container {
Expand Down
2 changes: 2 additions & 0 deletions projects/generative-robot-behavior.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
---
layout: project
type: project
github: https://github.com/Verdant-Evolution/application
image: img/generative-robotic-behavior/generative-robotic-behavior-square.svg
title: "Generative Robotic Behavior"
date: 2024
index: 1
published: true
labels:
- Robotics
Expand Down
4 changes: 3 additions & 1 deletion projects/high-precision-robotics.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
---
layout: project
type: project
github: https://gitlab.verdantevolution.com/afrl/robot-controller-ros
image: img/high-precision-robotics/high-precision-robotics-square.png
title: "High Precision Robotics"
date: 2024
date: 2024-Present
index: 2
published: true
labels:
- Robotics
Expand Down
2 changes: 2 additions & 0 deletions projects/ik-geo.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
---
layout: project
type: project
github: https://github.com/Verdant-Evolution/ik-geo
image: img/ik-geo/ik-geo-square.png
title: "IK-Geo"
date: 2024
index: 6
published: true
labels:
- Robotics
Expand Down
1 change: 1 addition & 0 deletions projects/maho.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
layout: project
type: project
github: https://github.com/Verdant-Evolution/maho
image: img/maho/maho-square.png
title: "Maho"
date: 2024
Expand Down
1 change: 1 addition & 0 deletions projects/pype.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
layout: project
type: project
github: https://github.com/Verdant-Evolution/pype
image: img/pype/pype-square.png
title: "Pype"
date: 2024
Expand Down
1 change: 1 addition & 0 deletions projects/rclpy+.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
layout: project
type: project
github: https://github.com/Verdant-Evolution/ros2_python_helpers
image: img/rclpy+/rclpy+-square.png
title: "RCLPY+"
date: 2024
Expand Down
1 change: 1 addition & 0 deletions projects/rigid-transforms.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
layout: project
type: project
github: https://github.com/Verdant-Evolution/rigid_transforms
image: img/rigid-transforms/rigid-transforms-square.png
title: "Rigid Transforms"
date: 2024
Expand Down
4 changes: 3 additions & 1 deletion projects/teleoperation-performance.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
---
layout: project
type: project
github: https://github.com/uwgraphics/unity-robosim-kpwelsh
image: img/teleoperation-test/teleoperation-test.png
title: "Teleoperation Performance"
date: 2024
date: 2022
index: 5
published: true
labels:
- Robotics
Expand Down

0 comments on commit 7947a93

Please sign in to comment.