Compare commits

...

5 Commits

Author SHA1 Message Date
Michał Rudowicz f2c725b817 Swap busybox webserver to caddy
/ build_website (push) Successful in 8s Details
/ build_and_push_container (push) Successful in 9s Details
2025-03-09 22:42:45 +01:00
miklo 03c298d20f dodany favicon
/ build_website (push) Successful in 7s Details
/ build_and_push_container (push) Successful in 7s Details
2025-03-01 20:31:19 +00:00
Michał Rudowicz 6c3c7966ea Margin on the bottom of content
/ build_website (push) Successful in 7s Details
/ build_and_push_container (push) Successful in 7s Details
2025-02-28 21:25:03 +00:00
Michał Rudowicz 67152a9e9f Darken link color, no feature borders 2025-02-28 21:25:03 +00:00
miklo 0d8bdaa320 Dodany Kącik Radiowy
/ build_website (push) Successful in 8s Details
/ build_and_push_container (push) Successful in 7s Details
2025-02-27 15:47:36 +01:00
9 changed files with 56 additions and 15 deletions

View File

@ -15,6 +15,8 @@ logo:
desktop_footer_height: "43px"
desktop_footer_width: "87px"
favicon: "images/favicon.svg"
sass:
style: compressed # possible values: nested expanded compact compressed

View File

@ -10,7 +10,7 @@
},
{
"title": "Warsztat Elektroniczny",
"description": "Dwa stanowiska wyposażone w niezbędny sprzęt lutowniczy oraz spore ilości komponentów do wykorzystania w projektach.",
"description": "Dwa stanowiska wyposażone w niezbędny sprzęt lutowniczy, pomiarowy oraz spore ilości komponentów do wykorzystania w projektach.",
"image": {
"url": "images/photos/elektroniczny1.jpeg",
"width": 350,
@ -26,6 +26,15 @@
"height": 350
}
},
{
"title": "Kącik Radiowy",
"description": "Z tego miejsca łączymy się z całym światem na falach radiowych. Wykorzystujemy tradycyjne techniki łączności w pasmach amatorskich KF/UKF jak również nowoczesne emisje cyfrowe.",
"image": {
"url": "images/photos/radiowy.jpg",
"width": 350,
"height": 350
}
},
{
"title": "Warsztat Mechaniczny",
"description": "Wyposażony w masę narzędzi niezbędnych, żeby zbudować własny mebel, przerobić garnek na durszlak lub dorobić sobie skrzydła warto.",

View File

@ -4,6 +4,7 @@
<head>
<meta charset="utf-8">
<title>{% if page.title %}{{page.title}}{% else %}{{ site.title | escape }}{% endif %}</title>
<link rel="icon" type="image/svg+xml" href="{{ site.favicon | relative_url }}">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="{{ '/assets/css/style.css' | relative_url }}" rel="stylesheet">
@ -20,7 +21,7 @@
</head>
<body class='page {{layout.bodyClass}}'>
<div id="wrapper" class="wrapper">
<div id="wrapper" class="wrapper mb-3">
{% include header.html headerClass='header-extra' %}
{{content}}
</div>

View File

@ -1,7 +1,5 @@
.feature {
height: 100%;
border: 1px solid $white-offset;
border-radius: 3px;
padding: 20px;
background-color: #ffffff;
display: flex;

View File

@ -3,8 +3,8 @@
// Colors
$primary: #FDB515;
$primary-dark: #a01b16;
$secondary: #f88379;
$primary-dark: darken($primary, 10%);
$secondary: darken($primary, 20%);
$black: #2f2f41;
$white: #ffffff;
$white-offset: #fff6f8;
@ -119,3 +119,7 @@ body {
code {
color: #000;
}
a {
color: #dd9902;
}

View File

@ -1,4 +1,4 @@
FROM git.hswro.org/fleg/serve_base:latest
FROM git.hswro.org/fleg/serve_base:caddy
# Copy the static website
# Use the .dockerignore file to control what ends up inside the image!

View File

@ -1,9 +1,7 @@
FROM busybox:stable
FROM caddy:2.9
# Create a non-root user to own the files and run our server
RUN adduser -D static
USER static
WORKDIR /home/static
# Run BusyBox httpd
CMD ["busybox", "httpd", "-f", "-v", "-p", "3000"]
RUN echo -e ":3000 {\n\
root * /var/www\n\
file_server\n\
}" > /etc/caddy/Caddyfile
WORKDIR /var/www

29
images/favicon.svg Normal file
View File

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
version="1.1"
id="Layer_1"
x="0px"
y="0px"
width="32"
height="32"
viewBox="0 0 32 32"
enable-background="new 0 0 595.28 841.89"
xml:space="preserve"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/"><metadata
id="metadata941"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
id="defs939">
</defs>
<path
d="M 25.04992,9.4070527 27.386266,8.82266 28.202946,0.65014125 H 16.326427 15.918903 12.156218 L 12.488759,12.626912 10.90267,12.119542 10.265707,0.65014125 H 6.6020521 6.4137754 3.7970536 l 2.4626777,23.93683275 0.00934,0.09169 2.2242746,1.588536 2.9843101,-1.497657 -0.289344,-6.372886 4.934728,2.196564 4.811656,-2.157441 -0.141819,3.09149 -1.646404,0.857026 -3.023025,-1.468723 -3.235753,1.553895 0.187462,6.881479 3.050737,1.998912 9.644501,-6.733137 1.288596,-12.459282 -3.417512,-0.692385 -3.966038,1.201384 0.218842,-6.4698767 1.658222,-0.2469605 -0.09332,3.0034648 z M 9.87978,1.0576671 10.494328,12.114244 7.5735936,12.844531 6.6342464,1.0576671 Z M 8.6881767,25.712968 7.9151002,16.939756 l 2.8563448,1.271478 0.286899,6.312573 z m -0.5742042,-12.583577 2.5861555,-0.646335 1.800449,0.575834 0.04319,1.560007 z m 11.2676745,9.591522 1.806969,-0.940977 0.0012,-0.02976 2.442301,1.186715 -4.376417,2.716158 z m -3.25939,-1.352984 2.573933,1.250288 -2.573118,1.339537 -2.574339,-1.353392 z m 7.539631,-9.483121 2.405216,0.4874 -6.456834,2.238946 0.05136,-1.514772 z M 19.4982,5.8432395 19.248794,13.221084 h 4.08e-4 l -0.06724,1.969571 7.419411,-2.572708 -1.217279,11.771783 -9.058478,6.323983 v -6.40141 l 2.63832,-1.373771 -0.148339,3.468043 5.226922,-3.243903 0.62922,-6.849284 -8.345716,3.742309 V 1.0576671 h 11.42661 l -0.743329,7.4389715 -1.74747,0.4372747 0.297901,-3.994158 -3.826258,0.5701285 v 0 z"
id="path932"
style="stroke-width:0.407526" />
</svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
images/photos/radiowy.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 KiB