Merge branch 'vojta001/patek-logo-fallback' into 'master'

Provide fallback values for <patek-logo>s

See merge request patek-devs/patek.cz!21
This commit is contained in:
Vojtěch Káně 2020-05-14 18:04:53 +00:00
commit 076ae393ba
10 changed files with 15 additions and 9 deletions

View File

@ -10,7 +10,7 @@ menu:
weight: 9
landing:
weight: 5
title: "<patek-logo title='Print' subtitle='Pátek'></patek-logo>"
title: "<patek-logo title='Print' subtitle='Pátek'>Print</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).

View File

@ -10,7 +10,7 @@ menu:
weight: 9
landing:
weight: 5
title: "<patek-logo title='Print' subtitle='Pátek'></patek-logo>"
title: "<patek-logo title='Print' subtitle='Pátek'>Print</patek-logo>"
---
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

@ -9,6 +9,6 @@ menu:
weight: 10
landing:
weight: 6
title: "<patek-logo title='Space' subtitle='Pátek'></patek-logo>"
title: "<patek-logo title='Space' subtitle='Pátek'>Space</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.

View File

@ -9,6 +9,6 @@ menu:
weight: 10
landing:
weight: 6
title: "<patek-logo title='Space' subtitle='Pátek'></patek-logo>"
title: "<patek-logo title='Space' subtitle='Pátek'>Space</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

@ -10,7 +10,7 @@ menu:
weight: 8
landing:
weight: 4
title: "<patek-logo title='Talks' subtitle='Pátek'></patek-logo>"
title: "<patek-logo title='Talks' subtitle='Pátek'>Talks</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 skalní 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

@ -11,7 +11,7 @@ menu:
weight: 8
landing:
weight: 4
title: "<patek-logo title='Talks' subtitle='Pátek'></patek-logo>"
title: "<patek-logo title='Talks' subtitle='Pátek'>Talks</patek-logo>"
---
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.

View File

@ -319,4 +319,10 @@ h2 a {
max-height: 30rem;
}
}
patek-logo {
// Fallback in case CustomElements or JS aren't available.
font-family: 'Fira Code', monospace;
font-weight: bold;
}
// /Custom styles

View File

@ -5,6 +5,6 @@
<h3>Wut? The page you were looking for is not here. Either you can't type or we can't code. Or both.</h3>
</div>
<br>
<patek-logo class="logo404" title="404"></patek-logo>
<patek-logo class="logo404" title="404">404</patek-logo>
</div>
{{ end }}

View File

@ -28,7 +28,7 @@
-->
<div id="landing">
<div class="patek-logo-top">
<patek-logo></patek-logo>
<patek-logo>Pátek</patek-logo>
</div>
<div class="intro container">
<section class="section">

View File

@ -2,7 +2,7 @@
<nav id="main-menu-bar" class="navbar is-primary">
<div class="container">
<div class="navbar-brand">
<a href="{{ .Site.Home.Permalink }}" class="navbar-item"><patek-logo></patek-logo></a>
<a href="{{ .Site.Home.Permalink }}" class="navbar-item"><patek-logo>Pátek</patek-logo></a>
<div class="navbar-burger" id="main-menu-burger" onclick="document.querySelectorAll('#main-menu, #main-menu-burger').forEach(function (value) { value.classList.toggle('is-active') })">
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>