diff --git a/site/config.toml b/site/config.toml index 39cc552..49a94bc 100644 --- a/site/config.toml +++ b/site/config.toml @@ -84,6 +84,11 @@ DefaultContentLanguage = "en" formSubmit = "Sign Now!" +# Organisations section +[params.organisations] + headline = "Supporting Organisations" + text = "Following organisations support our [Open Letter](/openletter). If your organisation is also interested in joining the call for Public Code, please [contact us](mailto:contact@fsfe.org)." + # Resources boxes section [params.resources] [[params.resources.list]] diff --git a/site/data/signees/signees.json b/site/data/signees/signees.json new file mode 100644 index 0000000..e28f000 --- /dev/null +++ b/site/data/signees/signees.json @@ -0,0 +1,67 @@ +[ + { + "name": "Associação Ensino Livre", + "img": "aelivre.png", + "url": "https://ensinolivre.pt" + }, + { + "name": "Associação Nacional para o Software Livre", + "img": "ansol.png", + "url": "https://ansol.org" + }, + { + "name": "Linux User Group Of Slovenia", + "img": "lugos.png", + "url": "http://www.lugos.si" + }, + { + "name": "Dyne.org Foundation", + "img": "dyne.png", + "url": "https://dyne.org" + }, + { + "name": "European Digital Rights", + "img": "edri.png", + "url": "https://edri.org" + }, + { + "name": "ePaństwo Foundation", + "img": "epanstwo.png", + "url": "https://epf.org.pl" + }, + { + "name": "Free Software Foundation Europe", + "img": "fsfe.png", + "url": "https://fsfe.org" + }, + { + "name": "K Desktop Environment", + "img": "kde.png", + "url": "https://ev.kde.org" + }, + { + "name": "Modern Poland Foundation", + "img": "nowoczesnapolska.png", + "url": "https://nowoczesnapolska.org.pl" + }, + { + "name": "Open Knowledge Foundation Deutschland", + "img": "okf.png", + "url": "https://okfn.de" + }, + { + "name": "Open Software Business Alliance", + "img": "osba.png", + "url": "http://osb-alliance.de" + }, + { + "name": "The Document Foundation", + "img": "tdf.png", + "url": "https://www.documentfoundation.org" + }, + { + "name": "Wikimedia Deutschland", + "img": "wikimedia-de.png", + "url": "https://wikimedia.de" + } +] diff --git a/site/layouts/index.html b/site/layouts/index.html index 0a3af8f..ecb290e 100644 --- a/site/layouts/index.html +++ b/site/layouts/index.html @@ -25,6 +25,10 @@ {{ partial "action.html" . }} {{ end }} + {{ if .Site.Params.organisations }} + {{ partial "organisations.html" . }} + {{ end }} + {{ if .Site.Params.resources }} {{ partial "resources.html" . }} {{ end }} diff --git a/site/layouts/page/subpage.html b/site/layouts/page/subpage.html index 62d8d39..3e64ef3 100644 --- a/site/layouts/page/subpage.html +++ b/site/layouts/page/subpage.html @@ -20,6 +20,10 @@ {{ partial "subpage_after.html" . }} + {{ if eq .Params.sigtable true }} + {{ partial "organisations.html" . }} + {{ end }} + {{ partial "language.html" . }} {{ partial "legal.html" . }} diff --git a/site/layouts/partials/organisations.html b/site/layouts/partials/organisations.html new file mode 100644 index 0000000..d56b66c --- /dev/null +++ b/site/layouts/partials/organisations.html @@ -0,0 +1,19 @@ +{{ "" | safeHTML }} +
+
+
+

{{ .Site.Params.organisations.headline }}

+
+

{{ .Site.Params.organisations.text | markdownify }}

+
+
    + {{ range .Site.Data.signees }} + {{ range sort . "name" }} +
  • + {{ end }} + {{ end }} +
