Compare commits

...

6 commits

Author SHA1 Message Date
233f7a8f6f
Fix npm install for fontawesome
Some checks reported errors
continuous-integration/drone/push Build was killed
2021-07-31 02:54:29 +02:00
0b27cb40e5
Remove parent page title from title 2021-07-28 01:41:56 +02:00
2340b50f51
Add some alt texts 2021-07-23 00:28:26 +02:00
cb80c1367e
Merge remote-tracking branch 'origin/main' 2021-07-22 21:42:40 +02:00
f0a2549327
Merge remote-tracking branch 'origin/drone-test' 2021-07-15 18:25:22 +02:00
82ef563118
Add BIMI Logo and fix logos 2021-07-15 18:23:21 +02:00
11 changed files with 19 additions and 14 deletions

View file

@ -12,13 +12,10 @@ steps:
PASS:
from_secret: fontawesome_password
commands:
- cd /tmp
- curl -O "http://public.serguzim.me.sos-de-fra-1.exo.io/@fortawesome.tar.gz.enc"
- openssl enc -aes256 -pbkdf2 -out "@fortawesome.tar.gz" -in "@fortawesome.tar.gz.enc" -d -k $PASS
- tar xzf "@fortawesome.tar.gz"
- cd /drone/reitanlage-oranienburg/
- npm install
- mv "/tmp/@fortawesome" ./node_modules
- curl -O "http://public.serguzim.me.sos-de-fra-1.exo.io/fontawesome-pro.tar.gz.enc"
- openssl enc -aes256 -pbkdf2 -out "fontawesome-pro.tar.gz" -in "fontawesome-pro.tar.gz.enc" -d -k $PASS
- npm install fontawesome-pro.tar.gz
- npx mix build --production
- name: prepare zip

2
.gitignore vendored
View file

@ -2,3 +2,5 @@
dist/
node_modules/
grav/
fontawesome-pro.tar.gz

View file

@ -1,5 +1,5 @@
name: Reitanlage Oranienburg
version: 1.2.0
version: 1.2.1
description: Design der Reitanlage Oranienburg
icon: rebel
author:

5
images/bimi.svg Normal file
View file

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="700" height="700" version="1.2" baseProfile="tiny-ps" viewBox="0 0 700 700" xmlns="http://www.w3.org/2000/svg">
<title>Reitanlage Oranienburg</title>
<path d="m312.63 686.84c-40.057-10.467-67.155-26.575-100.01-59.453-23.641-23.657-37.326-43.457-56.565-81.845-17.104-34.126-25.827-61.576-34.591-108.84-8.2733-44.622-10.722-81.071-8.2872-123.33 2.0623-35.792 3.5584-46.872 9.4517-70 16.067-63.055 40.231-115.63 70.429-153.25 20.669-25.746 47.188-48.004 71.573-60.072 55.486-27.461 109.73-27.189 164.58 0.82359 39.175 20.006 73.215 53.072 100.03 97.166 18.224 29.97 39.634 84.719 47.228 120.77 1.8657 8.8571 5.2799 32.857 7.587 53.333 3.6345 32.257 4.0872 39.99 3.3894 57.896-2.1268 54.575-16.238 129.25-30.109 159.33-2.0289 4.4-4.4498 10.4-5.3799 13.333-2.6494 8.3554-9.3804 21.09-23.306 44.095-14.623 24.156-23.892 35.755-46.784 58.544-18.005 17.924-24.675 22.367-58.125 38.712-27.037 13.211-36.437 15.337-71.107 16.081-24.499 0.52556-25.816 0.41724-40-3.2889zm54.667-20.287c17.48-2.1421 32.554-6.8678 50.667-15.884 74.509-37.089 127.69-129.78 141.5-246.64 3.0905-26.144 3.0905-73.856 0-100-10.416-88.118-42.692-162.21-91.647-210.39-16.972-16.704-30.815-26.767-49.855-36.245-45.183-22.491-89.535-22.77-134.67-0.8461-67.247 32.667-117.64 110.24-137.81 212.15-5.6198 28.387-7.4252 49.135-7.4252 85.333 0 53.032 5.7205 90.621 20.799 136.67 16.577 50.623 40.67 91.621 72.479 123.33 16.402 16.352 32.671 28.087 51.961 37.48 28.466 13.861 54.944 18.602 84 15.042zm104.16-125.54c-7.9788-15.575-24.661-44.925-37.072-65.222l-22.565-36.903-11.841-8.1101c-6.5126-4.4606-12.099-7.654-12.415-7.0965-0.31566 0.55748-6.0744 17.572-12.797 37.811-7.7551 23.346-13.837 39.357-16.638 43.799-6.8406 10.849-21.623 24.976-30.815 29.449l-8.0165 3.901-22-1.2914c-36.854-2.1633-37.333-2.3353-37.333-13.384 0-3.4736 5.6811-70.999 12.625-150.06 6.9436-79.058 12.493-143.87 12.333-144.03s-16.191-3.0914-35.624-6.5133c-19.433-3.4219-35.46-6.3494-35.617-6.5055-0.36966-0.36967 2.4585-26.708 2.9221-27.213 0.19443-0.21176 51.136 8.9291 113.2 20.313 75.012 13.758 114.52 21.562 117.84 23.275 10.868 5.6163 22.58 21.385 27.234 36.669 2.4538 8.0572 2.7048 11.3 2.0128 26-0.90013 19.12-5.2338 53-8.2648 64.613-1.3357 5.1175-7.7895 17.656-18.685 36.299-9.1543 15.665-16.644 29.194-16.644 30.065s9.5432 16.637 21.207 35.034c14.668 23.137 25.974 43.005 36.667 64.439 8.5027 17.044 15.46 31.462 15.46 32.041 0 0.81346-18.968 11.022-20.355 10.955-0.1712-8e-3 -6.8394-12.758-14.818-28.333zm-147.06-32.817c15.524-14.725 31.142-48.982 38.165-83.71 3.9578-19.571 4.0992-18.944-5.928-26.306-4.7667-3.4999-8.6667-6.6881-8.6667-7.0849 0-0.9355 12.323-20.399 12.916-20.399 0.24765 0 12.115 8.7528 26.371 19.451 14.257 10.698 26.551 19.061 27.321 18.585 2.1325-1.3179 15.242-24.092 21.975-38.176 8.5955-17.979 11.21-29.631 13.554-60.413 2.3354-30.658 1.662-36.085-5.5179-44.473-2.4771-2.894-7.433-6.5219-11.013-8.062-5.7757-2.4847-121.15-23.888-122.24-22.679-0.21679 0.23866-2.5839 25.634-5.2603 56.434-2.6763 30.8-8.4764 92.818-12.889 137.82-4.4126 45-7.661 82.179-7.2188 82.622 1.1847 1.1847 21.816 2.5361 28.005 1.8345 3.7973-0.43051 6.8012-1.997 10.43-5.4391z" fill="#2b3bb4" stroke-width="1.3333"/>
</svg>

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.5 KiB

