Move all content to one page, update menu, change code color

This commit is contained in:
Michał Rudowicz 2025-02-26 22:34:15 +01:00
parent 198e885597
commit 3ba8295d8c
6 changed files with 56 additions and 84 deletions

View File

@ -2,20 +2,6 @@ main:
- name: "Strona Główna"
url: "/"
weight: 1
- name: "Forum"
url: "https://forum.hswro.org/"
weight: 2
- name: "Kontakt"
url: "/kontakt"
weight: 10
footer:
- name: "Strona Główna"
url: "/"
weight: 1
- name: "Forum"
url: "https://forum.hswro.org/"
weight: 2
- name: "Kontakt"
url: "/kontakt"
url: "/#kontakt"
weight: 10

20
_includes/features.html Normal file
View File

@ -0,0 +1,20 @@
{% if site.data.features %}
<h1>Siedziba</h1>
<div class="container">
<div class="row justify-content-center">
{% for feature in site.data.features %}
<div class="col-12 col-md-6 col-lg-4 mb-2">
<div class="feature">
{% if feature.image %}
<div class="feature-image"><img alt="{{ feature.title }} logo" src="{{ feature.image.url | relative_url }}" width="{{ feature.image.width }}" height="{{ feature.image.height }}" /></div>
{% endif %}
<h2 class="feature-title">{{ feature.title }}</h2>
<div class="feature-content">{{ feature.description }}</div>
</div>
</div>
{% endfor %}
</div>
</div>
{% endif %}

View File

@ -3,45 +3,10 @@ layout: default
bodyClass: "page-home"
---
<div class="container">
<div class="row justify-content-start">
<div class="content">
<!--<div class="col-12 col-md-7 col-lg-6 order-2 order-md-1">-->
{{ content }}
{% if page.show_call_box %}
{% include call.html show_button=true %}
{% endif %}
<!--</div>-->
{% if page.intro_image %}
<!--<div class="col-12 col-md-5 col-lg-6 order-1 order-md-2 position-relative">
<img alt="{{ page.title }}" class="intro-image{% if page.intro_image_absolute %} intro-image-absolute{% endif %}{% if page.intro_image_hide_on_mobile %} intro-image-hide-mobile{% endif %}" src="{{ page.intro_image | relURL }}" />
</div>-->
{% endif %}
{{ content }}
</div>
</div>
</div>
{% if site.data.features %}
<div class="content">
<div class="strip strip-grey">
<div class="container pt-6 pb-6 pt-md-10 pb-md-10">
<div class="row justify-content-center">
<h1>Siedziba</h1>
{% for feature in site.data.features %}
<div class="col-12 col-md-6 col-lg-4 mb-2">
<div class="feature">
{% if feature.image %}
<div class="feature-image"><img alt="{{ feature.title }} logo" src="{{ feature.image.url | relative_url }}" width="{{ feature.image.width }}" height="{{ feature.image.height }}" /></div>
{% endif %}
<h2 class="feature-title">{{ feature.title }}</h2>
<div class="feature-content">{{ feature.description }}</div>
</div>
</div>
{% endfor %}
</div>
</div>
</div></div>
{% endif %}

View File

@ -115,3 +115,7 @@ body {
line-height: 1.3;
}
}
code {
color: #000;
}

View File

@ -19,3 +19,33 @@ Członkostwo w stowarzyszeniu daje Ci następujące benefity:
Co środę spotykamy się w naszym warsztacie na spotkaniach otwartych. Zaczynają się o 19:00 i trwają do ostatniego hackera. Jeśli chcesz się z nami spotkać twarzą w twarz, porozmawiać i zobaczyć naszą siedzibę jest to świetny termin do odwiedzin.
{% include features.html %}
# Kontakt
Najłatwiej się z nami skontaktować na czacie. Mamy połączone kanały na różnych platformach:
[Telegram](https://t.me/hackerspace_wroclaw), [Matrix #public:hswro.org](https://matrix.to/#/#public:hswro.org), [IRC #hswro@libera](irc://irc.libera.chat/hswro), [XMPP hswro_public@muc.jix.im](xmpp:hswro_public@muc.jix.im?join)
Do spraw wartych udokumentowania i omawiania projektów używamy [Forum](https://forum.hswro.org)
Mamy również konta na kilku platformach społecznościowych:
[Meetup](https://www.meetup.com/hackerspace-wrocław), [Facebook](https://www.facebook.com/HackerspaceWroclaw), [Mobilizon (fediverse)](https://mobilizon.pl/@hswro)
Do oficjalnego kontaktu służy e-mail: [kontakt@hswro.org](mailto:kontakt@hswro.org)
Aby sprawdzić, czy ktoś akurat jest w naszej siedzibie możesz zadzwonić na telefon stacjonarny: [+48 717072457](tel:+48717072457)
Jeśli chcesz nas odwiedzić zapraszamy w każdą środę od 19 na teren dawnej zajezdni tramwajowej.
Stowarzyszenie Hackerspace Wrocław
ul. Wróblewskiego 38
51-627 Wrocław
NIP: `8943058081`
KRS: `0000531222`
REGON: `360286977`
# Wsparcie
Jeśli chcesz nas wesprzeć finansowo, możesz przekazać darowiznę na cele statutowe na nasze konto.
Numer konta: `27 1050 1575 1000 0090 8049 7895`

View File

@ -1,33 +0,0 @@
---
title: Hackerspace Wrocław - Kontakt
layout: page
---
# Kontakt
Najłatwiej się z nami skontaktować na czacie. Mamy połączone kanały na różnych platformach:
[Telegram](https://t.me/hackerspace_wroclaw), [Matrix #public:hswro.org](https://matrix.to/#/#public:hswro.org), [IRC #hswro@libera](irc://irc.libera.chat/hswro), [XMPP hswro_public@muc.jix.im](xmpp:hswro_public@muc.jix.im?join)
Do spraw wartych udokumentowania i omawiania projektów używamy [Forum](https://forum.hswro.org)
Mamy również konta na kilku platformach społecznościowych:
[Meetup](https://www.meetup.com/hackerspace-wrocław), [Facebook](https://www.facebook.com/HackerspaceWroclaw), [Mobilizon (fediverse)](https://mobilizon.pl/@hswro)
Do oficjalnego kontaktu służy e-mail: [kontakt@hswro.org](mailto:kontakt@hswro.org)
Aby sprawdzić, czy ktoś akurat jest w naszej siedzibie możesz zadzwonić na telefon stacjonarny: [+48 717072457](tel:+48717072457)
Jeśli chcesz nas odwiedzić zapraszamy w każdą środę od 19 na teren dawnej zajezdni tramwajowej.
Stowarzyszenie Hackerspace Wrocław
ul. Wróblewskiego 38
51-627 Wrocław
NIP: `8943058081`
KRS: `0000531222`
REGON: `360286977`
# Wsparcie
Jeśli chcesz nas wesprzeć finansowo, możesz przekazać darowiznę na cele statutowe na nasze konto.
Numer konta: `27 1050 1575 1000 0090 8049 7895`