event template update

* change event header layout
* add cfp to header

Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
remotes/1691128968110617338/master
Toshaan Bharvani 2 years ago
parent fd5efa2d3a
commit ca3fb18fdc

@ -57,6 +57,24 @@
}
}

.event {
.section-header {
margin-top: 3.75rem;
margin-bottom: 1.25rem;
border-bottom: 2px solid #1b1c1f;
}
h1 {
font-size: 3.75rem;
text-decoration: underline;
}
h2 {
font-size: 1.75rem;
}
h3 {
font-size: 3.25rem;
}
}

.join {
.membership-data {
table {

@ -1,22 +1,25 @@
{{ partial "header.html" . }}
{{ partial "navbar.html" . }}
<main id="main">
<div class="container-fluid">
<div class="section-header">
<div class="col-lg-12 content wow text-center">
<main id="main" class="main event">
<div class="container">
<div class="row">
<div class="section-header col-lg-12 content text-center">
<h1 class="section-title">{{ .Title }}</h1>
<h3 class="section-description">
<h2 class="section-description">
{{ $eventdates := .Param "eventdates" }}
{{ if $eventdates.till }}
From {{ (time $eventdates.from).Format "Monday, January 2, 2006" }} till {{ (time $eventdates.till).Format "Monday, January 2, 2006" }}
{{ else }}
{{ (time $eventdates.from).Format "Monday, January 2, 2006" }}
{{ end }}</h2>
<h2>{{ .Param "eventplace" }}</h2>
{{ if .Param "callforpresentation" }}
<h3><a href="{{ .Param "callforpresentation" }}">&nbsp;<i class="fa-solid fa-person-chalkboard"></i>&nbsp;Call-for-Presentation</a></h3>
{{ end }}
&nbsp;@&nbsp;{{ .Param "eventplace" }}</h3>
</div>
</div>
<div class="row">
<div class="col-lg-12 content wow fadeInBottom">{{ .Content }}</div>
<div class="col-lg-12 content">{{ .Content }}</div>
</div>
</section>
</main>

Loading…
Cancel
Save