Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
lmrhody committed May 7, 2024
2 parents 2e05597 + b02f6b2 commit 96f8698
Show file tree
Hide file tree
Showing 55 changed files with 885 additions and 213 deletions.
40 changes: 24 additions & 16 deletions _data/actions.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,39 @@
[
{
"title": "Learn",
"description": "with our core curriculum",
"icon": "dandelion",
"title": "Begin Learning",
"description": "The DHRIFT platform provides open-source, interactive learning for humanists. Each workshop includes code editors, challenges, and quizzes, all right in the browser.",
"icon": "school-solid",
"alt": "DHRIFT's logo, a dandelion.",
"link": "https://app.dhrift.org/workshops/?user=dhri-curriculum&repo=dhrift-site-template&wUser=dhri-curriculum&wGitRepo=workshops"
"link": "https://app.dhrift.org/workshops/?instUser=dhri-curriculum&instRepo=dhrift-site-template&user=dhri-curriculum&repo=workshops",
"image": "images/learn_with.png",
"message": "Learn with DHRIFT"
},
{
"title": "Teach",
"description": "with our open-source materials",
"icon": "dandelion",
"title": "Begin Teaching",
"description": "DHRIFT Core presents a vetted core set of interactive curriculum that is built for both synchronous and asynchronous instruction.",
"icon": "chalkboard-user",
"alt": "DHRIFT's logo, a dandelion.",
"link": "/teach"
"link": "/teach",
"image": "images/teach.jpg",
"message": "Teach with DHRIFT"
},
{
"title": "Create",
"description": "your own workshops",
"icon": "dandelion",
"title": "Begin Creating",
"description": "DHRIFT is designed for extensibility, allowing you to easily create your own workshops and share them with the community.",
"icon": "creative-icon",
"alt": "DHRIFT's logo, a dandelion.",
"link":"/create"
"link":"/create",
"image": "images/create.jpg",
"message": "Create with DHRIFT"
},
{
"title": "Build",
"description": "your own institute",
"icon": "dandelion",
"title": "Begin Growing",
"description": "Build and host an institute on DHRIFT, with your own branding, your own choice of workshops, and a convenient scheduling component.",
"icon": "building",
"alt": "DHRIFT's logo, a dandelion.",
"link":"/build"
"link":"/grow",
"image": "images/build.jpg",
"message": "Grow with DHRIFT"
}
]

2 changes: 1 addition & 1 deletion _data/features.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
{
"title": "Humanities Values",
"description": "DHRIFT is created by humanists, for humanists. We value inclusivity and openness in the design of our curriculum and platform.",
"description": "DHRIFT is created by humanists, for humanists. We value inclusivity and openness in the design of our curriculum and platform",
"icon": "dandelion",
"alt": "DHRIFT's logo, a dandelion."
}
Expand Down
24 changes: 24 additions & 0 deletions _data/gallery.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[
{
"title": "Digital Humanities Research Institute",
"description": "DHRI Institute 2024. This is a description of the institute.",
"image": "/images/dhri.png",
"link": "https://app.dhrift.org/inst/?instUser=GC-DRI&instRepo=GCDRI24Schedule"
},

{
"title": "Digital Humanities Research Institute",
"description": "DHRI Institute 2024. This is a description of the institute.",
"image": "/images/dhri.png",
"link": "https://app.dhrift.org/inst/?instUser=GC-DRI&instRepo=GCDRI24Schedule"
},

{
"title": "Digital Humanities Research Institute",
"description": "DHRI Institute 2024. This is a description of the institute.",
"image": "/images/dhri.png",
"link": "https://app.dhrift.org/inst/?instUser=GC-DRI&instRepo=GCDRI24Schedule"
}

]

3 changes: 3 additions & 0 deletions _data/menus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ main:
- name: "Contact"
url: "/contact/"
weight: 4
- name: "Gallery"
url: "/gallery/"
weight: 5

footer:
- name: "Contact"
Expand Down
2 changes: 1 addition & 1 deletion _includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="footer">
<div class="container">
<div class="container-fluid">
<div class="footer-inner">
<div class="logo">
<a href="https://dhrift.org"><img width="{{ site.logo.desktop_width }}" height="{{ site.logo.desktop_height }}" alt="{{ site.title }}" src="{{ site.logo.light | absolute_url }}" /></a>
Expand Down
3 changes: 2 additions & 1 deletion _includes/hamburger.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
<span class="hamburger-box">
<span class="hamburger-inner"></span>
</span>
</button>
</button>

