Merge pull request 'Fix logo' (#149) from nevfy/selfprivacy.org:fix-logo into master

Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org/pulls/149
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
This commit is contained in:
Inex Code 2024-06-26 14:41:05 +03:00
commit 17234bd00b
4 changed files with 21 additions and 32 deletions

View file

@ -39,7 +39,7 @@
svg { svg {
display: inline-block; display: inline-block;
margin: 0 10px; margin: 0 2rem;
height: 30px; height: 30px;
} }
} }

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB

View file

@ -192,3 +192,15 @@ a, a.btn-link {
color: lightgray; color: lightgray;
} }
} }
#sp-logo-text {
fill: $white
}
#sp-logo-icon {
fill: $gray
}
#sp-logo-keyhole {
fill: $yellow
}

View file

@ -1,18 +1,6 @@
{{ $links := .Site.Params.links }} {{ $links := .Site.Params.links }}
<div class="bg-dark pt-4 px-5 pb-5 row sp-footer"> <div class="bg-dark px-5 py-5 row sp-footer">
<div class="col-12 py-4"> <div class="col-md-4 col-xs-12 pt-4">
<a class="navbar-brand" href="{{ .Site.Home.RelPermalink }}">
<span class="navbar-brand__logo navbar-logo">
{{- if ne .Site.Params.ui.navbar_logo false -}}
{{ with resources.Get "icons/logo.svg" -}}
{{ ( . | minify).Content | safeHTML -}}
{{ end -}}
{{ end -}}
</span>
</a>
</div>
<div class="col-md-4 col-xs-12 py-sm-4">
<h2 class="text-secondary">{{ T "footer_learn_more" }}</h2> <h2 class="text-secondary">{{ T "footer_learn_more" }}</h2>
<ul class="list-unstyled"> <ul class="list-unstyled">
<li><a href="{{ ref . "/docs/services/" }}" class="nav-link">{{ T "footer_available_services"}}</a></li> <li><a href="{{ ref . "/docs/services/" }}" class="nav-link">{{ T "footer_available_services"}}</a></li>
@ -28,7 +16,7 @@
</ul> </ul>
</div> </div>
<div class="col-md-4 col-xs-12 py-sm-4"> <div class="col-md-4 col-xs-12 pt-4">
<h2 class="text-secondary">{{ T "footer_contribute" }}</h2> <h2 class="text-secondary">{{ T "footer_contribute" }}</h2>
<ul class="list-unstyled"> <ul class="list-unstyled">
<li><a href="https://git.selfprivacy.org/SelfPrivacy" class="nav-link" rel="noopener noreferrer" target="_blank">{{ T "footer_source_code" }}</a></li> <li><a href="https://git.selfprivacy.org/SelfPrivacy" class="nav-link" rel="noopener noreferrer" target="_blank">{{ T "footer_source_code" }}</a></li>
@ -39,7 +27,7 @@
</ul> </ul>
</div> </div>
<div class="col-md-4 col-xs-12 py-sm-4"> <div class="col-md-4 col-xs-12 pt-4">
<h2 class="text-secondary">{{ T "footer_download" }}</h2> <h2 class="text-secondary">{{ T "footer_download" }}</h2>
<h3 class="text-secondary">{{ T "footer_download_phone" }}</h3> <h3 class="text-secondary">{{ T "footer_download_phone" }}</h3>
<ul class="list-unstyled"> <ul class="list-unstyled">