-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
96f8698
commit e2fcf8f
Showing
5 changed files
with
171 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[ | ||
{ | ||
"title": "DH 2024", | ||
"date": "2024-07-22", | ||
"description": "DHRIFT will present at the AHDO Digital Humanities Conference.", | ||
"image": "/images/dhri.png", | ||
"link": "https://app.dhrift.org/inst/?instUser=GC-DRI&instRepo=GCDRI24Schedule", | ||
"text": "DHRIFT, an OER tool for publishing, reproducing, and revising interactive DH technical | ||
skill workshops, includes modules on topics like Python, JavaScript, and R. In this | ||
workshop, attendees will learn about DHRIFT's pedagogy and underlying technologies. | ||
Participants will create a customized, static workshop site and build new workshops | ||
with DHRIFT." | ||
}, | ||
{ | ||
"title": "DHRIFT is awarded an NEH Digital Humanities Advancement Grant", | ||
"date": "2023-07-22", | ||
"description": "DHRIFT gains funding to continue its development.", | ||
"image": "/images/dhri.png", | ||
"link": "https://app.dhrift.org/inst/?instUser=GC-DRI&instRepo=GCDRI23Schedule", | ||
"text": "DHRIFT was awarded an NEH Digital Humanities Advancement Grant to support the ongoing development | ||
of the project. The grant will fund the development of new features, including new workshops and content." | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
--- | ||
layout: default | ||
bodyClass: page-basic | ||
--- | ||
|
||
<div class="container"> | ||
<div class="row justify-content-center"> | ||
<div class="col-md-9"> | ||
<h1 class="news-head">Stay up to date with the latest news about the DHRIFT project.</h1> | ||
{% for data in site.data.news %} | ||
<div class="news-container"> | ||
<div class="news-date"> | ||
<h6 class="card-subtitle mb-2 text-muted">{{ data.date }}</h6> | ||
</div> | ||
<div class="news-content"> | ||
<div class="card-body"> | ||
<div class="news-details"> | ||
<h5 class="card-title">{{ data.title }}</h5> | ||
<p class="card-text">{{ data.description }}</p> | ||
</div> | ||
<div class="news-image-container"> | ||
<div class="image-wrapper"> | ||
<img src="{{ data.image }}" class="news-image img-fluid" alt="{{ data.title }}"> | ||
</div> | ||
<div class="additional-text" style="display: none;"> | ||
<p>{{ data.text }}</p> | ||
</div> | ||
<a href="#" class="read-more">Learn more</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
{% endfor %} | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<script> | ||
document.addEventListener("DOMContentLoaded", function() { | ||
const readMoreLinks = document.querySelectorAll(".read-more"); | ||
|
||
readMoreLinks.forEach(function(link) { | ||
link.addEventListener("click", function(event) { | ||
event.preventDefault(); | ||
const additionalText = this.parentElement.querySelector(".additional-text"); | ||
if (additionalText.style.display === "none" || additionalText.style.display === "") { | ||
additionalText.style.display = "block"; | ||
this.textContent = "Read less"; | ||
} else { | ||
additionalText.style.display = "none"; | ||
this.textContent = "Learn more"; | ||
} | ||
}); | ||
}); | ||
}); | ||
</script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
title: News | ||
layout: news | ||
description: News | ||
--- |