Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

image and image description for projects #83

Open
wants to merge 4 commits into
base: gh-pages
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions _data/projects.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@
duration: 2012 — Present
# url: "#"
description: Jazz Notes is an open source node/ember app that helps you keep track of your music compositions and new ideas.
image_path: "images/placeholder.jpg"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image_path: "images/placeholder.png"

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • > @

image_name: "placeholder"

# Springfield Community Outreach Group
- project: Springfield Community Outreach Group
role: Co-Founder & Organizer
duration: 2007 — Present
# url: "#"
description: SCOG is a local monthly meetup in Springfield where we share opportunities to volunteer in the community and organize support for families and neighborhoods in need of assistance that the community can provide.
image_path: "images/SCOG.jpg"
image_name: "SCOG"
1 change: 1 addition & 0 deletions _layouts/resume.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ <h2>Projects</h2>
<h3 class="resume-item-title" itemprop="name">{% if project.url %}<a href="{{ project.url }}" itemprop="url">{{ project.project }}</a>{% else %}{{ project.project }}{% endif %}</h3>
<h4 class="resume-item-details" itemprop="description">{{ project.role }} &bull; {{ project.duration }}</h4>
<p class="resume-item-copy">{{ project.description }}</p>
<img src={{ project.image_path }} alt={{ project.image_name }} class="image-center no-print" itemprop="image" >
</div>
{% endfor %}

Expand Down
9 changes: 9 additions & 0 deletions _sass/_resume.scss
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,15 @@
}
}

.image-center {
height: auto;
width: 100%;
overflow: hidden;
margin-left: auto;
margin-right: auto;
display: block;
}

.resume-item-title,
.resume-item-details,
.resume-item-copy,
Expand Down
Binary file added images/SCOG.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/placeholder.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.