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

jekyll page #69

Merged
merged 11 commits into from
Mar 8, 2020
Merged

jekyll page #69

merged 11 commits into from
Mar 8, 2020

Conversation

kennedy
Copy link
Member

@kennedy kennedy commented Mar 7, 2020

I am using the jekyll minima theme (v2.5.1). It is a bit dated but it is still clean and easy to work with. I took into consideration the navigation feature.

here are the screenshots of the faculty and mentor page, but the student, alum, and home page works

Screen Shot 2020-03-07 at 00 17 52-fullpage
Screen Shot 2020-03-07 at 00 17 58-fullpage

@kennedy kennedy changed the title #68 jekyll page jekyll page Mar 7, 2020
@kennedy kennedy linked an issue Mar 7, 2020 that may be closed by this pull request
3 tasks
@kennedy kennedy self-assigned this Mar 7, 2020
@kennedy kennedy added T: contributor experience Quality-of-life improvements or changes to project contribution processes or resources improvement Improves on something that already exists new change Adds new capabilities or functionality labels Mar 7, 2020
- jekyll-paginate
- jekyll-readme-index
- jekyll-titles-from-headings
- jekyll-relative-links
Copy link
Member Author

Choose a reason for hiding this comment

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

These plugins are enabled by default if using github pages to generate

@@ -6,6 +6,6 @@ major: Game Design and Development
graduation: 2015
handle: ajman1101
forges:
GitHub: http://github.com/ajman1101
GitHub: https://github.com/ajman1101
Copy link
Member Author

Choose a reason for hiding this comment

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

I've went through and updated all urls to https

@@ -1,6 +1,6 @@
---
name: Ian Gilbert
blog: n-g.biz
blog: http://n-g.biz
Copy link
Member Author

Choose a reason for hiding this comment

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

all urls must append https:// or else it would become a relative href path

- faculty.html
- student.html
- mentor.html
- alum.html
Copy link
Member Author

Choose a reason for hiding this comment

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

This defines the navigation bar. Each of these pages must have a title frontmatter

_config.yaml Outdated
github_username: FOSSRIT

minima:
skin: solarized-dark
Copy link
Member Author

Choose a reason for hiding this comment

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

ignore... version 2.5.1 does not have skins.

Copy link
Member

Choose a reason for hiding this comment

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

@kennedy Any reason to leave it in the config at all?

Copy link
Member Author

Choose a reason for hiding this comment

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

Pure laziness. haha. ill remove it

@@ -0,0 +1,53 @@
{% assign page_category = (include.content | remove: ".html") %}
<div class="profile_list">
{% for category_pair in site.data %}
Copy link
Member Author

Choose a reason for hiding this comment

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

Due to the file structure of _data/..., traverse through each person's profile was non-standard.

{% endfor %}
</ul>
</li>
{% endif %}
Copy link
Member Author

Choose a reason for hiding this comment

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

Rendered design was based off templates.html from the project. There is room for improvement

Copy link
Member

Choose a reason for hiding this comment

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

This is definitely something we can solicit some more participation from folks on. Not a problem! 👍

@@ -0,0 +1,16 @@
---
Copy link
Member Author

Choose a reason for hiding this comment

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

This overrides the theme's main.scss.
I turned the profiles into flexbox.

Copy link
Member

Choose a reason for hiding this comment

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

Any specific reason for flexbox? I'm not picky about it, just curious since web dev is not my strong suit.

Copy link
Member Author

Choose a reason for hiding this comment

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

There were a few ways of doing this, but utilizing new browser standard technologies reduces the need for third party javascript. After some quick reading on how to accomplish the desired responsive behavior, flexbox keeps coming up, so I felt it was a good idea to learn the basics of it.

Copy link
Member

@jwflory jwflory left a comment

Choose a reason for hiding this comment

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

@kennedy Uhhh, this is totally awesome 😍 It is super exciting to see this come to life. Thanks for working on this!

I left a few comments and questions, but there was only one thing that actually needs changes. I think a GitLab URL was sliced off by mistake on one profile. Otherwise, I'm ready to merge this. I definitely didn't look super close at the HTML/CSS, but I think it's also fine to get this merged and we can iterate smaller PRs on the site going forward.

Also thanks for triaging the metadata on this, I appreciate that. 👍

@@ -8,5 +8,5 @@ graduation: 2018
handle: axk4545
forges:
GitHub: https://github.com/axk4545/
GitLab: https://gitlab.com/axk4545/
GitLab: axk4545/
Copy link
Member

Choose a reason for hiding this comment

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

I think you might have sliced off the gitlab.com part of this URL by mistake?

_config.yaml Outdated
github_username: FOSSRIT

minima:
skin: solarized-dark
Copy link
Member

Choose a reason for hiding this comment

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

@kennedy Any reason to leave it in the config at all?

{% endfor %}
</ul>
</li>
{% endif %}
Copy link
Member

Choose a reason for hiding this comment

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

This is definitely something we can solicit some more participation from folks on. Not a problem! 👍

@@ -0,0 +1,16 @@
---
Copy link
Member

Choose a reason for hiding this comment

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

Any specific reason for flexbox? I'm not picky about it, just curious since web dev is not my strong suit.

layout: home
title: Student
---
{% include profiles.html content=page.name %}
Copy link
Member

Choose a reason for hiding this comment

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

Nice and simple. Also leaves room to iterate future categories on here too, for example if we want to add a "Friends" section for folks not formally affiliated to RIT but who hang around the FOSS@RIT community!

Copy link
Member Author

Choose a reason for hiding this comment

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

I didnt think of that, but yes, this design would support that

@jwflory jwflory removed T: contributor experience Quality-of-life improvements or changes to project contribution processes or resources improvement Improves on something that already exists labels Mar 8, 2020
Copy link
Member Author

@kennedy kennedy left a comment

Choose a reason for hiding this comment

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

I made the changes

Copy link
Member

@jwflory jwflory left a comment

Choose a reason for hiding this comment

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

Awesome. Thanks for jumping on this @kennedy. Looks good to me. Let's merge and get this published!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new change Adds new capabilities or functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Research planning for foss-profiles v2.0
2 participants