Remove community-hub page

This commit is contained in:
davegson 2020-05-13 10:48:47 +02:00
parent f7623210af
commit 5c2a0a3e27
6 changed files with 1 additions and 146 deletions

View file

@ -1,73 +0,0 @@
communities:
- text: >
### r/safing
Let's talk - Join our community. Get to know us and our products!
#
image:
icon: huge reddit icon
alt: safing community
url: 'https://old.reddit.com/r/safing'
disabled:
- text: >
### Podcast
Join our venture - have a look behind the scenes and understand our decision processes!
#
image:
icon: huge alternate microphone icon
alt: podcast
url: /podcast/
internal: true
- text: >
### Blog
Now you can also read about what is and has been going on at Safing!
#
image:
icon: huge alternate feather icon
alt: blog
url: /blog/
internal: true
- text: >
### Github
Dont like our personalities? Check out our code. Where we try to be our best selves.
#
image:
icon: huge github icon
alt: github
url: https://github.com/Safing
- text: >
### Email Newsletter
Bothered by visiting safing.io every day? Subscribe to stay informed!
#
image:
icon: huge envelope open outline icon
alt: newsletter
url: '/newsletter/'
internal: true
- text: >
### Twitter
Want to be part of our Twitter Force? Follow us @SafingIO
#
image:
icon: huge twitter icon
alt: twitter
class: twitter
url: https://twitter.com/SafingIO
# - text: >
# ### Twitch
#
# One of our lead developers gives you a look inside his coding shell. Disclaimer: currently very irregular
# #
# image:
# icon: huge twitch icon
# alt: twitch
# class: twitch
# url: https://twitch.tv/davegson

View file

@ -1,14 +0,0 @@
<div class="ui stackable mobile-hidden grid">
{% if modulo == 0 %}
{% include pitch/image.html %}
{% include pitch/text.html %}
{% else %}
{% include pitch/text.html %}
{% include pitch/image.html %}
{% endif %}
</div>
<div class="ui stackable mobile only grid">
{% include pitch/image.html %}
{% include pitch/text.html %}
</div>

View file

@ -1,9 +0,0 @@
<div class="four wide column">
<div class="ui basic segment {{ pitch.image.class }}">
{% if pitch.image.path %}
<img class="ui tiny image margin-0-auto" src="{{ site.assets_url }}{{ pitch.image.path }}" alt="{{ pitch.image.alt }}">
{% elsif pitch.image.icon %}
<i class="{{ pitch.image.icon }} margin-0-auto"></i>
{% endif %}
</div>
</div>

View file

@ -1,3 +0,0 @@
<div class="twelve wide column">
{{ pitch.text | markdownify | replace: '<p>','<p class="lead">' }}
</div>

View file

@ -2,6 +2,7 @@
layout: page
redirect_from:
- /our-values/
- /community-hub/
---
<header style="padding-top: 12rem;"></header>

View file

@ -1,47 +0,0 @@
---
layout: page
title: community-hub
heading: The Community Hub
---
<script type="text/javascript">
var params = getSearchParameters();
if (params.newsletter == 'confirm') {
$('body').toast({
title: 'Success - But Confirmation Required',
message: 'Please confirm your email to finish the process. Thank you for your effort!',
displayTime: 10000,
showProgress: 'bottom',
class: 'orange',
showIcon: 'hand point right outline',
position: 'top center',
closeIcon: true
});
}
if (params.newsletter == 'success') {
$('body').toast({
title: 'Success',
message: 'Thanks for subscribing to our newsletter, we\'re happy we\'ll stay in touch!',
displayTime: 8000,
showProgress: 'bottom',
class: 'green',
showIcon: 'checkmark',
position: 'top center',
closeIcon: true
});
}
</script>
<div class="community-hub">
{% for pitch in site.data.community_hub.communities %}
<a class="ui button{% if pitch.disabled %} disabled{% endif %}"{% unless pitch.pending %}{% unless pitch.disabled %} href="{{ pitch.url }}"{% endunless %}{% unless pitch.internal %} target="_blank"{% endunless %}{% endunless %}>
{% comment %}0 = even (right text), 1 = odd (left text){% endcomment %}
{% assign modulo = forloop.index | modulo: 2 %}
{% include pitch.html %}
<a>
{% endfor %}
</div>