Skip to content

Commit 6423627

Browse files
tomvannuenenclaude
andcommitted
Update UI elements across the site
- Change navbar logo to link to https://dlab.berkeley.edu/ - Update "Subscribe to Updates" button to "Join D-Lab's Mailing List" with direct MailChimp link - Remove Instructor column from Available Now page table - Change workshop category cards from "X workshops available" to "X total workshops" for clarity 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 6bb3448 commit 6423627

File tree

3 files changed

+7
-13
lines changed

3 files changed

+7
-13
lines changed

_includes/navbar.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@
22
<nav class="navbar navbar-expand-lg navbar-light bg-light fixed-top borderless">
33
<a
44
class="navbar-brand"
5-
{% if page.layout == "index" %}
6-
href="#"
7-
{% else %}
8-
href="../"
9-
{% endif %}>
5+
href="https://dlab.berkeley.edu/">
106
D-Lab Workshops
117
</a>
128
<button class="navbar-toggler borderless" type="button" data-toggle="collapse" data-target="#navbarColor01" aria-controls="navbarColor01" aria-expanded="false" aria-label="Toggle navigation">

available-now.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ <h3>Upcoming Session Schedule</h3>
6565
<tr>
6666
<th>Workshop</th>
6767
<th>Date & Time</th>
68-
<th>Instructor</th>
6968
<th>Location</th>
7069
<th>Action</th>
7170
</tr>
@@ -78,7 +77,6 @@ <h3>Upcoming Session Schedule</h3>
7877
{{ session.datetime_iso | date: "%B %d, %Y" }}<br>
7978
<small class="text-muted">{{ session.datetime_iso | date: "%I:%M %p" }}</small>
8079
</td>
81-
<td>{{ session.instructor | default: "TBA" }}</td>
8280
<td>{{ session.location | default: "Online" }}</td>
8381
<td>
8482
{% if session.registration_url %}
@@ -114,8 +112,8 @@ <h4><i class="fas fa-info-circle"></i> No Workshops Currently Scheduled</h4>
114112
<div class="card-body">
115113
<h5 class="card-title">Stay Updated</h5>
116114
<p class="card-text">Want to be notified when new workshop sessions are scheduled?</p>
117-
<a href="https://dlab.berkeley.edu/subscribe" class="btn btn-primary" target="_blank">
118-
<i class="fas fa-envelope"></i> Subscribe to Updates
115+
<a href="https://berkeley.us10.list-manage.com/subscribe?u=c23010ce537461167ececbcd3&id=422486ff04" class="btn btn-primary" target="_blank">
116+
<i class="fas fa-envelope"></i> Join D-Lab's Mailing List
119117
</a>
120118
</div>
121119
</div>

index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ <h4 class="alert-heading">
8686
<div class="card-body d-flex flex-column">
8787
<div class="category-icon python-icon"></div>
8888
<h5 class="card-title text-dark">Python</h5>
89-
<p class="card-text">{{ python_count }} workshops available</p>
89+
<p class="card-text">{{ python_count }} total workshops</p>
9090
<p class="small text-muted flex-grow-1">Data science, machine learning, and web development</p>
9191
<a href="python.html" class="btn btn-dark mt-auto">Explore Python</a>
9292
</div>
@@ -98,7 +98,7 @@ <h5 class="card-title text-dark">Python</h5>
9898
<div class="card-body d-flex flex-column">
9999
<div class="category-icon r-icon"></div>
100100
<h5 class="card-title text-dark">R</h5>
101-
<p class="card-text">{{ r_count }} workshops available</p>
101+
<p class="card-text">{{ r_count }} total workshops</p>
102102
<p class="small text-muted flex-grow-1">Statistical analysis and data visualization</p>
103103
<a href="R.html" class="btn btn-dark mt-auto">Explore R</a>
104104
</div>
@@ -110,7 +110,7 @@ <h5 class="card-title text-dark">R</h5>
110110
<div class="card-body d-flex flex-column">
111111
<div class="category-icon ai-icon"></div>
112112
<h5 class="card-title text-dark">AI</h5>
113-
<p class="card-text">{{ ai_count }} workshops available</p>
113+
<p class="card-text">{{ ai_count }} total workshops</p>
114114
<p class="small text-muted flex-grow-1">Working with AI tools and large language models</p>
115115
<a href="ai.html" class="btn btn-dark mt-auto">Explore AI</a>
116116
</div>
@@ -122,7 +122,7 @@ <h5 class="card-title text-dark">AI</h5>
122122
<div class="card-body d-flex flex-column">
123123
<div class="category-icon other-icon"></div>
124124
<h5 class="card-title text-dark">Other</h5>
125-
<p class="card-text">{{ other_count }} workshops available</p>
125+
<p class="card-text">{{ other_count }} total workshops</p>
126126
<p class="small text-muted flex-grow-1">Git, SQL, Excel, and specialized tools</p>
127127
<a href="other.html" class="btn btn-dark mt-auto">Explore Other</a>
128128
</div>

0 commit comments

Comments
 (0)