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

Branding fixup #386

Merged
merged 3 commits into from
Jul 27, 2021
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
Binary file added democracy_club/assets/images/logo_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 7 additions & 1 deletion democracy_club/assets/scss/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,10 @@ p {
.entry table {
@extend .ds-table;
width: 100%;
}
}

// temp fix while scoped to center logo and copyright in footer
.ds-copyright {
a {margin-right: 0rem !important;}
p {max-width: 90ch;}
}
15 changes: 12 additions & 3 deletions democracy_club/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,25 @@
{% stylesheet 'styles' %}
{% endblock extra_site_css %}
{% block site_meta %}

<link rel="shortcut icon" href="{% static 'images/logo_icon.png' %}">
<link rel="alternate" type="application/atom+xml" title="Democracy Club Blog" href="{% url "hermes_post_feed" %}" />

<link rel="manifest" href="{% static "manifest.json" %}">
<meta property="fb:pages" content="316731041785" />
{% endblock site_meta %}

{% block base_og_tags %}
<meta property="og:type" content="website">
<meta property="fb:app_id" content="262795130596272" />
<meta property="og:url" content="https://democracyclub.org.uk{{ request.path }}" />
<meta property="og:title" content="{{ site_title }}" />
<meta property="og:description" content="We build digital tools to support everyone’s participation in UK democracy." />
<meta property="og:image" content="{% static 'images/logo_icon.png' %}" />
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://democracyclub.org.uk/">
<meta property="twitter:title" content="Democracy Club">
<meta property="twitter:description" content="We build digital tools to support everyone’s participation in UK democracy.">
<meta property="twitter:image" content="{% static 'images/logo_icon.png' %}">
{% endblock base_og_tags %}
<script src="{% static 'js/global.js' %}"></script>
</head>
Expand All @@ -30,7 +39,7 @@
{% block site_menu %}
<header class="ds-header">
<a class="ds-logo" href="/">
<img src="{% static "images/logo_icon.svg" %}" alt="" />
<img src="{% static 'images/logo_icon.svg' %}" alt="" />
<span>democracy<br>club</span>
</a>

Expand Down