Skip to content

Commit

Permalink
🎨 REFACTOR and CHANGE max width on footer
Browse files Browse the repository at this point in the history
  • Loading branch information
stefrado committed Dec 10, 2024
1 parent d5712d0 commit 9aee89b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
22 changes: 15 additions & 7 deletions src/sdg/scss/components/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,38 @@
background-color: #fff;
height: 109px;
display: flex;
justify-content: space-evenly;
justify-content: center;
align-items: center;
margin: 0 -120px;

.footer__left {
&__side {
width: 512px;
display: flex;
align-items: center;

&--left {
justify-content: flex-start;
}

&--right{
justify-content: flex-end;
}
}

.footer__link {
margin-right: 50px;
&__link {
text-decoration: none;
color: $color_primary;

&:hover {
color: $color_primary_lighter;
}

&:last-child {
margin-right: 0;
&:not(:last-child) {
margin-right: 50px;
}
}

.footer__logo {
&__logo {
margin-left: 8px;
height: 42px;
}
Expand Down
4 changes: 2 additions & 2 deletions src/sdg/templates/core/base_home.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ <h2 class="logo__subtitle logo__subtitle-medium">voor {{ org_type_cfg.name_plura

{% block footer %}
<div class="footer">
<div class="footer__left">
<div class="footer__side footer__side--left">
Een initiatief van
{% with logo=org_type_cfg.footer_logo %}
<a href="{{ org_type_cfg.url }}" target="_blank" rel="noopener" class="shine">
<img class="footer__logo" src="{% static logo %}"/>
</a>
{% endwith %}
</div>
<div class="footer__right">
<div class="footer__side footer__side--right">
<a class="footer__link" href="{{ org_type_cfg.accessibility_url }}" rel="noopener noreferrer">{% trans "Toegankelijkheid" %}</a>
<a class="footer__link" href="{{ org_type_cfg.privacy_policy_url }}" rel="noopener noreferrer">{% trans "Privacybeleid" %}</a>
</div>
Expand Down

0 comments on commit 9aee89b

Please sign in to comment.