Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
feat: migrate from slack to discord (#74)
Browse files Browse the repository at this point in the history
* feat: migrate from slack to discord

* refactor: form to button
  • Loading branch information
Marc Cataford authored Feb 17, 2021
1 parent da4f50b commit a1a0da2
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 129 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ title: Top Hat Open Source Portal
description: >- # this means to ignore newlines
Open Source at Top Hat: working to make education & technology open to the world
url: https://opensource.tophat.com
exclude: [slack.html]
exclude: [discord.html]
9 changes: 9 additions & 0 deletions _includes/discord_invite.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<h2 id="join-discord">Join us on Discord <i class="fab fa-discord"></i></h2>
<div class="column-content">
<p>Come chat with us about open source, ask about projects or report issues on Discord!</p>
</div>
<a href="https://discord.gg/YhK3GFcZrk" target="_blank">
<button id="discord-submit-button" class="button pink">Join Discord</button>
</a>


1 change: 0 additions & 1 deletion _includes/foot.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

<script src="static/js/slack.js"></script>
<script src="static/js/stars.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-129741728-1"></script>
Expand Down
4 changes: 1 addition & 3 deletions _includes/join.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@ <h2>Work With Us</h2>
<a href="https://www.tophat.com/company/work-with-us#engineering"><button class="button pink" tabindex="-1">View Our Open Positions</button></a>
</div>

{% comment %}
<div class="border">
</div>
<div class="column">
{% include slack_invite.html %}
{% include discord_invite.html %}
</div>
{% endcomment %}
</div>
</div>
</section>
16 changes: 0 additions & 16 deletions _includes/slack_invite.html

This file was deleted.

10 changes: 5 additions & 5 deletions slack.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
layout: default
id: slack
id: discord
---

<section class="join slack">
<div class="slack-card">
<div class="slack-wrapper">
{% include slack_invite.html %}
<section class="join discord">
<div class="discord-card">
<div class="discord-wrapper">
{% include discord_invite.html %}
</div>
</div>
</section>
103 changes: 0 additions & 103 deletions static/js/slack.js

This file was deleted.

0 comments on commit a1a0da2

Please sign in to comment.