Skip to content

Commit 1f86a9c

Browse files
authored
Merge pull request #125 from purna135/add_max_event
Add max event
2 parents 718876d + c263b4d commit 1f86a9c

File tree

6 files changed

+40
-1
lines changed

6 files changed

+40
-1
lines changed

data/events.toml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
video3SocialLink = "https://youtu.be/eIu4mJAYG58"
115115
eventOrder = 5
116116
eventType = "past"
117-
featured = true
117+
featured = false
118118

119119
[[event]]
120120
dataTime = "May 24th 2023"
@@ -157,3 +157,25 @@
157157
eventOrder = 7
158158
eventType = "past"
159159
featured = true
160+
161+
[[event]]
162+
dataTime = "July 17th 2023"
163+
title = "A Soccer-Factor-Model"
164+
subtitle = "To Decipher a Soccer-Player's Inherent Skill"
165+
place = "Online"
166+
description = "Inspired by the asset-pricing literature, the Soccer-Factor-Model (SFM) is an attempt to determine a soccer player's `alpha`, i.e. his/her inherent skill. In this application, `skill` is defined as a player's probability to score a goal after accounting for factors that are actually to be attributed to his team's out- or under-performance vis-à-vis the opponent.<br><br> In that way, the SFM answers the question, of whether a player's observed goals are an over- or understatement of his `true` skill."
167+
bannerImgPath = "/images/events/pymcon_max.png"
168+
speakerName = "Maximilian Goebel"
169+
speakerImgPath = "/images/speakers/Maximilian.jpg"
170+
speakerSocialLink = "https://www.maximiliangoebel.com"
171+
readMoreURL = "https://discourse.pymc.io/t/12453"
172+
meetupLink = "https://www.meetup.com/pymc-online-meetup/events/294637955"
173+
video1Name = "Interview video"
174+
video1SocialLink = "https://youtu.be/IkVoZUfCkt4"
175+
video2Name = "Async Talk"
176+
video2SocialLink = ""
177+
video3Name = "Live Talk"
178+
video3SocialLink = ""
179+
eventOrder = 8
180+
eventType = "upcoming"
181+
featured = true

layouts/_default/events.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,12 @@ <h3>{{ $event.title | markdownify | emojify }}</h3>
7070
<em>{{ $event.speakerName | markdownify | emojify }}</em>
7171
{{ with $event.speakerSocialLink }} </a> {{ end }}
7272
</div>
73+
74+
{{ if eq $event.eventType "upcoming"}}
75+
{{ with $event.meetupLink }}
76+
<a href="{{ $event.meetupLink }}" target="_blank" class="btn event__btn"> Register Now </a>
77+
{{ end }}
78+
{{ end }}
7379

7480
{{ with $event.video1SocialLink }}
7581
<a href="{{ $event.video1SocialLink }}" target="_blank" class="btn event__btn"> {{ $event.video1Name }} </a>

layouts/index.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ <h2>PyMCon Events</h2>
7676
<div class="event__wrapper">
7777
<h4>{{ $event.dataTime | markdownify | emojify }}</h4>
7878
<h3>{{ $event.title | markdownify | emojify }}</h3>
79+
<em>{{ $event.subtitle | markdownify | emojify }}</em><br>
7980
<span>
8081
<i class="uil uil-map-marker"></i>{{ $event.place | markdownify | emojify }}
8182
</span>
@@ -102,6 +103,12 @@ <h3>{{ $event.title | markdownify | emojify }}</h3>
102103
{{ with $event.speakerSocialLink }} </a> {{ end }}
103104
</div>
104105

106+
{{ if eq $event.eventType "upcoming"}}
107+
{{ with $event.meetupLink }}
108+
<a href="{{ $event.meetupLink }}" target="_blank" class="btn event__btn"> Register Now </a>
109+
{{ end }}
110+
{{ end }}
111+
105112
{{ with $event.video1SocialLink }}
106113
<a href="{{ $event.video1SocialLink }}" target="_blank" class="btn event__btn"> Interview Video </a>
107114
{{ end }}

static/css/home.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,10 @@
257257
border-radius: 5px;
258258
}
259259

260+
.event__header em {
261+
font-size: 0.8rem;
262+
}
263+
260264
.event__card__bottom {
261265
display: flex;
262266
gap: 0.4rem;
3.22 MB
Loading
73 KB
Loading

0 commit comments

Comments
 (0)