Skip to content

Commit

Permalink
making project card
Browse files Browse the repository at this point in the history
  • Loading branch information
GarmischWg committed Jan 28, 2024
1 parent 7ccdba0 commit 79314ff
Show file tree
Hide file tree
Showing 8 changed files with 52 additions and 33 deletions.
17 changes: 17 additions & 0 deletions _data/projects-cards-data.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
- image: /_pages/projects/roboticArm/RoboticArm.jpg
title: Full-Stack Robotic Arm Design; Software, Mechanical, and Electronics Integration
tags:
- MECH
- CS
- ELEC
- AI
excerpt: Short project description 1
url: /roboticArm/

- image: /path/to/project2-image.jpg
title: Project 2
tags:
- Tech Tag 3
- Tech Tag 4
excerpt: Short project description 2
url: /projects/project2.html
17 changes: 17 additions & 0 deletions _includes/project/project-card.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<div class="project-card">
<div style=" display: flex; justify-content: space-between;">
<div class="project-image-container" style="max-width: 30%; overflow: hidden; margin-right: 20px;">
<img src="{{ project.image }}" alt="{{ project.title }}" class="project-image"
style="max-width: 100%; height: auto;">
</div>
<div class="project-details" style="width: 70%;">
<h3 class="project-title">{{ project.title }}</h3>
<ul class="tech-tags">
{% for tag in project.tags %}
<li>{{ tag }}</li>
{% endfor %}
</ul>
<p class="excerpt">{{ project.excerpt }}</p>
</div>
</div>
</div>
3 changes: 3 additions & 0 deletions _layouts/project-details.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<a href="{{ project.url }}" class="project-link">
<!-- project card content here -->
</a>
10 changes: 8 additions & 2 deletions _pages/projects/mainProjects.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
---
layout: splash
title: "Projects"
permalink: /Projects/
permalink: /projects/
header:
overlay_color: "#000"
overlay_filter: "0.5"
overlay_image: /assets/images/projects/projectsHeader.jpg
excerpt: Discover my diverse skillset in computer science, AI, robotics, mechanics, and electronics.
---
---

<div class="project-catalog">
{% for project in site.data.projects-cards-data %}
{% include project/project-card.html %}
{% endfor %}
</div>
Binary file added _pages/projects/roboticArm/roboticArm.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions _pages/projects/roboticArm/roboticArm.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
layout: splash
title: "Robtic Arm"
permalink: /roboticArm/
---
29 changes: 0 additions & 29 deletions _posts/2024-01-27-welcome-to-jekyll.markdown

This file was deleted.

4 changes: 2 additions & 2 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ feature_row01:
- image_path: /assets/images/projects/projectsHeader.jpg
title: "Projects"
excerpt: "checkoout more projects here"
url: /_pages/projects/mainProjects.md
url: /projects/
btn_label: "Read More"
btn_class: "btn--primary"
- image_path: /assets/images/skillset/skillsetHeader.jpeg
Expand All @@ -32,7 +32,7 @@ feature_row01:
<img src="/assets/images/mainPage/Portrait.jpg" alt="Profile Picture" width="400" height="400" style="float: left; margin-right: 20px;">
</div>
<div style="width: 70%;">
<h2>About me</h2>
<h2>About me</h2>
<p style="text-align: left;">
Hello, I am Garmisch, I consider myself an inventor and problem solver. I love solving real-world problems by appropriately applying technology. On my quest to be better equipped in the tech field, I have chosen to major in Integrative Systems and Design, with an extended major in Artificial Intelligence and a minor in Robotics at Hong Kong University of Science and Technology.

Expand Down

0 comments on commit 79314ff

Please sign in to comment.