1
0
Fork 0

Compare commits

...

6 Commits

14 changed files with 23 additions and 125 deletions

View File

@ -12,6 +12,8 @@ Alternative is to use docker/podman. In the repo directory:
docker run -p="4000:4000" --volume="$PWD:/data:Z" -it git.hswro.org/hswro/hswro_org_build:latest docker run -p="4000:4000" --volume="$PWD:/data:Z" -it git.hswro.org/hswro/hswro_org_build:latest
``` ```
Preview should be available on `http://localhost:4000` .
### Doesn't work for me or I'm too lazy to do it ### Doesn't work for me or I'm too lazy to do it
Forgejo Actions should generate it for you, then you should be able to download the compressed website ready for viewing locally. Forgejo Actions should generate it for you, then you should be able to download the compressed website ready for viewing locally.

View File

@ -37,6 +37,11 @@
}, },
{ {
"title": "Spawalnia", "title": "Spawalnia",
"description": "Znajduje się najgłębszych zakamarkach Hackerspace. Właśnie tam stworzyliśmy niektóre z naszych mebli, na przykład stół do frezarki CNC." "description": "Znajduje się najgłębszych zakamarkach Hackerspace. Właśnie tam stworzyliśmy niektóre z naszych mebli, na przykład stół do frezarki CNC.",
"image": {
"url": "images/photos/spawalnia.jpeg",
"width": 350,
"height": 350
}
} }
] ]

View File

@ -11,14 +11,6 @@
<a href="{{ site.baseurl }}"><img width="{{ site.logo.mobile_footer_width }}" height="{{ site.logo.mobile_footer_height }}" alt="{{ site.title }}" src="{{ site.logo.mobile | relative_url }}" /></a> <a href="{{ site.baseurl }}"><img width="{{ site.logo.mobile_footer_width }}" height="{{ site.logo.mobile_footer_height }}" alt="{{ site.title }}" src="{{ site.logo.mobile | relative_url }}" /></a>
</div> </div>
</h2> </h2>
<ul>
{% assign footermenu = site.data.menus.footer | sort: 'weight' %}
{% for item in footermenu %}
<li class="{% if item.url == page.url %}active{% endif %}">
<a href="{{ item.url | relative_url }}">{{ item.name }}</a>
</li>
{% endfor %}
</ul>
</div> </div>
</div> </div>
</div> </div>

View File

@ -1,5 +0,0 @@
<button id="toggle-main-menu-mobile" class="hamburger hamburger--slider" type="button" aria-label="Mobile Menu">
<span class="hamburger-box">
<span class="hamburger-inner"></span>
</span>
</button>

View File

@ -7,6 +7,5 @@
<a href="{{ site.baseurl }}"><img width="{{ site.logo.mobile_width }}" height="{{ site.logo.mobile_height }}" alt="{{ site.title }}" src="{{ site.logo.mobile | relative_url }}" /></a> <a href="{{ site.baseurl }}"><img width="{{ site.logo.mobile_width }}" height="{{ site.logo.mobile_height }}" alt="{{ site.title }}" src="{{ site.logo.mobile | relative_url }}" /></a>
</div> </div>
{% include main-menu.html %} {% include main-menu.html %}
{% include hamburger.html %}
</div> </div>
</div> </div>

View File

@ -1,10 +0,0 @@
<div id="main-menu-mobile" class="main-menu-mobile">
{% assign mainmenu = site.data.menus.main | sort: 'weight' %}
<ul>
{% for item in mainmenu %}
<li class="{% if item.url == page.url %}active{% endif %}">
<a href="{{ item.url | relative_url }}">{{ item.name }}</a>
</li>
{% endfor %}
</ul>
</div>

View File

