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
4 changes: 4 additions & 0 deletions _data/links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,22 @@
- text: Get membership!
url: /join
image: /assets/images/guild-colour-logo.png
analytics_event: links_get_membership

- text: Join our Discord community
url: /discord
image: /assets/images/discord-logo.png
analytics_event: links_join_discord

- text: Join our WhatsApp group
url: https://chat.whatsapp.com/HA2wW0rxk9lH7DmNDXrsBB
image: /assets/images/whatsapp-logo.png
analytics_event: links_join_whatsapp

- text: Follow us on Instagram
url: /instagram
image: /assets/images/instagram-logo.png
analytics_event: links_follow_instagram

- text: Read Missing Semester lecture notes
url: https://missingsemester.afnom.net/
Expand Down
3 changes: 3 additions & 0 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
<footer>
<p>© CSS website contributors {{ 'now' | date: "%Y" }}</p>
<!-- Simple Analytics - 100% privacy-first analytics -->
<script async src="https://scripts.simpleanalyticscdn.com/latest.js"></script>
<script async src="https://scripts.simpleanalyticscdn.com/inline-events.js"></script>
</footer>
5 changes: 3 additions & 2 deletions links.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
{% if link.type == "divider" %}
<h4 style="padding-bottom: 10px;">{{ link.text }}</h4>
{% else %}
<a class=" wide-child post-preview fadein" style="--child-index: {{ forloop.index }};" href="{{ link.url }}">
<a class="wide-child post-preview fadein" style="--child-index: {{ forloop.index }};" href="{{ link.url }}"
{% if link.analytics_event %}data-simple-event="{{ link.analytics_event }}"{% endif %}>
{% if link.image %}
<div class="post-thumbnail-container">
<img alt="{{ link.text }}" src="{{ link.image | relative_url }}">
Expand All @@ -31,4 +32,4 @@ <h2 class="post-title">{{ link.text }}</h2>

{% endfor %}
</div>
</div>
</div>
2 changes: 1 addition & 1 deletion membership.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ server, the Guild website can occasionally be a little temperamental!
Interested in seeing our historical membership statistics and some fun graphs? Check them out on the [stats page](/membership-stats)!

<div class="text-center">
<a href="/join" class="button guild-button">
<a href="/join" class="button guild-button" data-simple-event="membership_get_membership">
<img src="/assets/about/guild-logo.svg" class="text-img" alt="Get Membership">
Get Membership
</a>
Expand Down
Loading