Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
117 changes: 117 additions & 0 deletions events/individual_event.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
---
format:
html:
table-of-contents: false
css: styles.css
page-layout: full
categories: ["Workshop", "Professional Instruction"]

# Event Information
event:
title: "Software Carpentry - R flavored - Philologicum"
date: "July 15, 2025"
time: "14:00 - 17:00 CET"
location:
name: "Philologicum room (Veranstaltungsraum)"
address: "Ludwigstraße 25, 80539 Munich"
map_url: "https://www.google.com/maps/place/Ludwigstraße+25,+80539+München,+Germany"
format:
type: "Hybrid Event"
detail: "In-person & Online"
language:
primary: "English"
detail: "(German Transcript)"

# Registration and Materials
links:
registration: "https://www.pretix.osc.lmu.de/lmu-osc/swc-20250324-Hum/"
materials: "https://www.pretix.osc.lmu.de/lmu-osc/swc-20250324-Hum/"
workshop_website: "https://lmu-osc.github.io/2025-03-24-LMU-Humanities/"

# Event Description
event_description: "In this Software Carpentry Workshop you will learn the **Unix Shell**, **Git** and **R**. This example-driven **two-day workshop** will teach core computing skills that will help you be more productive and effective. We'll alternate short tutorials with hands-on practical exercises. Participants are encouraged to help one another and to apply what they are learning to their own research problems during the workshop."
Copy link
Preview

Copilot AI Aug 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The word 'tempalte' in the PR description should be 'template', but this appears to be in the PR metadata rather than the code itself.

Copilot uses AI. Check for mistakes.


# Add more instructors in the same format if needed. Will need to add a new line in the html below as well
instructors:
- name: "Laura Meier"
url: "https://www.osc.uni-muenchen.de/members/individual_members/fellows/meier/index.html"
- name: "Maximilian Frank"
url: "https://www.osc.uni-muenchen.de/members/individual_members/fellows/frank/index.html"
- name: "Florian Kohrt"
url: "https://www.osc.uni-muenchen.de/members/individual_members/fellows/kohrt/index.html"


# Helpers
helpers: "Pat Callahan, Sarah von Grebmer zu Wolfsthurn"

# Contact Information
contact:
name: "Mahlika Ihle"
email: "[email protected]"
---

<link rel = "stylesheet" href = "https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">

```{=html}
<div class="event-heading"> {{< meta event.title >}} </div>
<div class = "event-detail">
<div class="meta-item">
<i class="bi bi-calendar-event"></i>
<div class="meta-label">Date & Time</div>
<div class="meta-value">{{< meta event.date >}}<br>{{< meta event.time >}}</div>
</div>
<div class="meta-item">
<i class="bi bi-geo-alt"></i>
<div class="meta-label"> Location</div>
<div class="location-text">
<a href="{{< meta event.location.map_url >}}" target="_blank" style="text-decoration: none; color: inherit;">
<div class="meta-value">{{< meta event.location.name >}}<br>{{< meta event.location.address >}}</div>
</a>
</div>
</div>
<div class="meta-item">
<i class="bi bi-laptop"></i>
<div class="meta-label">Format</div>
<div class="meta-value">{{< meta event.format.type >}}<br>{{< meta event.format.detail >}}</div>
</div>
<div class="meta-item">
<i class="bi bi-translate"></i>
<div class="meta-label">Language</div>
<div class="meta-value">{{< meta event.language.primary >}}<br>{{< meta event.language.detail >}}</div>
</div>
</div>
<div class = "register-box">
<div class = "register-button">
<a href="{{< meta links.registration >}}" target = "_blank"><i class="bi bi-box-arrow-up-left"></i> Register </a>
</div>
<div class = "materials-button">
<a href="{{< meta links.materials >}}" target = "_blank"><i class="bi bi-download"></i> Materials </a>
</div>
</div>

<div class="event_description">
<h4>Overview</h4>
<p>{{< meta event_description >}}</p>
<p>See the <a href="{{< meta links.workshop_website >}}" target="_blank">workshop website</a> for more details.</p>
</div>

<div class="instructors">
<h4>Instructors</h4>
<ul>
<li><a href="{{< meta instructors.1.url >}}" target="_blank">{{< meta instructors.1.name >}}</a></li>
<li><a href="{{< meta instructors.2.url >}}" target="_blank">{{< meta instructors.2.name >}}</a></li>
<li><a href="{{< meta instructors.3.url >}}" target="_blank">{{< meta instructors.3.name >}}</a></li>

Comment on lines +101 to +104
Copy link
Preview

Copilot AI Aug 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The instructor list uses hardcoded array indices (1, 2, 3). This creates a maintenance issue when the number of instructors changes, as both the YAML metadata and HTML template must be manually synchronized. Consider using a loop or dynamic rendering approach.

Suggested change
<li><a href="{{< meta instructors.1.url >}}" target="_blank">{{< meta instructors.1.name >}}</a></li>
<li><a href="{{< meta instructors.2.url >}}" target="_blank">{{< meta instructors.2.name >}}</a></li>
<li><a href="{{< meta instructors.3.url >}}" target="_blank">{{< meta instructors.3.name >}}</a></li>
{{% for instructor in instructors %}}
<li><a href="{{ instructor.url }}" target="_blank">{{ instructor.name }}</a></li>
{{% endfor %}}

Copilot uses AI. Check for mistakes.

</ul>
</div>

<div class="helpers">
<h4>Helpers</h4>
<p>{{< meta helpers >}}</p>
</div>

<div class="contact_name">
<h4>Questions?</h4>
<p>If you have any questions, please contact <span class="instructor-links"><a href="mailto:{{< meta contact.email >}}">{{< meta contact.name >}}</a></span>.</p>
</div>
```
158 changes: 158 additions & 0 deletions events/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
/* css styles */
*{
font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}