After

Width:  |  Height:  |  Size: 40 KiB

View file

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

BIN
package-lock.json generated

Binary file not shown.

View file

@ -1,6 +1,6 @@
{
"name": "reitanlage-oranienburg",
"version": "1.1.0",
"version": "1.2.1",
"description": "The Reitanlage Oranienburg Theme for Grav CMS.",
"main": "index.js",
"scripts": {
@ -26,6 +26,7 @@
"sass-loader": "^12.1.0"
},
"dependencies": {
"@fortawesome/fontawesome-pro": "file:fontawesome-pro.tar.gz",
"bootstrap": "^4.6.0",
"cross-env": "^7.0.3",
"jquery": "^3.6.0",

View file

@ -24,7 +24,7 @@ <h1 class="d-inline">
{% set class_active = ' active' %}
{% endif %}
<div class="carousel-item{{ class_active }}">
<img class="d-block" src="{{ media_item.resize(540, 400).quality(75).url }}">
<img alt="Bild der Slideshow zur Reitanlage." class="d-block" src="{{ media_item.resize(540, 400).quality(75).url }}">
</div>
{% endfor %}
</div>
@ -49,7 +49,7 @@ <h3>
{% if news_latest.media.images %}
{% set text_class = 'col-12 col-md-9' %}
<div class="col-12 col-md-3">
<img width="100%" src="{{ news_latest.media.images|first.quality(25).url }}">
<img alt="Titelbild der letzten News." width="100%" src="{{ news_latest.media.images|first.quality(25).url }}">
</div>
{% endif %}
<div class="{{ text_class }}">

View file

@ -4,7 +4,7 @@
<head>
{% block head %}
<meta charset="utf-8" />
<title>{% if header.title %}{{ header.title|e('html') }} | {% endif %}{% if page.parent and page.parent.title %}{{ page.parent.title|e('html') }} | {% endif %}{{ site.title|e('html') }}</title>
<title>{{ site.title|e('html') }}{% if header.title %} | {{ header.title|e('html') }}{% endif %}</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
@ -47,7 +47,7 @@
<a href="/" class="col-12">
{% include 'partials/logo.html.twig' with {style: 'filter: invert(100%); margin-right: 0.5rem;'} %}
{% for media_item in header_page.media.images %}
<img src="{{ media_item.quality(15).url }}" />
<img alt="Eines der Bilder im Seiten-Header." src="{{ media_item.quality(15).url }}" />
{% endfor %}
</a>
</div>

View file

@ -6,7 +6,7 @@
{% endif %}
{% if logo %}
{% set logo_file = (logo|first).name %}
<img {{ style }} src="{{ url('theme://images/logo/' ~ logo_file) }}" />
<img {{ style }} alt="The logo of the webpage" src="{{ url('theme://images/logo/' ~ logo_file) }}" />
{% else %}
<img {{ style }} src="{{ url('theme://images/ro-logo.svg') }}" />
<img {{ style }} alt="The logo of the webpage" src="{{ url('theme://images/logo.svg') }}" />
{% endif %}