@ -5,9 +5,6 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>{% if page.title %}{{page.title}}{% else %}{{ site.title | escape }}{% endif %}</title> <title>{% if page.title %}{{page.title}}{% else %}{{ site.title | escape }}{% endif %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<!--<link rel="icon" type="image/png" href="{{ '/images/favicon-32x32.svg' | relative_url }}">-->
<!-- Self host font -->
<!-- <link rel="preload" href="{{ '/assets/fonts/playfair-display.woff2' | relative_url }}" as="font" type="font/woff2" crossorigin> -->
<link href="{{ '/assets/css/style.css' | relative_url }}" rel="stylesheet"> <link href="{{ '/assets/css/style.css' | relative_url }}" rel="stylesheet">
{% if page.description %}<meta name="description" content="{{ page.description }}" />{% endif %} {% if page.description %}<meta name="description" content="{{ page.description }}" />{% endif %}
@ -23,7 +20,6 @@
</head> </head>
<body class='page {{layout.bodyClass}}'> <body class='page {{layout.bodyClass}}'>
{% include main-menu-mobile.html %}
<div id="wrapper" class="wrapper"> <div id="wrapper" class="wrapper">
{% include header.html headerClass='header-extra' %} {% include header.html headerClass='header-extra' %}
{{content}} {{content}}

View File

@ -21,7 +21,7 @@
.feature-title { .feature-title {
font-width: bold; font-width: bold;
margin-top: 0; margin-top: 0;
color: $primary; color: darken($primary, 10%);
} }
.feature-content { .feature-content {
margin-bottom: 0; margin-bottom: 0;

View File

@ -1,6 +1,6 @@
.header { .header {
color: $primary; color: #000;
background-color: #ffffff; background-color: $primary;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;

View File

@ -1,79 +0,0 @@
.main-menu-mobile {
position: fixed;
background: $primary;
top: 0;
left: 0;
width: 100%;
height: 100vh;
opacity: 0;
visibility: hidden;
transition: opacity 0.35s, visibility 0.35s, height 0.35s;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
&.open {
opacity: 0.9;
visibility: visible;
height: 100%;
z-index: 20;
li {
animation: fadeInRight 0.5s ease forwards;
animation-delay: 0.35s;
&:nth-of-type(2) {
animation-delay: 0.4s;
}
&:nth-of-type(3) {
animation-delay: 0.45s;
}
&:nth-of-type(4) {
animation-delay: 0.5s;
}
&:nth-of-type(5) {
animation-delay: 0.55s;
}
&:nth-of-type(6) {
animation-delay: 0.6s;
}
}
}
ul {
font-size: 30px;
font-family: $font-family-heading;
text-align: center;
list-style: none;
padding: 0;
margin: 0;
flex: 0;
li {
display: block;
position: relative;
opacity: 0;
padding: 10px;
a {
display: block;
position: relative;
color: #ffffff;
text-decoration: none;
overflow: hidden;
&:hover {
opacity: 0.8;
}
}
}
}
}
@keyframes fadeInRight {
0% {
opacity: 0;
left: 20%;
}
100% {
opacity: 1;
left: 0;
}
}
.lock-scroll {
overflow: hidden;
}

View File

@ -1,8 +1,5 @@
.main-menu { .main-menu {
display: none; display: block;
@include media-breakpoint-up(md) {
display: block;
}
> ul { > ul {
display: flex; display: flex;
align-items: center; align-items: center;
@ -15,7 +12,7 @@
display: inline-block; display: inline-block;
font-weight: normal; font-weight: normal;
text-decoration: none; text-decoration: none;
color: $primary; color: #000;
&:hover { &:hover {
text-decoration: underline; text-decoration: underline;
} }

View File

@ -89,7 +89,6 @@ $sub-footer-text-color: $white;
@import "components/sub-footer"; @import "components/sub-footer";
@import "components/logo"; @import "components/logo";
@import "components/main-menu"; @import "components/main-menu";
@import "components/main-menu-mobile";
@import "components/hamburger"; @import "components/hamburger";
@import "components/buttons"; @import "components/buttons";
@import "components/call"; @import "components/call";

Binary file not shown.

After

Width:  |  Height:  |  Size: 355 KiB

View File

@ -5,15 +5,17 @@ layout: page
# Kontakt # Kontakt
Najłatwiej się z nami skontaktować na telegramie lub forum: 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)
* Telegram: [@hackerspace_wroclaw](https://t.me/hackerspace_wroclaw) Do spraw wartych udokumentowania i omawiania projektów używamy [Forum](https://forum.hswro.org)
* Forum: <https://forum.hswro.org>
* Meetup: <https://www.meetup.com/hackerspace-wrocław> Mamy również konta na kilku platformach społecznościowych:
* Mobilizon (fediverse): <https://mobilizon.pl/@hswro> [Meetup](https://www.meetup.com/hackerspace-wrocław), [Facebook](https://www.facebook.com/HackerspaceWroclaw), [Mobilizon (fediverse)](https://mobilizon.pl/@hswro)
* Facebook: <https://www.facebook.com/HackerspaceWroclaw>
* E-mail: <kontakt@hswro.org> Do oficjalnego kontaktu służy e-mail: [kontakt@hswro.org](mailto:kontakt@hswro.org)
* Telefon stacjonarny: +48 717072457
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. Jeśli chcesz nas odwiedzić zapraszamy w każdą środę od 19 na teren dawnej zajezdni tramwajowej.