Skip to content

Commit 58ac334

Browse files
committed
Show Instagram and LinkedIn Buttons in separate section
Instagram and LinkedIn are shown permanently. The "Anmelden auf Meetup" button is only shown when an upcoming date has a meetup event set. I.e. it won't show when the event has passed or the event has no meetup ID set yet
1 parent 3a770a5 commit 58ac334

4 files changed

Lines changed: 31 additions & 17 deletions

File tree

‎_includes/footer.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

22
<footer>
3+
{{ 'now' | date: "%Y" }} - Technologieplauscherl Linz - <a href="/">Home</a> - <a href="/privacy">Datenschutz</a> - <a href="/feed">RSS</a> - <a href="https://instagram.com/technologieplauscherl/">Instagram</a> - <a href="https://www.linkedin.com/company/technologieplauscherl/">LinkedIn</a> - <a href="https://github.com/technologieplauscherl">GitHub</a> - <a href="https://www.youtube.com/c/Technologieplauscherl">YouTube</a> - <a href="/events.ics">.iCal</a>
4+
</p>
35
<p class="wrapper">
4-
{{ 'now' | date: "%Y" }} - Technologieplauscherl Linz - <a href="/">Home</a> - <a href="/privacy">Datenschutz</a> - <a href="/feed">RSS</a> - <a href="https://www.linkedin.com/company/technologieplauscherl/">LinkedIn</a> - <a href="https://github.com/technologieplauscherl">GitHub</a> - <a href="https://www.youtube.com/c/Technologieplauscherl">YouTube</a> - <a href="/events.ics">.iCal</a>
5-
</p>
66
</footer>
77
<script>
88
(function(s, xhr) {

‎_includes/masthead.html‎

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -75,21 +75,6 @@ <h1 itemprop="name">Technologieplauscherl</h1>
7575
{{ post.content }}
7676
{% endif -%}
7777

78-
{% if include.ended -%}
79-
<a href="https://www.linkedin.com/company/technologieplauscherl/" target="_blank" class="link link--big link--linkedin">
80-
Updates auf LinkedIn
81-
<svg class="link__icon">
82-
<use href="/img/svgs/linkedin.svg#icon-linkedin"></use>
83-
</svg>
84-
</a>
85-
86-
<a href="https://www.meetup.com/Technologieplauscherl-Linz/" target="_blank" class="link link--big link--meetup">
87-
Wir sind auf Meetup!
88-
<svg class="link__icon">
89-
<use href="/img/svgs/meetup.svg#icon-meetup"></use>
90-
</svg>
91-
</a>
92-
{% endif -%}
9378

9479
{% unless include.ended -%}
9580
{% if post.event -%}
@@ -111,5 +96,22 @@ <h1 itemprop="name">Technologieplauscherl</h1>
11196
{% endif -%}
11297
{% endif -%}
11398
{% endunless -%}
99+
100+
<p class="info">
101+
Für Updates folgt uns auf
102+
</p>
103+
<a href="https://www.instagram.com/technologieplauscherl/" target="_blank" class="link link--big link--instagram">
104+
Instagram
105+
<svg class="link__icon">
106+
<use href="/img/svgs/instagram.svg#icon-instagram"></use>
107+
</svg>
108+
</a>
109+
110+
<a href="https://www.linkedin.com/company/technologieplauscherl/" target="_blank" class="link link--big link--linkedin">
111+
LinkedIn
112+
<svg class="link__icon">
113+
<use href="/img/svgs/linkedin.svg#icon-linkedin"></use>
114+
</svg>
115+
</a>
114116
</div>
115117
</div>

‎_sass/modules/_button.scss‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ $linkedInBtnColor: rgb(10, 102, 194);
1111

1212
$meetupBtnColor: #FF4A79;
1313

14+
$instagramBtnColor: #833AB4;
15+
1416
.link {
1517
text-decoration: none;
1618
color: $btnTextColor;
@@ -82,3 +84,11 @@ $meetupBtnColor: #FF4A79;
8284
background-color: darken($meetupBtnColor, 10);
8385
}
8486
}
87+
88+
.link--instagram {
89+
background-color: $instagramBtnColor;
90+
91+
.link__icon {
92+
background-color: darken($instagramBtnColor, 10);
93+
}
94+
}

‎img/svgs/instagram.svg‎

Lines changed: 2 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)