Skip to content

Commit 4e422c3

Browse files
tomvannuenenclaude
andcommitted
Add Qualitative category and optimize homepage layout
- Add new "Qualitative" category for MaxQDA and Qualtrics workshops - Update workshops.yml to categorize MaxQDA and Qualtrics as qualitative - Create qualitative.html page for the new category - Add qualitative category card with icon (📝) to homepage - Reorder categories: Python, R, AI, Qualitative, Other - Reduce homepage banner size: - Decrease padding from py-5 to py-3 - Reduce logo height from 180px to 120px - Tighten spacing between elements - Reduce banner bottom margin - Update catalog page with Qualitative category button - Fix "Other" category description (Git to Github) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 6423627 commit 4e422c3

File tree

5 files changed

+74
-7
lines changed

5 files changed

+74
-7
lines changed

_data/workshops.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ workshops:
134134
datahub_url: https://datahub.berkeley.edu/hub/user-redirect/git-pull?repo=https%3A%2F%2Fgithub.com%2Fdlab-berkeley%2FPython-Deep-Learning&urlpath=tree%2FPython-Deep-Learning%2F
135135
binder_url: https://mybinder.org/v2/gh/dlab-berkeley/Python-Deep-Learning/main
136136
- title: MaxQDA Fundamentals
137-
category: other
137+
category: qualitative
138138
level: introductory
139139
github_url: https://github.com/dlab-berkeley/MAXQDA-Fundamentals
140140
description: This two-hour introductory workshop will teach you MaxQDA from scratch
@@ -192,7 +192,7 @@ workshops:
192192
prerequisites: []
193193
duration: 120 minutes
194194
- title: Qualtrics Fundamentals
195-
category: other
195+
category: qualitative
196196
level: intermediate
197197
github_url: https://github.com/dlab-berkeley/Qualtrics-Fundamentals
198198
description: Qualtrics is a powerful online tool available to Berkeley community

catalog.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ <h3>Workshop Categories</h3>
3535
<a href="python.html" class="btn btn-outline-dark">Python</a>
3636
<a href="R.html" class="btn btn-outline-dark">R</a>
3737
<a href="ai.html" class="btn btn-outline-dark">AI</a>
38+
<a href="qualitative.html" class="btn btn-outline-dark">Qualitative</a>
3839
<a href="other.html" class="btn btn-outline-dark">Other</a>
3940
</div>
4041
</div>

index.html

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
---
55

66
<div class="homepage-hero">
7-
<div class="container text-center py-5">
8-
<img src="static/images/logo-2023.png" alt="D-Lab Berkeley" class="mb-4 d-block mx-auto" style="height: 180px; width: auto;">
9-
<h2>Workshop Catalog</h2>
7+
<div class="container text-center py-3">
8+
<img src="static/images/logo-2023.png" alt="D-Lab Berkeley" class="mb-2 d-block mx-auto" style="height: 120px; width: auto;">
9+
<h2 class="mb-0">Workshop Catalog</h2>
1010
</div>
1111
</div>
1212

@@ -34,6 +34,7 @@ <h4 class="alert-heading">
3434
{% assign r_count = 0 %}
3535
{% assign ai_count = 0 %}
3636
{% assign other_count = 0 %}
37+
{% assign qualitative_count = 0 %}
3738

3839
{% for workshop in site.data.workshops.workshops %}
3940
{% if workshop.category == 'python' %}
@@ -79,6 +80,17 @@ <h4 class="alert-heading">
7980
{% endif %}
8081
{% endfor %}
8182
{% endif %}
83+
84+
{% if workshop.category == 'qualitative' %}
85+
{% assign qualitative_count = qualitative_count | plus: 1 %}
86+
{% elsif workshop.category contains 'qualitative' and workshop.category.size > 1 %}
87+
{% for cat in workshop.category %}
88+
{% if cat == 'qualitative' %}
89+
{% assign qualitative_count = qualitative_count | plus: 1 %}
90+
{% break %}
91+
{% endif %}
92+
{% endfor %}
93+
{% endif %}
8294
{% endfor %}
8395

8496
<div class="col-lg-3 col-md-6 col-sm-6 mb-3">
@@ -117,13 +129,25 @@ <h5 class="card-title text-dark">AI</h5>
117129
</div>
118130
</div>
119131

132+
<div class="col-lg-3 col-md-6 col-sm-6 mb-3">
133+
<div class="card h-100 text-center border-0 shadow-sm category-card">
134+
<div class="card-body d-flex flex-column">
135+
<div class="category-icon qualitative-icon"></div>
136+
<h5 class="card-title text-dark">Qualitative</h5>
137+
<p class="card-text">{{ qualitative_count }} total workshops</p>
138+
<p class="small text-muted flex-grow-1">MaxQDA, Qualtrics, and qualitative research tools</p>
139+
<a href="qualitative.html" class="btn btn-dark mt-auto">Explore Qualitative</a>
140+
</div>
141+
</div>
142+
</div>
143+
120144
<div class="col-lg-3 col-md-6 col-sm-6 mb-3">
121145
<div class="card h-100 text-center border-0 shadow-sm category-card">
122146
<div class="card-body d-flex flex-column">
123147
<div class="category-icon other-icon"></div>
124148
<h5 class="card-title text-dark">Other</h5>
125149
<p class="card-text">{{ other_count }} total workshops</p>
126-
<p class="small text-muted flex-grow-1">Git, SQL, Excel, and specialized tools</p>
150+
<p class="small text-muted flex-grow-1">Github, Excel, and specialized tools</p>
127151
<a href="other.html" class="btn btn-dark mt-auto">Explore Other</a>
128152
</div>
129153
</div>

qualitative.html

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
layout: default
3+
title: Qualitative Workshops
4+
permalink: /qualitative
5+
---
6+
7+
<div class="container mt-5 pt-5">
8+
<div class="row mb-3">
9+
<div class="col-12">
10+
<a href="index.html" class="btn btn-secondary">
11+
<i class="fas fa-arrow-left"></i> Back to Home
12+
</a>
13+
</div>
14+
</div>
15+
<div class="row">
16+
<div class="col-12">
17+
<h1 class="mb-4">Qualitative Workshops</h1>
18+
<p class="lead">Learn to use powerful qualitative research tools for data collection and analysis.</p>
19+
20+
<div class="mb-4">
21+
<span class="badge badge-success">Introductory</span>
22+
<span class="badge badge-warning">Intermediate</span>
23+
<span class="badge badge-danger">Advanced</span>
24+
</div>
25+
</div>
26+
</div>
27+
28+
{% include workshop-list-sorted.html category='qualitative' %}
29+
30+
<div class="row mt-4">
31+
<div class="col-12">
32+
<h2>Qualitative Research Tools</h2>
33+
<p>These workshops cover essential tools for qualitative research, including data collection with Qualtrics and qualitative data analysis with MaxQDA.</p>
34+
</div>
35+
</div>
36+
</div>

static/stylesheets/custom-home.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@
4848
display: block;
4949
}
5050

51+
/* Qualitative icon */
52+
.qualitative-icon::before {
53+
content: "\1F4DD";
54+
display: block;
55+
}
56+
5157
/* Alternative: Use Berkeley colors */
5258
.berkeley-blue {
5359
color: #003262;
@@ -60,7 +66,7 @@
6066
/* Homepage hero section */
6167
.homepage-hero {
6268
background-color: #f8f9fa;
63-
margin-bottom: 2rem;
69+
margin-bottom: 1rem;
6470
margin-top: 80px; /* Push banner below fixed navbar */
6571
overflow: hidden;
6672
}

0 commit comments

Comments
 (0)