Created landing page.

This commit is contained in:
Greenscreener 2019-09-08 13:03:05 +02:00
parent 3dcbe47512
commit 1adcd93c73
17 changed files with 324 additions and 78 deletions

View File

@ -1,39 +1,7 @@
---
title: "Homepage"
date: 2019-07-12T14:54:15+02:00
title: "Úvodní stránka"
date: 2019-09-08T11:10:15+02:00
draft: false
authors: [ "Greenscreener" ]
---
<div class="is-construction">
Tyto stránky jsou zatím v aktivním vývoji. Je proto možné, že některé jejich části budou chybět a že se něco ještě v budoucnu změní. Děkujeme za pochopení.
</div>
# Vítejte na stránkách Pátku
Zatímco pátek je pátý den v týdnu, Pátek je skupina studentů, kteří se zajímají nejen o informatiku, ale také fyziku, elektrotechniku, radioamatérství, matematiku, biologii a vše co je zajímavé. Stejně jako se [pátečníci](https://cs.wikipedia.org/wiki/P%C3%A1te%C4%8Dn%C3%ADci) Karla Čapka scházeli v jeho vile každé páteční odpoledne, tak se také my scházíme každé páteční odpoledne v jedné či více učebnách brandýského gymnázia poté, co všichni příčetní studenti odejdou domů. Velkou část těchto schůzek trávíme diskusemi o absurdních tématech (např. teorie myšlenky, antimyšlenky a jejich vzájemné anihilace), hádáním se o kontroverzních názorech (např. proč je Linux bezkonkurenčně lepší oproti ostatním operačním systémům) či prací na čemkoliv co, zrovna daný člen nestíhá. Děláme ale také mnoho *bohulibějších* činností:
### Přednášky PátekTalks
Dle známého českého přísloví *„Kdo umí, umí, kdo neumí, učí.“* si členové, kteří vědí něco, co ostatní neví, připravují jednou za čas přednášky o tématech, které jim připadají zajímavé. Vzhledem k tomu, že většina starších členů Pátku jsou konzervativní informatici, se většina přednášek ubírá tímto směrem, avšak kdo má odvahu, může se jim postavit se svým tématem.
### Projekty
Pátkaři jsou tvořivá sebranka, rádi bastlíme, kutíme a vyrábíme. Učíme se tím novým dovednostem a mrháme časem, který bychom jinak strávili něčím užitečnějším. Jedním z důvodů pro vznik těchto stránek byla naše touha podělit se o zkušenosti nabyté v rámci těchto projektů s ostatními Pátečníky, ale také s *normálními* lidmi. Když se tedy budete dostatečně snažit, možná zde najdete nějaké zajímavé informace o proběhlých a probíhajících projektech.
### Výlety
Když se naskytne možnost, rádi vyjíždíme na mnohé výlety za vědou, např. za přednáškovou akcí [100vědců akademie věd ČR](https://100vedcu.cz). Další výlety [zde](/tags/vylet).
### PátekPrint
Gymnázium získalo minulý rok 3D tiskárnu Prusa Reprap i3 Mk3, kterou mají na starosti čtyři členové Pátku. Na Pátcích se proto téměř neustále tiskne a jakýkoli Pátkař má možnost si za pomoci zkušenějších členů cokoliv vymodelovat a následně vytisknout. Většinou ale tiskneme blbinky, co si lidi najdou na [thingiversu](https://thingiverse.com).
### Programování
Jak už bylo zmíněno výše, velká část Pátečníků jsou informatici, kteří tráví svůj volný čas civěním do monitorů svých počítačů na barevná písmenka, která nedávají smysl. Kromě vyhrocených debat o nesmyslech také tvoří [stránky&nbsp;gymnázia](https://gbl.cz) a [tyto&nbsp;stránky](/). Weby to ale nekončí, jedním z momentálně pozastavených projektů je Gomber - openSource implementace BomberMana napsaná v Go, na které se učíme základy tohoto krásného programovacího jazyka.
### PátekSpace
Někteří by naše uskupení dokonce nazvali malý [hackerspace](https://cs.wikipedia.org/wiki/Hackerspace). Jednou z hlavních výhod hackerspaců je dostupnost nástrojů, které jednotliví členové nemohou mít doma. Zatím máme pouze 3D tiskárnu a pár šroubováků, ale po předchozí dohodě si občas půjčujeme některé laboratorní vybavení gymnázia (samozřejmě pod dohledem učitele 😉). Postupem času ale plánujeme získat více nástrojů, které budou k dispozici všem členům.
<br />
<br />
<br />
Hlavně jsme ale parta kamarádů a děláme co nás baví. Doufám, že Vám návštěva našich stránek přinese něco užitečného a nakonec už nezbývá než Vám popřát příjemný den.
Za všechny členy Pátku,
[Greenscreener](/authors/greenscreener)
Jsme skupina studentů, kteří se zajímají nejen o informatiku, ale také fyziku, elektrotechniku, radioamatérství, matematiku, biologii a vše co je zajímavé.

View File

@ -1,40 +1,7 @@
---
title: "Home"
date: 2019-07-12T14:54:32+02:00
title: ""
date: 2019-09-08T11:10:18+02:00
draft: false
authors: [ "Greenscreener" ]
authors: [ "unknown" ]
---
<div class="is-construction">
This website is under active development. That means some part of it might be missing and might be subject to change in the future.
Thank you for your understanding.
</div>
# Welcome to the official website of Pátek
While "pátek" is the name of the fifth day of the week in Czech, Pátek is a group of students interested not only in IT and programming but also physics, electrical engineering, amateur radio, math, biology and anything interesting in general. Like [the Friday Men](https://en.wikipedia.org/wiki/Friday_Men) met in Karel Čapek's house every Friday afternoon, we meet every Friday afternoon in one or more classrooms in the grammar school in Brandýs nad Labem after all the sane students have gone home. A big part of these meetings is spent with discussions about absurd topics (e.g. the theory of thought, anti-thought and their mutual annihilation), arguing about controversial topics (e.g. why Linux is unbeatably better than all other OSes) and people tend to work on stuff they procrastinated to the last moments. We also do some *useful* stuff:
### PátekTalks
In the spirit of a known Czech saying, that can be roughly translated to *"Who is good at something does it, who is bad at something teaches it."* students, who know something the others don't, prepare talks about topics they consider interesting. Because most members are conservative computer scientists, most these talks follow this direction, but if there is anyone brave enough, they can stand up to them with their topics.
### Projects
Members of Pátek are a creative bunch, we like to make stuff, bodge stuff and generally mess around. We learn new things and waste time that could be used for much more valuable activities. One of the reasons we had for creating this website was our desire to share our experiences with these projects with other members as well as with unsuspecting members of the public. If you try hard enough, you might even find some interesting information about ongoing and past projects.
### Trips
When there is a chance, we like to go on many trips, for instance to [100vědců](https://100vedcu.cz/).
### PátekPrint
Our grammar school acquired a Prusa RepRap i3 Mk3 3D printer, which is now managed by four members of Pátek. For that reason, we print almost constantly during our meetings and every member can, with the help of more experienced members, design and then print anything. Most people, however, choose to just download a shitty model from [thingiverse](https://thingiverse.com) and print that.
### Programming
As was mentioned before, a big part of our group are programmers, who spend their time staring at the displays of their computers, observing and writing colourful letters that don't make any sense. Besides heated debates about balderdash, they maintain [the grammar school's website](https://gbl.cz) and [this one](/). It doesn't end there though, one of the currently suspended projects is Gomber - an openSource implementation of BoberMan written in Go, with which we discover the basics of this beautiful programming language.
### PátekSpace
One could call our little group a [hackerspace](https://en.wikipedia.org/wiki/Hackerspace). One of the main advantages of a hackerspace is the availability of tools which would otherwise not be feasible to have at home. Currently, we just have the 3D printer and some screwdrivers, but after prior arrangement, we sometimes borrow some of the lab kit that our school owns (obviously under the surveillance of a teacher 😉). In the future, we would like to gather more tools to make available to all members.
<br />
<br />
<br />
But most importantly, we are a bunch of friends doing what we enjoy. I hope that you find something useful on this website and finally, there's nothing else left than wishing you a good day.
Representing all members of Pátek,
[Greenscreener](./authors/greenscreener)

42
content/about.cs.md Normal file
View File

@ -0,0 +1,42 @@
---
title: "O nás"
date: 2019-07-12T14:54:15+02:00
draft: false
authors: [ "Greenscreener" ]
buttonColor: "#1CA620"
menu:
main:
weight: 19
landing:
weight: 1
---
# Vítejte na stránkách Pátku
Zatímco pátek je pátý den v týdnu, Pátek je skupina studentů, kteří se zajímají nejen o informatiku, ale také fyziku, elektrotechniku, radioamatérství, matematiku, biologii a vše co je zajímavé. Stejně jako se [pátečníci](https://cs.wikipedia.org/wiki/P%C3%A1te%C4%8Dn%C3%ADci) Karla Čapka scházeli v jeho vile každé páteční odpoledne, tak se také my scházíme každé páteční odpoledne v jedné či více učebnách brandýského gymnázia poté, co všichni příčetní studenti odejdou domů. Velkou část těchto schůzek trávíme diskusemi o absurdních tématech (např. teorie myšlenky, antimyšlenky a jejich vzájemné anihilace), hádáním se o kontroverzních názorech (např. proč je Linux bezkonkurenčně lepší oproti ostatním operačním systémům) či prací na čemkoliv co, zrovna daný člen nestíhá. Děláme ale také mnoho *bohulibějších* činností:
### Přednášky PátekTalks
Dle známého českého přísloví *„Kdo umí, umí, kdo neumí, učí.“* si členové, kteří vědí něco, co ostatní neví, připravují jednou za čas přednášky o tématech, které jim připadají zajímavé. Vzhledem k tomu, že většina starších členů Pátku jsou konzervativní informatici, se většina přednášek ubírá tímto směrem, avšak kdo má odvahu, může se jim postavit se svým tématem.
### Projekty
Pátkaři jsou tvořivá sebranka, rádi bastlíme, kutíme a vyrábíme. Učíme se tím novým dovednostem a mrháme časem, který bychom jinak strávili něčím užitečnějším. Jedním z důvodů pro vznik těchto stránek byla naše touha podělit se o zkušenosti nabyté v rámci těchto projektů s ostatními Pátečníky, ale také s *normálními* lidmi. Když se tedy budete dostatečně snažit, možná zde najdete nějaké zajímavé informace o proběhlých a probíhajících projektech.
### Výlety
Když se naskytne možnost, rádi vyjíždíme na mnohé výlety za vědou, např. za přednáškovou akcí [100vědců akademie věd ČR](https://100vedcu.cz). Další výlety [zde](/tags/vylet).
### PátekPrint
Gymnázium získalo minulý rok 3D tiskárnu Prusa Reprap i3 Mk3, kterou mají na starosti čtyři členové Pátku. Na Pátcích se proto téměř neustále tiskne a jakýkoli Pátkař má možnost si za pomoci zkušenějších členů cokoliv vymodelovat a následně vytisknout. Většinou ale tiskneme blbinky, co si lidi najdou na [thingiversu](https://thingiverse.com).
### Programování
Jak už bylo zmíněno výše, velká část Pátečníků jsou informatici, kteří tráví svůj volný čas civěním do monitorů svých počítačů na barevná písmenka, která nedávají smysl. Kromě vyhrocených debat o nesmyslech také tvoří [stránky&nbsp;gymnázia](https://gbl.cz) a [tyto&nbsp;stránky](/). Weby to ale nekončí, jedním z momentálně pozastavených projektů je Gomber - openSource implementace BomberMana napsaná v Go, na které se učíme základy tohoto krásného programovacího jazyka.
### PátekSpace
Někteří by naše uskupení dokonce nazvali malý [hackerspace](https://cs.wikipedia.org/wiki/Hackerspace). Jednou z hlavních výhod hackerspaců je dostupnost nástrojů, které jednotliví členové nemohou mít doma. Zatím máme pouze 3D tiskárnu a pár šroubováků, ale po předchozí dohodě si občas půjčujeme některé laboratorní vybavení gymnázia (samozřejmě pod dohledem učitele 😉). Postupem času ale plánujeme získat více nástrojů, které budou k dispozici všem členům.
<br />
<br />
<br />
Hlavně jsme ale parta kamarádů a děláme co nás baví. Doufám, že Vám návštěva našich stránek přinese něco užitečného a nakonec už nezbývá než Vám popřát příjemný den.
Za všechny členy Pátku,
[Greenscreener](/authors/greenscreener)

42
content/about.en.md Normal file
View File

@ -0,0 +1,42 @@
---
title: "About us"
date: 2019-07-12T14:54:32+02:00
draft: false
authors: [ "Greenscreener" ]
buttonColor: "#1CA620"
menu:
main:
weight: 19
landing:
weight: 1
---
# Welcome to the official website of Pátek
While "pátek" is the name of the fifth day of the week in Czech, Pátek is a group of students interested not only in IT and programming but also physics, electrical engineering, amateur radio, math, biology and anything interesting in general. Like [the Friday Men](https://en.wikipedia.org/wiki/Friday_Men) met in Karel Čapek's house every Friday afternoon, we meet every Friday afternoon in one or more classrooms in the grammar school in Brandýs nad Labem after all the sane students have gone home. A big part of these meetings is spent with discussions about absurd topics (e.g. the theory of thought, anti-thought and their mutual annihilation), arguing about controversial topics (e.g. why Linux is unbeatably better than all other OSes) and people tend to work on stuff they procrastinated to the last moments. We also do some *useful* stuff:
### PátekTalks
In the spirit of a known Czech saying, that can be roughly translated to *"Who is good at something does it, who is bad at something teaches it."* students, who know something the others don't, prepare talks about topics they consider interesting. Because most members are conservative computer scientists, most these talks follow this direction, but if there is anyone brave enough, they can stand up to them with their topics.
### Projects
Members of Pátek are a creative bunch, we like to make stuff, bodge stuff and generally mess around. We learn new things and waste time that could be used for much more valuable activities. One of the reasons we had for creating this website was our desire to share our experiences with these projects with other members as well as with unsuspecting members of the public. If you try hard enough, you might even find some interesting information about ongoing and past projects.
### Trips
When there is a chance, we like to go on many trips, for instance to [100vědců](https://100vedcu.cz/).
### PátekPrint
Our grammar school acquired a Prusa RepRap i3 Mk3 3D printer, which is now managed by four members of Pátek. For that reason, we print almost constantly during our meetings and every member can, with the help of more experienced members, design and then print anything. Most people, however, choose to just download a shitty model from [thingiverse](https://thingiverse.com) and print that.
### Programming
As was mentioned before, a big part of our group are programmers, who spend their time staring at the displays of their computers, observing and writing colourful letters that don't make any sense. Besides heated debates about balderdash, they maintain [the grammar school's website](https://gbl.cz) and [this one](/). It doesn't end there though, one of the currently suspended projects is Gomber - an openSource implementation of BoberMan written in Go, with which we discover the basics of this beautiful programming language.
### PátekSpace
One could call our little group a [hackerspace](https://en.wikipedia.org/wiki/Hackerspace). One of the main advantages of a hackerspace is the availability of tools which would otherwise not be feasible to have at home. Currently, we just have the 3D printer and some screwdrivers, but after prior arrangement, we sometimes borrow some of the lab kit that our school owns (obviously under the surveillance of a teacher 😉). In the future, we would like to gather more tools to make available to all members.
<br />
<br />
<br />
But most importantly, we are a bunch of friends doing what we enjoy. I hope that you find something useful on this website and finally, there's nothing else left than wishing you a good day.
Representing all members of Pátek,
[Greenscreener](./authors/greenscreener)

View File

@ -1,7 +1,12 @@
---
title: "Blog"
buttonColor: "#FFDC00"
buttonTextColor: "black"
menu:
main:
weight: 3
landing:
weight: 2
---
V blogu najdete všechny články, které se nám nevešly do ostatních sekcí, zápisy z Pátků, oznámení, výlety, návody, vykecávání se o tom, na čem zrovna pracujeme a mnoho dalšího.

View File

@ -1,7 +1,11 @@
---
title: "Blog"
buttonColor: "#FFDC00"
buttonTextColor: "black"
menu:
main:
weight: 3
landing:
weight: 2
---
The blog contains all the articles we couldn't fit into other sections including what happened during recent Páteks, anouncements, trips, guides, articles about our projects and much more.

16
content/print.cs.md Normal file
View File

@ -0,0 +1,16 @@
---
title: "Print"
date: 2019-09-08T12:45:22+02:00
draft: false
authors: [ "Greenscreener" ]
buttonColor: "#ff7300"
buttonTextColor: "black"
menu:
main:
weight: 9
landing:
weight: 5
title: "<patek-logo title='Print' subtitle='Pátek'></patek-logo>"
---
Gymnázium získalo minulý rok 3D tiskárnu Prusa Reprap i3 Mk3, kterou mají na starosti čtyři členové Pátku. Na Pátcích se proto téměř neustále tiskne a jakýkoli Pátkař má možnost si za pomoci zkušenějších členů cokoliv vymodelovat a následně vytisknout. Většinou ale tiskneme blbinky, co si lidi najdou na [thingiversu](https://thingiverse.com).

14
content/print.en.md Normal file
View File

@ -0,0 +1,14 @@
---
title: "Print"
date: 2019-09-08T12:45:28+02:00
draft: false
authors: [ "Greenscreener" ]
buttonColor: "#ff7300"
buttonTextColor: "black"
menu:
main:
weight: 9
landing:
weight: 5
---
Our grammar school acquired a Prusa RepRap i3 Mk3 3D printer, which is now managed by four members of Pátek. For that reason, we print almost constantly during our meetings and every member can, with the help of more experienced members, design and then print anything. Most people, however, choose to just download a shitty model from [thingiverse](https://thingiverse.com) and print that.

View File

@ -1,7 +1,10 @@
---
title: "Projekty"
buttonColor: "#0F87D7"
menu:
main:
weight: 16
landing:
weight: 4
---
Pátkaři jsou tvořivá sebranka, rádi bastlíme, kutíme a vyrábíme. Učíme se tím novým dovednostem a mrháme časem, který bychom jinak strávili něčím užitečnějším. Jedním z důvodů pro vznik těchto stránek byla naše touha podělit se o zkušenosti nabyté v rámci těchto projektů s ostatními Pátečníky, ale také s *normálními* lidmi. Když se tedy budete dostatečně snažit, možná zde najdete nějaké zajímavé informace o proběhlých a probíhajících projektech.

View File

@ -1,7 +1,11 @@
---
title: "Projects"
buttonColor: "#0F87D7"
menu:
main:
weight: 16
landing:
weight: 4
---
Members of Pátek are a creative bunch, we like to make stuff, bodge stuff and generally mess around. We learn new things and waste time that could be used for much more valuable activities. One of the reasons we had for creating this website was our desire to share our experiences with these projects with other members as well as with unsuspecting members of the public. If you try hard enough, you might even find some interesting information about ongoing and past projects.

14
content/space.cs.md Normal file
View File

@ -0,0 +1,14 @@
---
title: "Space"
date: 2019-09-08T12:54:22+02:00
draft: false
authors: [ "Greenscreener" ]
buttonColor: "#33007f"
menu:
main:
weight: 10
landing:
weight: 6
title: "<patek-logo title='Space' subtitle='Pátek'></patek-logo>"
---
Někteří by naše uskupení dokonce nazvali malý [hackerspace](https://cs.wikipedia.org/wiki/Hackerspace). Jednou z hlavních výhod hackerspaců je dostupnost nástrojů, které jednotliví členové nemohou mít doma. Zatím máme pouze 3D tiskárnu a pár šroubováků, ale po předchozí dohodě si občas půjčujeme některé laboratorní vybavení gymnázia (samozřejmě pod dohledem učitele 😉). Postupem času ale plánujeme získat více nástrojů, které budou k dispozici všem členům.

14
content/space.en.md Normal file
View File

@ -0,0 +1,14 @@
---
title: "Space"
date: 2019-09-08T12:54:30+02:00
draft: false
authors: [ "Greenscreener" ]
buttonColor: "#33007f"
menu:
main:
weight: 10
landing:
weight: 6
title: "<patek-logo title='Space' subtitle='Pátek'></patek-logo>"
---
One could call our little group a [hackerspace](https://en.wikipedia.org/wiki/Hackerspace). One of the main advantages of a hackerspace is the availability of tools which would otherwise not be feasible to have at home. Currently, we just have the 3D printer and some screwdrivers, but after prior arrangement, we sometimes borrow some of the lab kit that our school owns (obviously under the surveillance of a teacher 😉). In the future, we would like to gather more tools to make available to all members.

View File

@ -3,9 +3,14 @@ title: "Talks"
date: 2019-08-06T09:42:55+02:00
draft: false
authors: [ "Greenscreener" ]
buttonColor: "red"
navColor: "red"
menu:
main:
weight: 8
landing:
weight: 3
title: "<patek-logo title='Talks' subtitle='Pátek'></patek-logo>"
---
Dle známého českého přísloví *„Kdo umí, umí, kdo neumí, učí.“* si členové, kteří vědí něco, co ostatní neví, připravují jednou za čas přednášky o tématech, které jim připadají zajímavé. Vzhledem k tomu, že většina starších členů Pátku jsou konzervativní informatici, se většina přednášek ubírá tímto směrem, avšak kdo má odvahu, může se jim postavit se svým tématem.

View File

@ -1,5 +1,5 @@
[footer]
other = "<p>Tyto webové stránky byly vytvořeny s láskou členy Pátku. </p><p><a href='https://gitlab.com/patek-devs/'>Zdrojový kód</a></p><p>Děkujeme moc společnosti <a href='https://www.bigclown.com'>BigClown</a> a především Alanovi Fabikovi za podporu a zapůjčení domény.</p><p>Používáme <a href='https://gohugo.io'>Huga</a> a <a href='https://bulma.io'>Bulmu</a>.</p>"
other = "<p>Tyto webové stránky byly vytvořeny s láskou členy Pátku. </p><p><a href='https://gitlab.com/patek-devs/'>Zdrojový kód</a></p><p>Děkujeme moc společnosti <a href='https://www.bigclown.com'>BigClown</a> a především Alanovi Fabikovi za podporu a zapůjčení domény.</p><p>Používáme <a href='https://gohugo.io'>Huga</a> a <a href='https://bulma.io'>Bulmu</a>.</p><p><a href='/contacts'>Kontakt</a></p>"
[sponsors]
other = "Sponzoři a podporovatelé"

View File

@ -1,5 +1,5 @@
[footer]
other = "<p>This website was made with love by the members of Pátek. </p><p><a href='https://gitlab.com/patek-devs/'>Source code</a></p><p>Huge thanks to <a href='https://www.bigclown.com'>BigClown</a> and especially Alan Fabik for support and for allowing us to use this domain.</p><p>We use <a href='https://gohugo.io'>Hugo</a> and <a href='https://bulma.io'>Bulma</a>.</p>"
other = "<p>This website was made with love by the members of Pátek. </p><p><a href='https://gitlab.com/patek-devs/'>Source code</a></p><p>Huge thanks to <a href='https://www.bigclown.com'>BigClown</a> and especially Alan Fabik for support and for allowing us to use this domain.</p><p>We use <a href='https://gohugo.io'>Hugo</a> and <a href='https://bulma.io'>Bulma</a>.</p><p><a href='/contacts'>Contact</a></p>"
[sponsors]
other = "Sponsors and supporters"

View File

@ -19,7 +19,7 @@ $primary: #0b2a37;
}
}
#home-navbar {
/*#home-navbar {
&:not(.is-fixed-top) {
patek-logo {
font-size: 0;
@ -49,7 +49,85 @@ $primary: #0b2a37;
background-color: $primary;
color: $primary-invert !important;
font-family: 'Fira Code';
}*/
#landing {
background-color: $primary;
color: $primary-invert;
.patek-logo-top {
text-align: center;
font-size: 70px;
padding-top: 40px;
padding-bottom: 30px;
}
.intro {
text-align: center;
font-family: 'Fira Code';
padding-bottom: 30px;
font-size: 1.3em;
}
a {
color: white !important;
}
.column {
display: flex;
justify-content: center;
}
.big-buttons {
max-width: 62em;
}
.big-button {
width: 100%;
height: 12em;
position: relative;
overflow: hidden;
text-align: center;
padding: 1em;
font-family: 'Fira Code';
transition: transform 0.4s;
border-radius: 5px;
font-weight: 500;
max-width: 30em;
&:hover {
transform: scale(1.02);
cursor: pointer;
color: white;
}
h1 {
font-size: 4em;
font-weight: 500;
patek-logo {
position: relative;
top: -10px;
}
}
.front, .back {
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
transition: opacity 0.4s, height 0.4s;
}
.front {
height: 100%;
opacity: 1;
}
.back {
height: 0;
opacity: 0;
}
&:hover, &:focus {
.front {
height: 0;
opacity: 0;
}
.back {
height: 100%;
opacity: 1;
}
}
}
}
.footer {
background-color: $primary;
color: $primary-invert;
@ -59,6 +137,12 @@ $primary: #0b2a37;
h2 {
color: $primary-invert;
}
a {
color: #73A0E7;
&:hover {
color: white;
}
}
}
.author-media {
margin-bottom: 15px;

View File

@ -1,7 +1,7 @@
{{ define "title" }} Pátek {{ end }}
{{ define "body" }}
<!--
<div class="hero is-primary">
<div class="hero-body">
<div class="container">
@ -25,5 +25,69 @@
</div>
{{ partial "footer.html" . }}
{{ partial "js.html" "js/home.js"}}
-->
<div id="landing">
<div class="patek-logo-top">
<patek-logo></patek-logo>
</div>
<div class="intro container">
<section class="section">
{{ .Content }}
</section>
</div>
<div class="big-buttons container">
<section class="section columns is-multiline">
{{ range .Site.Menus.landing }}
<div class="column is-6">
<a href="{{ .URL }}">
<div class="big-button" style="background-color: {{ .Page.Params.buttonColor }}; color: {{ .Page.Params.buttonTextColor | default "white" }}">
<div class="front">
<h1>{{ safeHTML .Title }}</h1>
</div>
<div class="back">
{{ .Page.Summary | truncate 200 }}
</div>
</div>
</a>
</div>
{{ end }}
<!--
<div class="column is-6">
<div class="big-button">
<div class="front">
<h1><patek-logo title="Talks" subtitle="Pátek"></patek-logo></h1>
</div>
<div class="back">
{{ (.Site.GetPage "about").Summary | truncate 250 }}
</div>
</div>
</div>
<div class="column is-6">
<div class="big-button">
<div class="front">
<h1>O nás</h1>
</div>
<div class="back">
{{ (.Site.GetPage "about").Summary | truncate 250 }}
</div>
</div>
</div>
<div class="column is-6">
<div class="big-button">
<div class="front">
<h1>O nás</h1>
</div>
<div class="back">
{{ (.Site.GetPage "about").Summary | truncate 250 }}
</div>
</div>
</div>
-->
</section>
</div>
</div>
{{ partial "footer.html" . }}
{{ end }}