+
+
+
+
diff --git a/site/static/css/custom.css b/site/static/css/custom.css index f2d08b9..eaff8d6 100644 --- a/site/static/css/custom.css +++ b/site/static/css/custom.css @@ -60,6 +60,40 @@ color: #2093C4; } +/* ORGANISATIONS SECTION */ +#organisations ul { + display: block; + position: relative; + list-style: none; + text-align: center; + padding: 0; +} +#organisations ul li { + display: inline-block; + position: relative; + list-style: none; +} +#organisations ul li a { + display: block; + position: relative; + width: 12vw; + height: 8vw; + max-width: 120px; + max-height: 80px; + min-width: 120px; + background-position: center center; + background-repeat: no-repeat; + background-size: contain; + transform: scale(0.8); + opacity: 1; + transition: opacity .5s, transform .5s, background-color .5s, filter .5s; +} +#organisations ul li a:hover { + opacity: 1; + transform: scale(0.9); + z-index: 5; +} + /* SIGN FORM */ #action form { color: #333; @@ -113,7 +147,6 @@ p.form-pe { } p.form-pe a { color: inherit; - text-decoration: underline; } #honey { display: none; diff --git a/site/static/img/signees/aelivre.png b/site/static/img/signees/aelivre.png new file mode 100644 index 0000000..8b798e3 Binary files /dev/null and b/site/static/img/signees/aelivre.png differ diff --git a/site/static/img/signees/ansol.png b/site/static/img/signees/ansol.png new file mode 100644 index 0000000..343f5c9 Binary files /dev/null and b/site/static/img/signees/ansol.png differ diff --git a/site/static/img/signees/dyne.png b/site/static/img/signees/dyne.png new file mode 100644 index 0000000..f96d98b Binary files /dev/null and b/site/static/img/signees/dyne.png differ diff --git a/site/static/img/signees/edri.png b/site/static/img/signees/edri.png new file mode 100644 index 0000000..927027d Binary files /dev/null and b/site/static/img/signees/edri.png differ diff --git a/site/static/img/signees/epanstwo.png b/site/static/img/signees/epanstwo.png new file mode 100644 index 0000000..392b0f3 Binary files /dev/null and b/site/static/img/signees/epanstwo.png differ diff --git a/site/static/img/signees/fsfe.png b/site/static/img/signees/fsfe.png new file mode 100644 index 0000000..42b1190 Binary files /dev/null and b/site/static/img/signees/fsfe.png differ diff --git a/site/static/img/signees/kde.png b/site/static/img/signees/kde.png new file mode 100644 index 0000000..de44c79 Binary files /dev/null and b/site/static/img/signees/kde.png differ diff --git a/site/static/img/signees/lugos.png b/site/static/img/signees/lugos.png new file mode 100644 index 0000000..63ed474 Binary files /dev/null and b/site/static/img/signees/lugos.png differ diff --git a/site/static/img/signees/nowoczesnapolska.png b/site/static/img/signees/nowoczesnapolska.png new file mode 100644 index 0000000..971adeb Binary files /dev/null and b/site/static/img/signees/nowoczesnapolska.png differ diff --git a/site/static/img/signees/okf.png b/site/static/img/signees/okf.png new file mode 100644 index 0000000..a37a7bc Binary files /dev/null and b/site/static/img/signees/okf.png differ diff --git a/site/static/img/signees/osba.png b/site/static/img/signees/osba.png new file mode 100644 index 0000000..dc65d9e Binary files /dev/null and b/site/static/img/signees/osba.png differ diff --git a/site/static/img/signees/tdf.png b/site/static/img/signees/tdf.png new file mode 100644 index 0000000..dc0da31 Binary files /dev/null and b/site/static/img/signees/tdf.png differ diff --git a/site/static/img/signees/wikimedia-de.png b/site/static/img/signees/wikimedia-de.png new file mode 100644 index 0000000..7ef96a7 Binary files /dev/null and b/site/static/img/signees/wikimedia-de.png differ