Skip to content
Merged
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
6 changes: 6 additions & 0 deletions _layouts/event.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,17 @@
<div class="header-card">
<div class="fixed-width">
<h1>{{ page.title }}</h1>
<a title="Add to calendar" class="header-link-icon" href="webcal://{{ '/events.ics' | absolute_url | remove_first: 'https://' | remove_first: 'http://' }}"><i class="fa-solid fa-calendar"></i></a>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Observation: this adds the whole calendar feed to the person's calendar.

Just checking that's intentional?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

It was. Doing single events might be possible, but chances are if someone is interested in one of our events, they're likely interested in all of them. This way they get the entire subscription.

That said, I might try and pick up #486 again to replace it, in which case this part can be dropped.

</div>
</div>
<div class="main">
<div class="fixed-width">
<div class="column l-4-12">
<div class="card thin-card">
<ul class="detail-list">
<li><i class="fa-solid fa-arrow-left" aria-hidden="true"></i> <a href="{{ '/events' | prepend: site.baseurl }}">View all events</a></li>
</ul>
</div>
<div class="card thin-card">
<ul class="detail-list">
<li class="event-date">
Expand Down
11 changes: 11 additions & 0 deletions _sass/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,17 @@
font-family: $hero-font-family;
color: $sr-white;
margin-bottom: 0;
margin-right: auto;
}

.fixed-width {
display: flex;
align-items: center;
}

a.header-link-icon {
font-size: $beta;
color: $sr-white;
}
}

Expand Down
1 change: 1 addition & 0 deletions events.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<div class="header-card">
<div class="fixed-width">
<h1>Events</h1>
<a title="Add to calendar" class="header-link-icon" href="webcal://{{ '/events.ics' | absolute_url | remove_first: 'https://' | remove_first: 'http://' }}"><i class="fa-solid fa-calendar"></i></a>
</div>
</div>
<div class="main">
Expand Down
10 changes: 8 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,6 @@ <h1><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h1>
</div>
</div>
{% endfor %}
<a class="button button-expand" href="{{ '/blog' | prepend: site.baseurl }}">View more posts</a>
</div>
<div class="column m-4-12">
<h2>Upcoming events</h2>
Expand Down Expand Up @@ -270,10 +269,17 @@ <h2>Upcoming events</h2>
<p>
There are no upcoming events.
<br>
<a class="event-details" href="{{ '/events' | prepend: site.baseurl }}">View previous</a>
</p>
{% endif %}
</div>
</div>
<div class="row">
<div class="column m-8-12">
<a class="button button-expand" href="{{ '/blog' | prepend: site.baseurl }}">View more posts</a>
</div>
<div class="column m-4-12">
<a class="button button-expand" href="{{ '/events' | prepend: site.baseurl }}">View previous events</a>
</div>
</div>
</div>
</div>