Skip to content

Commit f03d2fd

Browse files
authored
Dev 2020.11b (#95)
1 parent 877b81b commit f03d2fd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+497
-299
lines changed

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# - code version (name) / repository
55
# - name convention based on https://en.wikipedia.org/wiki/Ubuntu_version_history#Release_history
66
code:
7-
version: 2020.11a
7+
version: 2020.11b
88
name: Dapper Drake LTS
99
hosted: "https://github.com/"
1010
repository: "jaandrle/jaandrle.github.io"

_data/abbr.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ HTML: <abbr title="HyperText Markup Language"><a href="https://developer.mozilla
55
IDE: <abbr title="Integrated Development Environment = Vývojové prostředí"><a href="https://cs.wikipedia.org/wiki/V%C3%BDvojov%C3%A9_prost%C5%99ed%C3%AD" target="_blank" rel="nofolow">IDE</a></abbr>
66
JS: <abbr title="JavaScript"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript" target="_blank" rel="nofolow">JS</a></abbr>
77
JSON: <abbr title="JavaScript Object Notation"><a href="https://www.json.org/json-en.html" target="_blank" rel="nofolow">JSON</a></abbr>
8+
JSX: <abbr title="JavaScript XML"><a href="https://en.wikipedia.org/wiki/React_(web_framework)#JSX" target="_blank" rel="nofolow">JSX</a></abbr>
89
MIME_typ: <abbr title="Multipurpose Internet Mail Extensions type, česky „typ víceúčelového rozšíření internetové pošty“"><a href="https://cs.wikipedia.org/wiki/Typ_internetov%C3%A9ho_m%C3%A9dia" target="_blank" rel="nofolow">MIME typ</a></abbr>
910
PHP: <abbr title="Hypertext Preprocessor"><a href="https://cs.wikipedia.org/wiki/PHP" target="_blank" rel="nofolow">PHP</a></abbr>
1011
SVG: <abbr title="Scalable Vector Graphics"><a href="https://developer.mozilla.org/en-US/docs/Glossary/SVG" target="_blank" rel="nofolow">SVG</a></abbr>

_data/reference/react_2020.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
minimal_react:
2+
caption: "Minimal React: getting started with the frontend library"
3+
href: "https://2ality.com/2020/08/minimal-react.html"
4+
description: "
5+
Článek popisuje jak začít s Reactem s co nejmenším počtem knihoven (např. bez JSX).
6+
Idea je, aby to bylo co nejvíce vstřícné pro „začátečníky”.
7+
Autorem je [Dr. Axel Rauschmayer](http://dr-axel.de/)."
8+
thinking_react_2020:
9+
caption: "Thinking in React: The 2020 version"
10+
href: "https://dev.to/lukeshiru/thinking-in-react-the-2020-version-4c18"
11+
description: "Série článků popisující tvorbu React JS aplikací již bez tříd („2020 verze”)."
12+
RFS_alternative_docs:
13+
caption: "Alternativní „kopie” oficiální dokumentace s příklady již bez tříd."
14+
href: "https://reactwithhooks.netlify.app/tutorial/tutorial.html"
15+
RH_official:
16+
caption: "Introducing Hooks"
17+
href: "https://reactjs.org/docs/hooks-intro.html"
18+
description: "Oficiální dokumentace věnovaná *Hooks*."
19+
RFS_guide:
20+
caption: "React Function Components"
21+
href: "https://www.robinwieruch.de/react-function-component"
22+
description: "Již komplexnější návod, který už mlčky předpokládá některé znalosti „staršího” Reactu."
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<h2 class="margin__0"><span class="C__visuallyHide">{{include.headline}} </span>{{include.icon}}</h2>
1+
<h2 class="margin__0"> <span class="C__visuallyHide">{{include.headline }} </span>{{include.icon}} </h2>

_includes/i/atom_comments.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
%}{% assign post_url= page.url | prepend: site.url | url_encode
33
%}{% assign link_params= ' target="_blank" rel="nofolow"'
44
%}{% assign id_post= page.date | date: "%-Y%-m%-d%-H%-M%-S"
5-
%}{% assign id= "jablog_" | append: id_post -%}
6-
<div class="C__asideInfo">
7-
{% include i/atom_asideHeadline.html headline="Komentáře" icon=":speech_balloon:" %}
8-
<a href="https://twitter.com/search?q=(%23{{id}})(%40{{user_twitter}})&src=typed_query" {% comment %}{% endcomment
5+
%}{% assign id= "jablog_" | append: id_post
6+
%}{{_S}}<div class="C__asideInfo">
7+
{{_S}} {% include i/atom_asideHeadline.html headline="Komentáře" icon=":speech_balloon:" %}
8+
{{_S}} <a href="https://twitter.com/search?q=(%23{{id}})(%40{{user_twitter}})&src=typed_query" {% comment %}{% endcomment
99
%}title="Tweety s tagem {{id}} (identifikující tento příspěvek) a se zmínkou @{{user_twitter}} (můj účet)"{% comment %}{% endcomment
1010
%}{{link_params}}>Reakce na Twitteru</a>
11-
<br>
12-
<a href="https://twitter.com/intent/tweet?hashtags={{id}}&url={{post_url}}&screen_name={{user_twitter}}" {% comment %}{% endcomment
11+
{{_S}} <br>
12+
{{_S}} <a href="https://twitter.com/intent/tweet?hashtags={{id}}&url={{post_url}}&screen_name={{user_twitter}}" {% comment %}{% endcomment
1313
%}title="Vytvořit tweet s tagem {{id}} (identifikující tento příspěvek) a se zmínkou @{{user_twitter}} (můj účet)"{% comment %}{% endcomment
1414
%}{{link_params}}>Twítnout postřeh</a>
15-
</div>
15+
{{_S}}</div>

_includes/i/atom_criticalCSS.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
height: 1.25em;}
2727

2828
body, select, input{
29+
font-family: "Lucida Console", Monaco, monospace;
2930
color: #eee;
3031
background: #2b2b2b;}
3132
a{

_includes/i/atom_dateFullCzech.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{%- capture strip_atom %}
2-
{% assign m = include.date | date: "%-m" %}
2+
{% assign m = include.date | date: "%-m" -%}
33
{% capture time_inner -%}
44
{{ include.date | date: "%-d" }}. {%
55
case m -%}
@@ -19,4 +19,4 @@
1919
{%- endcapture
2020
%}{% endcapture
2121
%}{% assign strip_atom= nil
22-
%}<time datetime="{{ include.date | date: '%Y-%m-%d' }}">{{ time_inner }}</time>
22+
%}<time datetime="{{ include.date | date: '%Y-%m-%d' }}">{{ time_inner }}</time>

_includes/i/atom_formSearch.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<form method="get" id="search" action="https://duckduckgo.com/" class="clearfix display__f flexF__rW justifyC__fE">
2-
<input type="hidden" name="sites" value="{{ site.url }}"/>
3-
<label class="flex__1 minW__75">{%comment%}{%endcomment
1+
{% assign _S= include.spaces %}<form method="get" id="search" action="https://duckduckgo.com/" class="clearfix display__f flexF__rW justifyC__fE">
2+
{{_S}} <input type="hidden" name="sites" value="{{ site.url }}"/>
3+
{{_S}} <label class="flex__1 minW__75">{%comment%}{%endcomment
44
%}<span class="C__visuallyHide">Vyhledat na blogu</span>{%comment%}{%endcomment
55
%} <input class="width__100 margin__0" type="text" name="q" maxlength="300" placeholder="Zapište hledané výrazy…"/>{%comment%}{%endcomment
66
%}</label>
7-
<input type="hidden" name="kae" value="#252525" />
8-
<button type="submit" class="C__button float__r marginL__1" >Vyhledat</button>
9-
</form>
7+
{{_S}} <input type="hidden" name="kae" value="#252525" />
8+
{{_S}} <button type="submit" class="C__button float__r marginL__1" >Vyhledat</button>
9+
{{_S}}</form>
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<div class="C__asideInfo">
2-
{% include i/atom_asideHeadline.html headline="Předchozí/Následující" icon=":calendar:"
1+
{{_S}}<div class="C__asideInfo">
2+
{{_S}} {% include i/atom_asideHeadline.html headline="Předchozí/Následující" icon=":calendar:"
33
%}{% assign previous_name= "Předchozí"
44
%}{% assign previous= page.previous
55
%}{% unless previous
@@ -12,7 +12,7 @@
1212
%}{% assign next_name= "Nejstarší"
1313
%}{% assign next= site.posts | last
1414
%}{% endunless %}
15-
<a rel="prev" href="{{previous.url}}" title="{{previous.title}}">{{previous_name}}</a>
16-
<br>
17-
<a rel="next" href="{{next.url}}" title="{{next.title}}">{{next_name}}</a>
18-
</div>
15+
{{_S}} <a rel="prev" href="{{previous.url}}" title="{{previous.title}}">{{previous_name}}</a>
16+
{{_S}} <br>
17+
{{_S}} <a rel="next" href="{{next.url}}" title="{{next.title}}">{{next_name}}</a>
18+
{{_S}}</div>
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{% assign link_repo= site.code.hosted | append: site.code.repository -%}
2-
{% assign link_file= "/tree/master/" | append: page.path -%}
3-
<div class="C__asideInfo">
4-
{% include i/atom_asideHeadline.html headline="Upravit/Nahlásit chybu" icon=":pencil2:" %}
2+
{% assign link_file= "/tree/master/" | append: page.path
3+
%}{{_S}}<div class="C__asideInfo">
4+
{{_S}} {% include i/atom_asideHeadline.html headline="Upravit/Nahlásit chybu" icon=":pencil2:" %}
55
{%- if page.issue %}
6-
<a href="{{link_repo}}/issues/{{ page.issue }}" target="_blank" rel="nofolow" title="Odkaz na „zadání” tohoto příspěvku v Github Issues">#{{ page.issue }}</a>
7-
<br>
6+
{{_S}} <a href="{{link_repo}}/issues/{{ page.issue }}" target="_blank" rel="nofolow" title="Odkaz na „zadání” tohoto příspěvku v Github Issues">#{{ page.issue }}</a>
7+
{{_S}} <br>
88
{%- endif %}
9-
<a href="{{link_repo}}{{link_file}}" target="_blank" rel="nofolow" title="Odkaz na zdrojový soubor na GitHubu">Zdrojový soubor</a>
10-
</div>
9+
{{_S}} <a href="{{link_repo}}{{link_file}}" target="_blank" rel="nofolow" title="Odkaz na zdrojový soubor na GitHubu">Zdrojový soubor</a>
10+
{{_S}}</div>

0 commit comments

Comments
 (0)