.event-heading{
font-size: 2.5rem;
font-weight: 700;
color: #2b864b;
margin: 1em 0 0.5em;
position: relative;
text-align: center;
line-height: 1.2;
padding-bottom: 0.5em;
}

.event-detail{
display: flex;
flex-direction: row;
width: 100%;
padding: 0.5em;
gap: 10px;
}

.meta-item {
background: white;
flex: 1;
padding: 20px;
border-radius: 12px;
backdrop-filter: blur(10px);
border: 2px solid #028c3e;
transition: all 0.3s ease;
cursor: pointer;
}

.meta-item:hover {
background: rgba(21, 130, 68, 0.1);
transform: translateY(-5px);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
border: 2px solid #09b54e;
}

.meta-label {
font-weight: 600;
margin-bottom: 5px;
font-size: 0.9em;
text-transform: uppercase;
letter-spacing: 1px;
opacity: 1;
}

.meta-value {
font-size: 1.1em;
font-weight: 400;
}

.event-item {
display: flex;
align-items: center;
gap: 0.8em;
margin: 0.3em 0;
}

.event-item i {
font-size: 1.2em;
}

.event-item span{
padding-left: 8px;
font-weight: 400;
}
.event-item p {
margin: 0;
font-weight: 400;
}

.event-item .bi{
font-size: larger;
}

a{
color: #006633;
text-decoration: none;
}


.location-text:hover {
transform: scale(1.02);
color: #06793f;;
Copy link
Preview

Copilot AI Aug 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is an extra semicolon at the end of the color property. Remove one semicolon to fix the syntax error.

Suggested change
color: #06793f;;
color: #06793f;

Copilot uses AI. Check for mistakes.

transition: transform 0.2s ease, color 0.2s ease;
}


.register-box {
display: inline-block;
width: 100%;
text-align: center;
}

.register-button {
display: inline-block;
padding: 0.75rem 1.5rem;
font-size: 1.25rem;
min-width: 160px;
text-align: center;
background-color: #028c3e;
border-radius: 8px;
font-weight: 600;
margin: 0.7em auto 0;
transition: transform 0.3s ease, background-color 0.3s;
}

.register-button a {
display: block;
color: white;
text-decoration: none;
line-height: 1;
}

.register-button:hover {
background-color: #045f32;
transform: scale(1.03);
transition: transform 0.3s ease, background-color 0.3s;
}

.materials-button {
display: inline-block;
padding: 0.75rem 1.5rem;
font-size: 1.25rem;
min-width: 160px;
text-align: center;
background-color: #02658c;
border-radius: 8px;
font-weight: 600;
margin: 0.7em auto 0;
transition: transform 0.3s ease, background-color 0.3s;
}

.materials-button a {
display: block;
color: white;
text-decoration: none;
line-height: 1;
}

.materials-button:hover {
background-color: #025575;
transform: scale(1.03);
transition: transform 0.3s ease, background-color 0.3s;
}


.instructor-links a:hover {
color: #0077cc;
text-decoration: underline;
transition: color 0.2s ease;
}