Skip to content

Commit

Permalink
Merge pull request #101 from nyu-dh/enhancement/project-layout-95
Browse files Browse the repository at this point in the history
close #95
  • Loading branch information
mnyrop committed May 26, 2022
2 parents e6336a9 + 76e5450 commit 8c4181e
Show file tree
Hide file tree
Showing 13 changed files with 129 additions and 42 deletions.
6 changes: 4 additions & 2 deletions source/funding/grad-fellowships.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ contents_links:
---

<div class="container">
<div class="content mb-6" markdown="1">
<div class="content post-content mb-6" markdown="1">
[The Center for the Humanities](https://nyuhumanities.org/), [NYU Libraries](https://library.nyu.edu/) and [NYU Research Technology](https://www.nyu.edu/research/navigating-research-technology.html) annually fund between 8 and 10 Digital Humanities Graduate Student Fellows. Students apply with their own proposed project, which might involve–for example–engaging with digital humanities methods as the basis for a dissertation chapter or article, or building a digital public humanities project or exhibit. Project work will take place during the summer, and participants will report on work completed at an annual fall showcase event.

Proposals are judged by a Faculty Committee on the merit of the project, its contribution to the applicant’s course of study, and its feasibility in the timeline proposed. We especially welcome projects that give voice or expression to underrepresented communities; that engage with the urban fabric of the cities in which NYU has campuses; and that contribute to the emerging subfield of Global Digital Humanities.
Expand All @@ -29,9 +29,11 @@ Graduate students in the humanities from all NYU schools, including NYU Global S
</div>
</div>

<hr>

<section class="section full-width">
<div class="container">
<div class="content mb-6">
<div class="content post-content mb-6">
<h2 class="is-size-3" id="past-fellows">Past Fellows</h2>

{% assign fellow2022 = site.projects | where: 'cohort_year', '2022' | where_exp: "i", "i.category contains 'Fellowship'" %}
Expand Down
14 changes: 7 additions & 7 deletions source/funding/seed-grants.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ contents_links:
---

<div class="container">
<div class="content mb-6" markdown="1">
<div class="content post-content mb-6" markdown="1">
The Center for the Humanities, NYU Libraries, and NYU Research Technology fund the initial development of new research projects that will analyze digital sources, apply algorithmic methods to humanities data, or create digital publications, exhibits, or websites. The goal of the program is to seed projects that may go on to receive greater funding from other sources or otherwise build NYU’s institutional capacity in Digital Humanities work.

Grants may range in size between $5,000 and $20,000. Collaborative projects are encouraged, but must include at least one NYU faculty member in the humanities. Additional resources may be made available for those proposing computationally intensive work utilizing NYU’s high performance computing cluster and similar [Research Technology resources](https://www.nyu.edu/research/navigating-research-technology.html). We especially welcome projects that give voice or expression to underrepresented communities; that engage with the urban fabric of the cities in which NYU has campuses; and that contribute to the emerging subfield of Global Digital Humanities.
</div>
</div>

<section class="section full-width is-bg-alt">
<div class="container">
<h2 class="is-size-3 pb-6" id="seed-grant-news">Seed Grant News</h2>
<div class="container content post-content">
<h2 class="is-size-3 pb-3" id="seed-grant-news">Seed Grant News</h2>

{% assign seed_news = site.news | where_exp: "i", "i.tags contains 'seed_grants'" %}
{% include cards/news.html data=seed_news limit=3 %}
Expand All @@ -37,12 +37,12 @@ Grants may range in size between $5,000 and $20,000. Collaborative projects are

<section class="section full-width">
<div class="container">
<div class="content mb-6">
<div class="content post-content mb-6">
<h2 class="is-size-3" id="funded-projects">Funded Projects</h2>

{% assign seeds2022 = site.projects | where: 'cohort_year', '2022' | where_exp: "i", "i.category contains 'Seed'" %}
{%- if seeds2022.size > 0 -%}
<p class="is-size-4">2022 - 2023</p>
<h3 class="is-size-4">2022 - 2023</h3>
<ul>
{%- for p in seeds2022 -%}
<li><a href="{{ p.url | absolute_url }}">
Expand All @@ -54,7 +54,7 @@ Grants may range in size between $5,000 and $20,000. Collaborative projects are

{% assign seeds2021 = site.projects | where: 'cohort_year', '2021' | where_exp: "i", "i.category contains 'Seed'" %}
{% if seeds2021.size > 0 -%}
<p class="is-size-4">2021 - 2022</p>
<h3 class="is-size-4">2021 - 2022</h3>
<ul>
{% for p in seeds2021 %}
<li><a href="{{ p.url | absolute_url }}">
Expand All @@ -66,7 +66,7 @@ Grants may range in size between $5,000 and $20,000. Collaborative projects are

{% assign seeds2020 = site.projects | where: 'cohort_year', '2020' | where_exp: "i", "i.category contains 'Seed'" %}
{% if seeds2020.size > 0 -%}
<p class="is-size-4">2020 - 2021</p>
<h3 class="is-size-4">2020 - 2021</h3>
<ul>
{% for p in seeds2020 %}
<li><a href="{{ p.url | absolute_url }}">
Expand Down
4 changes: 2 additions & 2 deletions source/get-involved.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ contents_links:
- label: 'News and Events'
link: '#explore-news-and-events'
---
<div class="content" markdown="1">
<div class="content post-content" markdown="1">
## Access Consultations and Resources

There are lots of people and services at NYU to help with digital humanities work from fresh ideas to established projects. The best way to find and identify resources is to ask for a consultation with one of the support groups.
Expand All @@ -30,7 +30,7 @@ There are lots of people and services at NYU to help with digital humanities wor
<section class="section full-width mb-6 is-bg-alt">
<div class="container">

<div class="content" markdown="1">
<div class="content post-content" markdown="1">
## Explore News and Events

DH events and courses are sponsored by groups across the University. We recommend checking the calendars maintained by [NYU Libraries](https://nyu.libcal.com/calendar/?cid=1564&t=d&d=0000-00-00&cal=1564&inc=0), [NYU Center for the Humanities](https://nyuhumanities.org/events/), the [NYU Center for Data Science](https://cds.nyu.edu/cds-events/), as well as [New York City Digital Humanities](https://nycdh.org/calendar/).
Expand Down
22 changes: 20 additions & 2 deletions source/projects/fellowships.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,28 @@
---
title: NYU DH Graduate Fellowship Projects
subtitle: ''
subtitle: 'Browse the amazing projects funded through our [NYU DH Graduate Student Fellowship Program](/funding/grad-fellowships) by cohort year.'
layout: default
breadcrumbs:
- name: Projects
link: /projects
contents_links:
- label: 2022 Cohort
link: '#2022'
- label: 2021 Cohort
link: '#2021'
---
{% assign fellows = site.projects | where_exp: "i", "i.category contains 'Fellowship'" %}
{% include cards/projects.html data=fellows full_width=false %}

<div class="post-content">
<h2 id="2022" class="title mb-4">Funded for 2022 – 2023</h2>
</div>
{% assign fellows2022 = fellows | where: 'cohort_year', '2022' %}
{% include cards/projects.html data=fellows2022 full_width=false %}
<hr>

<div class="post-content">
<h2 id="2021" class="title mb-4">Funded for 2021 – 2022</h2>
</div>
{% assign fellows2021 = fellows | where: 'cohort_year', '2021' %}
{% include cards/projects.html data=fellows2021 full_width=false %}
<hr>
30 changes: 28 additions & 2 deletions source/projects/seed-grants.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,36 @@
---
title: NYU DH Seed Grant Projects
subtitle: ''
subtitle: 'Browse the amazing projects funded through our [NYU DH Seed Grant Program](/funding/seed-grants) by cohort year.'
layout: default
breadcrumbs:
- name: Projects
link: /projects
contents_links:
- label: 2022 Cohort
link: '#2022'
- label: 2021 Cohort
link: '#2021'
- label: 2020 Cohort
link: '#2020'
---
{% assign seeds = site.projects | where_exp: "i", "i.category contains 'Seed'" %}
{% include cards/projects.html data=seeds full_width=false %}

<div class="post-content">
<h2 id="2022" class="title mb-4">Funded for 2022 – 2023</h2>
</div>
{% assign seeds2022 = seeds | where: 'cohort_year', '2022' %}
{% include cards/projects.html data=seeds2022 full_width=false %}
<hr>

<div class="post-content">
<h2 id="2021" class="title mb-4">Funded for 2021 – 2022</h2>
</div>
{% assign seeds2021 = seeds | where: 'cohort_year', '2021' %}
{% include cards/projects.html data=seeds2021 full_width=false %}
<hr>

<div class="post-content">
<h2 id="2020" class="title mb-4">Funded for 2020 – 2021</h2>
</div>
{% assign seeds2020 = seeds | where: 'cohort_year', '2020' %}
{% include cards/projects.html data=seeds2020 full_width=false %}
7 changes: 1 addition & 6 deletions theme/_includes/hero/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,7 @@ <h1 class="title pb-2">
{%- if page.collection == 'project_tags' -%}Tag: {{ page.slug }}{%- else -%}{{ page.title }}{%- endif -%}
</h1>

{% if page.collection == 'projects' %}
{% if page.subtitle or page.tagline %}<p class="subtitle">{{ page.subtitle | default: page.tagline | markdownify | remove: '<p>' | remove: '</p>' }}</p>{% endif %}
{% else %}
{% if page.subtitle %}<p class="subtitle">{{ page.subtitle | markdownify | remove: '<p>' | remove: '</p>' }}</p>{% endif %}
{% endif %}

{% if page.subtitle %}<p class="subtitle">{{ page.subtitle | markdownify | remove: '<p>' | remove: '</p>' }}</p>{% endif %}
{% include hero/partials/buttons.html %}
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion theme/_includes/hero/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<div class="container">
<div class="content my-6">
<h1 class="title pb-2">{{ site.full_title }}</h1>
<p class="subtitle">{{ site.description }}</p>
<p class="subtitle is-size-5">{{ site.description }}</p>
</div>
</div>
</div>
Expand Down
12 changes: 0 additions & 12 deletions theme/_includes/hero/news.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,4 @@ <h1 class="title pb-2">
</div>
</div>
</div>
{% comment %}
<div class="hero-foot">
<nav aria-label="pagination">
<div class="container">
<p class="is-size-5">
<a aria-label="previous" style="float:left"><</a>
<a aria-label="next" style="float:right">></a>
</p>
</div>
</nav>
</div>
{% endcomment %}
</section>
36 changes: 36 additions & 0 deletions theme/_includes/hero/project.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<section class="hero is-primary border-gradient">
<div class="hero-body">
{% include hero/partials/breadcrumbs.html %}
<div class="container">
<div class="columns">
<div class="column">
<div class="content">
<h1 class="title pb-2">{{ page.title }}</h1>
{% if page.subtitle or page.tagline %}<p class="subtitle is-size-5">{{ page.subtitle | default: page.tagline | markdownify | remove: '<p>' | remove: '</p>' }}</p>{% endif %}
{% if page.tags %}
<p class="is-size-6 mt-3">
{% for tag in page.tags %}
<a href="{{ '/projects/tag/' | append: tag }}" class="mr-4 monospace border-bottom-hover">#{{ tag }}</a>
{% endfor %}
</p>
{% endif %}
</div>
</div>
<div class="column is-narrow">
<div class="content">
{% if page.link %}
<p class="has-text-weight-bold mb-0">Quick Links:</p>
<ul class="mt-0 mb-3 ml-0" style="list-style:inside;">
<li class="is-size-6 mt-0">
<a class="is-underlined has-text-weight-normal" href="{{ page.link | absolute_url }}" target="_blank">
Project Website
</a>
</li>
</ul>
{% endif %}
</div>
</div>
</div>
</div>
</div>
</section>
2 changes: 2 additions & 0 deletions theme/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
{% else %}
{% include hero/news.html %}
{% endif %}
{% elsif page.collection == 'projects' %}
{% include hero/project.html %}
{% else %}
{% include hero/default.html %}
{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion theme/_layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
{% assign contentsTitle = page.toc_title | default: 'Contents' %}
{% include toc.html html=content class='menu-list' h_min=2 h_max=3 contents_title=contentsTitle %}
{% endif %}
<div class="content">
<div class="content post-content">
{{ content }}
</div>
23 changes: 16 additions & 7 deletions theme/_layouts/project.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,22 @@
link: /projects
---
<div class="content">
<p class="project-info">
{% if page.category %}<b>Category: </b> {{ page.category }}<br>{% endif %}
{% if page.tags %}<b>Tags: </b> {% for t in page.tags %}<a href="{{ '/projects/tag'| absolute_url }}/{{ t | slugify }}">#{{ t }}</a>{% unless forloop.last %}, {% endunless %}{% endfor %}<br>{% endif %}
{% if page.cohort_year %}<b>Year Funded: </b> {{ page.cohort_year }}<br>{% endif %}
{% if page.link %}<b>Project Website: </b> <a href="{{ page.link | absolute_url }}">{{ page.link }}</a><br>{% endif %}
<p>
<p>{{ page.abstract }}</p>
{% if page.category == 'DH Seed Grant Recipient' %}
<b>
This project was funded through the {% if page.cohort_year %}{{ page.cohort_year }} {% endif %}<a href="/funding/seed-grants">NYU DH Seed Grant program</a>! We hope you'll <a href="/projects/seed-grants/">browse other projects</a> funded through this initiative.
</b>
<hr>
{% elsif page.category == 'Grad Fellowship Project' %}
<b>
This project was funded through the {% if page.cohort_year %}{{ page.cohort_year }} {% endif %}<a href="/funding/grad-fellowships">NYU DH Graduate Student Fellowship Program</a>! We hope you'll <a href="/projects/fellowships/">browse other projects</a> funded through this initiative.
</b>
<hr>
{% endif %}

<div class="post-content">
{{ page.abstract | markdownify }}
<hr>
</div>
</div>

{% assign people = '' | split: '' %}
Expand Down
11 changes: 11 additions & 0 deletions theme/_sass/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -251,3 +251,14 @@ figure.image {
font-size: 1rem;
}
}

.monospace {
font-family: monospace;
}

.border-bottom-hover {
border-bottom: 1px solid;
&:hover {
border-bottom: none;
}
}

0 comments on commit 8c4181e

Please sign in to comment.