From 3dcbe475126c7e243dc467ed2f12513513487e12 Mon Sep 17 00:00:00 2001 From: Greenscreener Date: Sun, 8 Sep 2019 10:58:03 +0200 Subject: [PATCH] Added sponsors under footer. --- i18n/cs.toml | 5 +- i18n/en.toml | 3 + layouts/partials/footerContent.html | 13 ++- static/.gitkeep | 0 static/img/bigclown-logo.svg | 73 ++++++++++++ static/img/gbl-logo.svg | 165 ++++++++++++++++++++++++++++ themes/patek/assets/css/main.scss | 18 ++- 7 files changed, 274 insertions(+), 3 deletions(-) delete mode 100644 static/.gitkeep create mode 100644 static/img/bigclown-logo.svg create mode 100644 static/img/gbl-logo.svg diff --git a/i18n/cs.toml b/i18n/cs.toml index d2d0c3a..2df0a69 100644 --- a/i18n/cs.toml +++ b/i18n/cs.toml @@ -1,2 +1,5 @@ [footer] -other = "

Tyto webové stránky byly vytvořeny s láskou členy Pátku.

Zdrojový kód

Děkujeme moc společnosti BigClown a především Alanovi Fabikovi za podporu a zapůjčení domény.

Používáme Huga a Bulmu.

" \ No newline at end of file +other = "

Tyto webové stránky byly vytvořeny s láskou členy Pátku.

Zdrojový kód

Děkujeme moc společnosti BigClown a především Alanovi Fabikovi za podporu a zapůjčení domény.

Používáme Huga a Bulmu.

" + +[sponsors] +other = "Sponzoři a podporovatelé" \ No newline at end of file diff --git a/i18n/en.toml b/i18n/en.toml index 9527e9d..7617b83 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -1,2 +1,5 @@ [footer] other = "

This website was made with love by the members of Pátek.

Source code

Huge thanks to BigClown and especially Alan Fabik for support and for allowing us to use this domain.

We use Hugo and Bulma.

" + +[sponsors] +other = "Sponsors and supporters" \ No newline at end of file diff --git a/layouts/partials/footerContent.html b/layouts/partials/footerContent.html index c959648..4c929e3 100644 --- a/layouts/partials/footerContent.html +++ b/layouts/partials/footerContent.html @@ -1,2 +1,13 @@

Copyright © {{ now.Year }} Pátek

-{{ safeHTML (i18n "footer") }} \ No newline at end of file +{{ safeHTML (i18n "footer") }} +
+
+

{{ T "sponsors" }}

+
+ + +
\ No newline at end of file diff --git a/static/.gitkeep b/static/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/static/img/bigclown-logo.svg b/static/img/bigclown-logo.svg new file mode 100644 index 0000000..b8f06bb --- /dev/null +++ b/static/img/bigclown-logo.svg @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + diff --git a/static/img/gbl-logo.svg b/static/img/gbl-logo.svg new file mode 100644 index 0000000..5e6021b --- /dev/null +++ b/static/img/gbl-logo.svg @@ -0,0 +1,165 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + GYMNÁZIUM J. S. MACHARA + BRANDÝS n.L. - STARÁ BOLESLAV + + + diff --git a/themes/patek/assets/css/main.scss b/themes/patek/assets/css/main.scss index 1cefebc..b1048cb 100644 --- a/themes/patek/assets/css/main.scss +++ b/themes/patek/assets/css/main.scss @@ -56,6 +56,9 @@ $primary: #0b2a37; text-align: center; font-family: 'Fira Code'; font-size: smaller; + h2 { + color: $primary-invert; + } } .author-media { margin-bottom: 15px; @@ -171,5 +174,18 @@ h2 a { bottom: 0; } } - +.sponsors { + padding-top: 30px; +} +.sponsor { + display: flex; + justify-content: center; + a { + display: flex; + &:hover { + transform: scale(1.07); + transition: transform 0.4s; + } + } +} // /Custom styles \ No newline at end of file