Skip to content

Commit

Permalink
Wincyj autorów, wincyj talków, wincyj linków, wincyj wszystkiego.
Browse files Browse the repository at this point in the history
- Stworzenie brakujących list z rozgraniczeniem na prelegentów i konstruktorów,
- Lista talków z lat poprzednich
- Próba zunifikowania navbara, prawdopodobnie do zastąpienia pojedynczymi tekstami na stronach, które kontekstowo ujawnią linki (zamiast navbara którego mądre ostylowanie pod kątem mobilek będzie ciężkie (dla mnie))
- talks -> program, zeszloroczny program sio
- pojedyncze małe pierdołki
  • Loading branch information
Wiktor committed Jun 26, 2024
1 parent fcd1a3c commit caac4a1
Show file tree
Hide file tree
Showing 47 changed files with 888 additions and 353 deletions.
2 changes: 1 addition & 1 deletion _authors/SP5OSP.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: author
author: SP5OSP
author: sp5osp
title: ""
---
2 changes: 1 addition & 1 deletion _authors/SP9GMD.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: author
author: SP9GMD
author: sp9gmd
title: ""
---
2 changes: 1 addition & 1 deletion _authors/SQ6POG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: author
author: SQ6POG
author: sq6pog
title: ""
---
5 changes: 5 additions & 0 deletions _authors/sp7giq.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
layout: author
author: sp7giq
title: ""
---
5 changes: 5 additions & 0 deletions _authors/sp8ebc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
layout: author
author: sp8ebc
title: ""
---
5 changes: 5 additions & 0 deletions _authors/sp9bit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
layout: author
author: sp9bit
title: ""
---
5 changes: 5 additions & 0 deletions _authors/sp9gnm.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
layout: author
author: sp9gnm
title: ""
---
5 changes: 5 additions & 0 deletions _authors/sq3swf.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
layout: author
author: sq3swf
title: ""
---
2 changes: 1 addition & 1 deletion _authors/sq9njl.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: author
author: SQ9NJL
author: sq9njl
title: ""
---
5 changes: 5 additions & 0 deletions _authors/sq9zbf.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
layout: author
author: SQ9ZBF
title: ""
---
71 changes: 66 additions & 5 deletions _data/authors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,12 @@ sq7hjb:
url: "https://www.qrz.com/db/sq7hjb"

ekipa:
name : "Ekipa zjazdu"
name : "Zjazd Techniczny Krótkofalowców"
avatar : "/assets/images/zjazd.png"
bio : "Wolontariusze odpowiedzialni za ten cały bałagan"
email : [email protected]
authorpage : "/authors/ekipa"
invisible : yes
links:
- label: "Facebook"
icon: "fab fa-fw fa-facebook-square"
Expand Down Expand Up @@ -765,39 +766,99 @@ spotc:
## begin SP9GMD
sp9gmd:
name : Filip
avatar : "/assets/images/zjazd.png"
callsign : SP9GMD
constructor : yes
speaker : yes
authorpage : "/authors/sp9gmd"

## end SP9GMD

## begin SP5OSP
sp5osp:
name : Michał
avatar : "/assets/images/zjazd.png"
callsign : SP5OSP
constructor : yes
speaker : yes
authorpage : "/authors/sp5osp"

## end SP5OSP

## begin SQ6POG
sq6pog:
name : Paweł
avatar : "/assets/images/zjazd.png"
callsign : SQ6POG
constructor : yes
speaker : yes
authorpage : "/authors/sq6pog"

## end SQ6POG

## begin SQ9NJL
sq9njl:
name : Maciek
avatar : "/assets/images/zjazd.png"
callsign : SQ9NJL
constructor : yes
speaker : yes
authorpage : "/authors/sq9njl"

## end SQ9NJL

## begin SP9GNM
sp9gnm:
name : Władysław
callsign : SP9GNM
constructor : yes
speaker : yes
authorpage : "/authors/sp9gnm"

## end SP9GNM

## begin SP7GIQ
sp7giq:
name : Krzysztof
callsign : SP7GIQ
constructor : yes
speaker : yes
authorpage : "/authors/sp7giq"

## end SP7GIQ

## begin SQ3SWF
sq3swf:
name : Olgierd
callsign : SQ3SWF
constructor : yes
speaker : yes
authorpage : "/authors/sq3swf"

## end SQ3SWF

## begin SP9BIT
sp9bit:
name : Marcin
callsign : SP9BIT
constructor : yes
speaker : yes
authorpage : "/authors/sp9bit"

## end SP9BIT

## begin SQ9ZBF
sq9zbf:
name : Magda
callsign : SQ9ZBF
constructor : yes
speaker : yes
authorpage : "/authors/sq9zbf"

