Compare commits

..

No commits in common. "main" and "v1.4.1" have entirely different histories.
main ... v1.4.1

12 changed files with 68 additions and 50 deletions

View file

@ -1,29 +0,0 @@
on:
push:
tags:
- v**
jobs:
build-artifacts:
runs-on: docker
steps:
- uses: https://code.forgejo.org/actions/checkout@v3
- id: build
run: |
echo "@fontawesome:registry=https://git.serguzim.me/api/packages/fontawesome/npm/" > .npmrc
echo "//git.serguzim.me/api/packages/fontawesome/npm/:_authToken=${{ secrets.FORGEJO_TOKEN }}" >> .npmrc
mkdir /tmp/release-dir
npm install
npm run production
git add -f dist/
git stash
git config --global --add safe.directory ${{ github.workspace }}
git archive --format=zip 'stash@{0}' -o /tmp/release-dir/reitanlage-oranienburg-${{ github.ref_name }}.zip --prefix=reitanlage-oranienburg/
shell: bash
- uses: https://code.forgejo.org/actions/forgejo-release@v1
with:
direction: upload
release-dir: /tmp/release-dir
token: ${{ github.token }}

40
.woodpecker.yml Normal file
View file

@ -0,0 +1,40 @@
workspace:
base: /src/
path: reitanlage-oranienburg/
pipeline:
build_npm:
image: node:16.0.0
secrets: [ fontawesome_token ]
commands:
- echo "@fortawesome:registry=https://npm.fontawesome.com/" > .npmrc
- echo "//npm.fontawesome.com/:_authToken=$${FONTAWESOME_TOKEN}" >> .npmrc
- npm install
- npm run production
when:
event:
- tag
prepare_zip:
image: bitnami/git
commands:
- git config --global --add safe.directory /src/reitanlage-oranienburg
- git archive --format=zip HEAD -o /src/reitanlage-oranienburg-${CI_COMMIT_TAG}.zip --prefix=reitanlage-oranienburg/
when:
event:
- tag
release:
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_token
base_url: https://git.serguzim.me
files:
- /src/reitanlage-oranienburg-${CI_COMMIT_TAG}.zip
title: ${CI_COMMIT_TAG}
when:
event:
- tag
branches: main

5
CHANGELOG.md Normal file
View file

@ -0,0 +1,5 @@
# v0.1.0
## 12/21/2019
1. [](#new)
* ChangeLog started...

View file

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

BIN
package-lock.json generated

Binary file not shown.

View file

@ -1,6 +1,6 @@
{
"name": "reitanlage-oranienburg",
"version": "1.4.6",
"version": "1.4.1",
"description": "The Reitanlage Oranienburg Theme for Grav CMS.",
"main": "index.js",
"scripts": {
@ -20,7 +20,7 @@
"author": "",
"license": "Apache-2.0",
"dependencies": {
"@fontawesome/fontawesome-pro": "^6.2",
"@fortawesome/fontawesome-pro": "^6.2",
"@popperjs/core": "^2.11.6",
"autoprefixer": "^10.0",
"bootstrap": "^5.2",

View file

@ -3,7 +3,7 @@ $primary: #2b3bb4;
@import '~bootstrap/scss/bootstrap';
// FontAwesome
@import '~@fontawesome/fontawesome-pro/css/all.css';
@import '~@fortawesome/fontawesome-pro/css/all.css';
// PhotoSwipe
@import '~photoswipe/dist/photoswipe.css';

View file

@ -12,10 +12,8 @@
</div>
</div>
<div class="row">
<div class="col-12 h-100">
<div class="w-100" style="min-height: 300px">
{% include 'partials/osm.html.twig' %}
</div>
<div class="col-12" style="height: 300px">
{% include 'partials/osm.html.twig' %}
</div>
</div>
{% endblock %}

View file

@ -43,7 +43,7 @@
<header class="p-2 bg-ro text-white">
<div class="container">
<div class="row row-fixed-h mb-2">
<a href="/" class="col-12" data-umami-event="Header-Logo button">
<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 %}
{% set aspect = media_item.width / media_item.height %}
@ -79,6 +79,9 @@
<div class="row">
<p class="mx-auto w-auto">&#169; Heike Tischler</p>
</div>
<div class="row">
<p class="mx-auto w-auto">Diese Webseite nutzt <a target="_blank" rel="noopener" href="http://getgrav.org">Grav</a> von <a target="_blank" rel="noopener" href="http://www.rockettheme.com">RocketTheme</a>.</p>
</div>
</footer>
{% endblock %}
</footer>

View file

@ -7,7 +7,7 @@
<ul class="sidebar-nav">
<li class="sidebar-spacer"></li>
<li class="sidebar-brand">
<a href="{{ home_url }}" class="navbar-brand mr-10" data-umami-event="Sidebar-Logo button">
<a href="{{ home_url }}" class="navbar-brand mr-10">
{% include 'partials/logo.html.twig' %}
</a>
</li>

View file

@ -1,19 +1,20 @@
<div class="w-100 h-100 d-flex flex-column pb-2">
<div class="w-100 h-100 d-flex flex-column">
<div class="flex-grow-1">
<div class="position-relative w-100">
<a target="_blank" rel="noopener" href="https://www.openstreetmap.org/way/203340031" data-umami-event="OSM button">
<img class="w-100" alt="Diese Karte zeigt unseren Hof" src="{{ url('theme://images/map.webp') }}">
</a>
<small class="d-block position-absolute bottom-0 start-0">
<a class="bg-white text-black p-1" target="_blank" rel="noopener" href="https://goo.gl/maps/WFYcPCQVA5u2vegy8" data-umami-event="Google-Maps button">
Auf Google Maps öffnen
</a>
</small>
<img class="w-100" alt="Diese Karte zeigt unseren Hof" src="{{ url('theme://images/map.webp') }}">
<small class="d-block position-absolute bottom-0 end-0">
<a class="bg-white text-black p-1" target="_blank" rel="noopener" href="https://www.openstreetmap.org/copyright" data-umami-event="OSM-copyright button">
<a class="bg-white text-black p-1" target="_blank" rel="noopener" href="https://www.openstreetmap.org/copyright">
&#169; OpenStreetMap contributors
</a>
</small>
</div>
</div>
<small class="py-2 row">
<a class="py-2 py-md-0 col-12 col-md-6" target="_blank" rel="noopener" href="https://www.openstreetmap.org/way/203340031">
Auf OpenStreetMaps öffnen
</a>
<a class="py-2 py-md-0 col-12 col-md-6 text-md-end" target="_blank" rel="noopener" href="https://goo.gl/maps/WFYcPCQVA5u2vegy8">
Auf Google Maps öffnen
</a>
</small>
</div>

View file

@ -1,4 +1,4 @@
<a role="button" class="btn btn-primary btn-facebook" target="_blank" rel="noopener" href="https://www.facebook.com/Reitanlage-Oranienburg-Heike-Tischler-456154271116487/" data-umami-event="Facebook button">
<a role="button" class="btn btn-primary btn-facebook" target="_blank" rel="noopener" href="https://www.facebook.com/Reitanlage-Oranienburg-Heike-Tischler-456154271116487/">
<i class="fab fa-facebook-f"></i>
<span class="sr-only">zu unserer Facebook-Seite</span>
</a>