18 changes: 15 additions & 3 deletions _includes/header-home.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<div class="header-home">
<div class = "background-color"></div>
<div class="container-fluid">
<div class="top-row">
<div class="logo">
Expand All @@ -11,11 +12,22 @@
</div>
</div>
<div class="intro-container">
<span id="intro-text">A curriculum and <br>infrastructure for <br>technical teaching in<br> the humanities</span>
<div class = "button-container">
<p><a href="/learn-more" class="dark-button">Learn More</a></p>
<span id="intro-text">Join the growing community of <br />scholars and practitioners using DHRIFT<br /> to learn, teach, and grow their <br /> humanities scholarship through digital skills.</span>
<div class="button-container">
<p><a href="/learn-more" class="dark-button">Learn More</a></p>
</div>
<div class ="image-wrapper">
<div class="intro-image-container">
<img src="/images/dhrift-python-example.png" alt="DHRIFT platform screenshot">
</div>
</div>
</div>
</div>








8 changes: 7 additions & 1 deletion _includes/logo-banner.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
<div class="banner">
<div class="container">
<div class="container-fluid">
<div class="banner-container">
<a href = "https://gcdi.commons.gc.cuny.edu" target ="_blank">
<img src="/images/logo/gcdi.png" alt="GCDI logo" class="partner">
</a>
<a href = "https://www.neh.gov/" target ="_blank">
<img src="/images/logo/NEH.png" alt="NEH logo" class="partner">
</a>
<a href = "https://www.gc.cuny.edu/" target ="_blank">
<img src="/images/logo/GC.svg" alt="GC logo" class="partner">
</a>
</div>
</div>
</div>
13 changes: 8 additions & 5 deletions _includes/sub-footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,17 @@
<div class="row">
<div class="col-12">
<div class="sub-footer-inner">
{% if site.data.social %}
{% include social.html %}
{% endif %}
<div class="logo-container">
{% if site.data.social %}
{% include social.html %}
{% endif %}
</div>
{% if site.data.seo.copyright_text %}
<div class="copyright">{{ site.data.seo.copyright_text }}</div>
<div class="copyright">{{ site.data.seo.copyright_text }}</div>
{% endif %}
</div>
</div>
</div>
</div>
</div>
</div>

3 changes: 1 addition & 2 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="utf-8">
<title>{% if page.title %}{{page.title}}{% else %}{{ site.title | escape }}{% endif %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/png" href="{{ '/images/favicon-32x32.svg' | relative_url }}">
<link rel="icon" type="image/png" href="{{ '/images/dandelion.png' | relative_url }}">
<!-- Google Fonts CDN -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
Expand All @@ -31,7 +31,6 @@
<meta name="twitter:card" content="summary"/>
{% if site.data.seo.meta_twitter_site %}<meta name="twitter:site" content="{{ site.seo.meta_twitter_site }}"/>{% endif %}
{% if site.data.seo.meta_twitter_creator %}<meta name="twitter:creator" content="{{ site.seo.meta_twitter_creator }}"/>{% endif %}

</head>

<body class='page {{layout.bodyClass}}'>
Expand Down
5 changes: 4 additions & 1 deletion _layouts/faq.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<h2 class="service-title faq-title" data-toggle="collapse" data-target="#faq-{{ forloop.index }}">
{{ faq.title }}
</h2>
<p class="description">{{ faq.description }}</p>
<p class="faq-description">{{ faq.description }}</p>
</div>
<div class="col-2 text-right">
<i id="icon-{{ forloop.index }}" class="fa fa-angle-down fa-3x rotate-icon" aria-hidden="true" style="color: #D8AC6C; transition: transform 0.3s ease-in-out; cursor: pointer;"></i>
Expand Down Expand Up @@ -68,6 +68,9 @@ <h2 class="service-title faq-title" data-toggle="collapse" data-target="#faq-{{
}
}
});



</script>


Expand Down
24 changes: 24 additions & 0 deletions _layouts/gallery.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
layout: default
id: "gallery-page"
---

<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<h1 class="gallery-head">Explore a Showcase of Institutes Created with DHRIFT</h1>
<div class="card-deck">
{% for data in site.data.gallery %}
<div class="card">
<img src="{{ data.image }}" class="card-img-top" alt="{{ data.title }}" style="max-width: 100%; height: auto;">
<div class="card-body">
<h5 class="card-title">{{ data.title }}</h5>
<p class="card-text">{{ data.description }}</p>
<a href="{{ data.link }}" class="visit-button">Visit Institute</a>
</div>
</div>
{% endfor %}
</div>
</div>
</div>
</div>
Loading

0 comments on commit 96f8698

Please sign in to comment.