## end SQ9ZBF

## begin SP8EBC
sp8ebc:
name : Mateusz
callsign : SP8EBC
constructor : yes
speaker : yes
authorpage : "/authors/sp8ebc"

## end SP8EBC
2 changes: 1 addition & 1 deletion _data/navigation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ main:
- title: "FAQ"
url: /najwazniejsze
- title: "Program"
url: /talks
url: /program
- title: "Lokalizacja"
url: /venue
- title: "Rejestracja"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% assign collection = site['puk'] %}
{% assign collection = site[include.current_collection] %}
{% assign specified_author = include.current_author[0] %}
{% assign author_count = 0 %}

Expand Down
12 changes: 12 additions & 0 deletions _includes/small_nav.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!--
<br><br>
<a href="/puk" class="btn btn--info btn--small">PUK</a>
<a href="/puk/constructors" class="btn btn--success btn--small">Konstruktorzy</a>
<a href="#" class="btn btn--primary btn--small">Projekty</a>
<a href="#" class="btn btn--primary btn--small">Edycje</a>
<a href="#" class="btn btn--primary btn--small">Historia</a>
<a href="/program" class="btn btn--info btn--small">Program</a>
<a href="/speakers" class="btn btn--success btn--small">Prelegenci</a>
<a href="/talks" class="btn btn--primary btn--small">Wszystkie wystąpienia</a>
<a href="/staff" class="btn btn--success btn--small">Organizatorzy</a>
<a href="/authors" class="btn btn--success btn--small">Wszyscy</a><br><br> -->
69 changes: 69 additions & 0 deletions _pages/authors.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
---
layout: collection
permalink: /authors/
collection: authors
entries_layout: grid
author: sq9wtf
---

<h1>Autorzy (konstruktorzy, prelegenci i organiztorzy)</h1>
{% include small_nav.html %}

<div class="participants-container">
{% for f in site.data.authors %}
{% unless f[1].invisible %}
<div class="participant">

{% if f[1].avatar %}
{% assign img_src = f[1].avatar | relative_url %}
{% assign img_alt = f[1].name %}
{% assign img_style = "" %}
{% else %}
{% assign img_src = 'assets/images/zjazd.png' | relative_url %}
{% assign img_alt = "Zaślepka" %}
{% assign img_style = "opacity: 0.4;" %}
{% endif %}

{% assign img_class = "u-photo" %}
{% if f[1].sk %}
{% assign img_class = img_class | append: " sk" %}
{% endif %}

<img src="{{ img_src }}" itemprop="image" class="{{ img_class }}" style="{{ img_style }}" alt="{{ img_alt }}">


{% if f[1].first_name %}
{% assign display_name = f[1].first_name %}
{% elsif f[1].name %}
{% assign display_name = f[1].name %}
{% endif %}

{% if display_name %}
{% if f[1].sk %}
{% assign display_name = display_name | append: " (SK)" %}
{% endif %}
<h2 class="archive__item-title">{{ display_name }}
{% if f[1].callsign %}
<small style="color: rgb(212, 212, 212);">{{ f[1].callsign }}</small>
{% endif %}
</h2>
{% endif %}

{% if f[1].constructor_bio %}
<div class="constructor-bio"> {{ f[1].constructor_bio | markdownify }} </div>
{% endif %}

{% capture project_count %}
{% include author_count.html current_author=f current_collection='puk'%}
{% endcapture %}

{% capture talk_count %}
{% include author_count.html current_author=f current_collection='talks'%}
{% endcapture %}

<p><a href="/authors/{{ f[0] }}" class="page__taxonomy-item p-category">Projektów: {{ project_count }}, Wystąpień: {{ talk_count }}</a></p>

</div>
{% endunless %}
{% endfor %}
</div>
6 changes: 4 additions & 2 deletions _pages/constructors.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
author: sq9wtf
---

<h1>Szanowni konstruktorzy</h1>
<h1>Konstruktorzy, którzy brali udział w konkursie PUK</h1>
{% include small_nav.html %}


<div class="participants-container">
{% for f in site.data.authors %}
Expand Down Expand Up @@ -53,7 +55,7 @@ <h2 class="archive__item-title">{{ display_name }}
{% endif %}

{% capture project_count %}
{% include constructor_count.html current_author=f %}
{% include author_count.html current_author=f current_collection='puk' %}
{% endcapture %}

<p><a href="/authors/{{ f[0] }}" class="page__taxonomy-item p-category">Projektów: {{ project_count }}</a></p>
Expand Down
Loading

0 comments on commit caac4a1

Please sign in to comment.