Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Social media links #12

Merged
merged 2 commits into from
Jul 4, 2024
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
1 change: 0 additions & 1 deletion fredagscafeen/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,6 @@

# Server admins (get an email when server errors happen)
ADMINS = [
("Oskar Haarklou Veileborg", "[email protected]"),
("Jonathan Eilath", "[email protected]"),
("Anders Bruun Severinsen", "[email protected]"),
]
Expand Down
14 changes: 14 additions & 0 deletions web/static/css/stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,17 @@ footer {
display: block !important;
padding: 8px !important;
}

.social-link {
flex: right;
padding: 0px;
height: 25px;
border: solid;
border-width: 0px;
border-radius: 5px;
border-color: white;
}

.social-link:hover {
opacity: 0.6;
}
Binary file added web/static/images/facebook.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added web/static/images/facebook_negative.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added web/static/images/github.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added web/static/images/github_negative.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added web/static/images/instagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added web/static/images/instagram_negative.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 20 additions & 3 deletions web/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ <h1>
</li>

<li><a href="/{{ LANGUAGE_CODE }}/guides">{% translate "Guides" %}</a></li>
<li><a href="https://www.facebook.com/fredagscafeen.dk/" target="_blank" rel="noopener"><span class="glyphicon glyphicon-new-window"></span> Facebook</a></li>
<!--<li><a href="https://www.facebook.com/fredagscafeen.dk/" target="_blank" rel="noopener"><span class="glyphicon glyphicon-new-window"></span> Facebook</a></li>-->
<li><a href="/{{ LANGUAGE_CODE }}/board">{% translate "Bestyrelsen" %}</a></li>
<li><a href="/{{ LANGUAGE_CODE }}/events">{% translate "Events" %}</a></li>
<li><a href="/{{ LANGUAGE_CODE }}/about">{% translate "Om baren" %}</a></li>
Expand Down Expand Up @@ -106,8 +106,25 @@ <h1>
<footer>
<div class="container">
<hr>
Fredagscaféen {% translate "er en fredagsbar for datalogi og IT på Aarhus Universitet." %}<br>
1993-{% now "Y" %} Fredagscaféen
<div>
<div>
<a href="https://www.facebook.com/fredagscafeen.dk/" target="_blank" rel="noopener" style="text-decoration: none;">
<img src="{% static 'images/facebook.png' %}" class="social-link">
</a>
<span style="padding: 5px;"></span>
<a href="https://www.instagram.com/fredagscafeen.dk/" target="_blank" rel="noopener" style="text-decoration: none;">
<img src="{% static 'images/instagram.png' %}" class="social-link">
</a>
<span style="padding: 5px;"></span>
<a href="https://github.com/fredagscafeen" target="_blank" rel="noopener" style="text-decoration: none;">
<img src="{% static 'images/github.png' %}" class="social-link">
</a>
</div>
<div align="center" style="padding-top: 15px; padding-bottom: 5px;">
Fredagscaféen {% translate "er en fredagsbar for datalogi og IT på Aarhus Universitet." %}<br>
1993-{% now "Y" %} Fredagscaféen
</div>
</div>
</div>
</footer>
{% endblock %}
Loading