diff --git a/site/i18n/ca.toml b/site/i18n/ca.toml index f38067b..8e15624 100644 --- a/site/i18n/ca.toml +++ b/site/i18n/ca.toml @@ -106,7 +106,7 @@ other= "Si són diners públics, el codi ha de ser públic. Dono suport a aquest # Legal Section [legal_by] -other= "Aquesta és una campanya de la Free Software Foundation Europe" +other= "Una campanya de la Free Software Foundation Europe" [legal_imprint] other= "Crèdits editorials" [legal_privacy] diff --git a/site/i18n/da.toml b/site/i18n/da.toml index c9f459f..2dba9de 100644 --- a/site/i18n/da.toml +++ b/site/i18n/da.toml @@ -106,7 +106,7 @@ other= "Hvis det er offentlige penge, bør det også være offentlig kode. Jeg s # Legal Section [legal_by] -other= "Dette er en kampagne fra Free Software Foundation Europe" +other= "En kampagne fra Free Software Foundation Europe" [legal_imprint] other= "Kolofon" [legal_privacy] diff --git a/site/i18n/en.toml b/site/i18n/en.toml index 70fd021..0efd1f6 100644 --- a/site/i18n/en.toml +++ b/site/i18n/en.toml @@ -136,7 +136,7 @@ other= "If it is public money, it should be public code as well. I support this # Legal Section [legal_by] -other= "This is a campaign by Free Software Foundation Europe" +other= "A campaign by Free Software Foundation Europe" [legal_imprint] other= "Imprint" [legal_privacy] diff --git a/site/i18n/es.toml b/site/i18n/es.toml index 43859b5..5a40159 100644 --- a/site/i18n/es.toml +++ b/site/i18n/es.toml @@ -106,7 +106,7 @@ other= "Si es dinero público el código debería ser publico también. Yo acomp # Legal Section [legal_by] -other= "Esta es una campaña de la Free Software Foundation Europe" +other= "Una campaña de la Free Software Foundation Europe" [legal_imprint] other= "Imprimir" [legal_privacy] diff --git a/site/i18n/fr.toml b/site/i18n/fr.toml index c8507ca..b89e2b1 100644 --- a/site/i18n/fr.toml +++ b/site/i18n/fr.toml @@ -116,7 +116,7 @@ other= "Si c’est de l’argent public, le code devrait être aussi public. Je # Legal Section [legal_by] -other= "Ceci est une campagne menée par la Free Software Foundation Europe" +other= "Une campagne menée par la Free Software Foundation Europe" [legal_imprint] other= "Imprint" [legal_privacy] diff --git a/site/i18n/it.toml b/site/i18n/it.toml index 111fcbc..5597512 100644 --- a/site/i18n/it.toml +++ b/site/i18n/it.toml @@ -136,7 +136,7 @@ other= "Se è denaro pubblico (public money), allora dovrebbe essere pubblico an # Legal Section [legal_by] -other= "Questa è una campagna promossa da Free Software Foundation Europe" +other= "Una campagna promossa da Free Software Foundation Europe" [legal_imprint] other= "Note legali" [legal_privacy] diff --git a/site/i18n/nl.toml b/site/i18n/nl.toml index 22c3a31..b35d3ab 100644 --- a/site/i18n/nl.toml +++ b/site/i18n/nl.toml @@ -104,7 +104,7 @@ other= "Als het publiek geld is, dan moet het ook publieke code zijn! Ik steun d # Legal Section [legal_by] -other= "Dit is een compagne door Free Software Foundation Europe" +other= "Een compagne door Free Software Foundation Europe" [legal_imprint] other= "Imprint" # TODO [legal_privacy] diff --git a/site/i18n/pt.toml b/site/i18n/pt.toml index 6599f0a..b77ab27 100644 --- a/site/i18n/pt.toml +++ b/site/i18n/pt.toml @@ -106,7 +106,7 @@ other= "Se se trata de dinheiro público, o código também deve ser público. E # Legal Section [legal_by] -other= "Esta é uma campanha da Free Software Foundation Europe" +other= "Uma campanha da Free Software Foundation Europe" [legal_imprint] other= "Aviso legal" [legal_privacy] diff --git a/site/layouts/partials/functions/infotext.html b/site/layouts/partials/functions/infotext.html new file mode 100644 index 0000000..fd13f38 --- /dev/null +++ b/site/layouts/partials/functions/infotext.html @@ -0,0 +1,9 @@ +
+ + {{- if in (i18n "legal_by") "Free Software Foundation Europe" -}} + {{ replace (i18n "legal_by") "Free Software Foundation Europe" "FSFE logo" | safeHTML }} + {{- else -}} + {{ i18n "legal_by" }} FSFE logo + {{- end -}} + +
diff --git a/site/layouts/partials/start.html b/site/layouts/partials/start.html index 4292422..f9a0b44 100644 --- a/site/layouts/partials/start.html +++ b/site/layouts/partials/start.html @@ -1,5 +1,7 @@ {{ "" | safeHTML }}
+ + {{ partial "functions/infotext.html" (dict "context" . "class" "desktop") }}
+ + {{ partial "functions/infotext.html" (dict "context" . "class" "mobile") }} +

{{ i18n "start_subtitle1" | markdownify }}

diff --git a/site/static/css/creative.css b/site/static/css/creative.css index ae28e34..765a8fc 100644 --- a/site/static/css/creative.css +++ b/site/static/css/creative.css @@ -315,7 +315,7 @@ header .header-content .header-content-inner p { text-shadow: 1px 1px 2px black; } -@media(min-width:768px) { +@media (min-width:768px) and (min-height:600px) { header { min-height: 100%; } diff --git a/site/static/css/custom.css b/site/static/css/custom.css index 1902ec9..ccffcf8 100644 --- a/site/static/css/custom.css +++ b/site/static/css/custom.css @@ -460,6 +460,9 @@ a:hover { top: 13px; font-size: 19px; } +header { + z-index: 1; +} /* DEFINITION BOX */ .definition { @@ -501,6 +504,7 @@ a:hover { border-left: none; text-align: center; font-size: 1.1em; + z-index: 1; } @media screen and (max-width: 767px) { #action-box { @@ -508,6 +512,36 @@ a:hover { } } +/* "Campaign by" info text on start */ +.infotext.desktop { + display: none; +} +.infotext { + margin-top: 20px; +} +.infotext img { + max-height: 42px; + width: unset !important; + vertical-align: bottom; + display: inline !important; + margin: 0 !important; +} +@media (min-width:768px) { + .infotext.mobile { + display: none; + } + .infotext.desktop { + display: block; + } + .infotext { + position: absolute; + top: 80px; + right: 20px; + margin: 0; + } +} + + .radio-filter-orgs label { margin-right:5%; position: relative; diff --git a/site/static/img/fsfe-logo-cut.png b/site/static/img/fsfe-logo-cut.png new file mode 100644 index 0000000..4306c44 Binary files /dev/null and b/site/static/img/fsfe-logo-cut.png differ