diff --git a/Makefile b/Makefile index 7ec018b..53a00ea 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,50 @@ -install: - mkdir -p $(DESTDIR) - cp -r . $(DESTDIR)/ - rm $(DESTDIR)/Makefile - rm $(DESTDIR)/wordpress.yml +DOCKER_HOST=playground.pi +SITE_URL=iaro.sinewell.de +PROJECT_NAME=client-iaro +CONTAINER_NAME_WORDPRESS=${PROJECT_NAME}_wordpress +CONTAINER_NAME_DB=${PROJECT_NAME}_db +TEMPLATE_NAME=iaro + +docker_deploy: + + docker run --rm -it \ + -v /tmp/backup:/backup -v /var/lib/docker:/docker \ + -v $(shell pwd):/docker/volumes/${CONTAINER_NAME_WORDPRESS}/_data/wp-content/themes/${TEMPLATE_NAME} \ + alpine:edge tar cpfz /backup/volumes.tgz /docker/volumes/${CONTAINER_NAME_WORDPRESS} /docker/volumes/${CONTAINER_NAME_DB} + rsync --progress /tmp/backup/volumes.tgz ${DOCKER_HOST}:/tmp/ + + -DOCKER_HOST="ssh://${DOCKER_HOST}" docker stop ${CONTAINER_NAME_WORDPRESS}_1 ${CONTAINER_NAME_DB}_1 + -DOCKER_HOST="ssh://${DOCKER_HOST}" docker rm ${CONTAINER_NAME_WORDPRESS}_1 ${CONTAINER_NAME_DB}_1 + -DOCKER_HOST="ssh://${DOCKER_HOST}" docker volume rm ${CONTAINER_NAME_WORDPRESS} ${CONTAINER_NAME_DB} + + DOCKER_HOST="ssh://${DOCKER_HOST}" docker run --rm -it \ + -v /var/lib/docker:/docker \ + -v /tmp:/volume-backup \ + alpine:edge tar --strip-components=2 -xpvf /volume-backup/volumes.tgz -C /docker/volumes/ + DOCKER_HOST="ssh://${DOCKER_HOST}" docker run --rm -it \ + -v /var/lib/docker:/docker \ + -v /tmp:/volume-backup \ + alpine:edge sed -i 81idefine\\\(\\\'WP_SITEURL\\\',\\\'https://${SITE_URL}\\\'\\\)\\\;\\ndefine\\\(\\\'WP_HOME\\\',\\\'https://${SITE_URL}\\\'\\\)\\\; /docker/volumes/${CONTAINER_NAME_WORDPRESS}/_data/wp-config.php + + # # Need to fix MaxSessions in remote ssh daemon https://github.com/docker/compose/issues/6463 + + cp wordpress.yml /tmp/wordpress.yml + sed -e '/${TEMPLATE_NAME}/ s/^#*/#/' -i /tmp/wordpress.yml + DOCKER_HOST="ssh://${DOCKER_HOST}" docker-compose -p ${PROJECT_NAME} -f /tmp/wordpress.yml up --no-start + DOCKER_HOST="ssh://${DOCKER_HOST}" docker-compose -p ${PROJECT_NAME} -f /tmp/wordpress.yml start + + sleep 20 + hyperpotamus -v setup-jetpack.yml + +docker_up: + docker-compose -f wordpress.yml up + +generate_pot: + wp i18n make-pot kit kit/languages/kit.pot # generate source file + for i18n in "de_DE" "fr_FR"; do \ + # update translated language file \ + msgmerge -N kit/languages/$${i18n}.po kit/languages/kit.pot > kit/languages/$${i18n}.po.new ; \ + mv kit/languages/$${i18n}.po.new kit/languages/$${i18n}.po ;\ + # generate mo file \ + msgfmt -o kit/languages/$${i18n}.mo kit/languages/$${i18n}.po ; \ + done diff --git a/content.php b/content.php index 23035b7..3116185 100644 --- a/content.php +++ b/content.php @@ -1,21 +1,3 @@ -
-
-
-
-
-

Mobile Kork Sauna

-

- Handgefertigt in Fachwerkbauweise aus den Naturstoffen Kork und - Holz. Die mobile Sauna mit Holzofen für den eigenen Garten oder - direkt am See. -


- Jetzt Mietanfrage stellen -

-
-
-
-
-
diff --git a/files/bulma.css b/files/bulma.css index 0a396e8..940655e 100644 --- a/files/bulma.css +++ b/files/bulma.css @@ -3314,12 +3314,6 @@ fieldset[disabled] .button { margin-right: .25rem } -body > .container { - padding-top: 30px; - flex-grow: 1; - width: 100%; -} - .container { flex-grow: 1; margin: 0 auto; @@ -3338,24 +3332,11 @@ body > .container { .hero-body > .container { flex-grow: unset; } - .container { - padding: 0 30px; - } - - .container .container, - footer .container, - nav .container { - padding: 0 0; - } - - .section:not(.features) { - padding: 3rem 0rem !important; - } } @media screen and (min-width: 1024px) { .container { - max-width: 960px; + max-width: 960px } } @@ -7870,6 +7851,18 @@ a.navbar-item { cursor: pointer } +.navbar-link.is-active, +.navbar-link:focus, +.navbar-link:focus-within, +.navbar-link:hover, +a.navbar-item.is-active, +a.navbar-item:focus, +a.navbar-item:focus-within, +a.navbar-item:hover { + background-color: #fafafa; + color: #3273dc +} + .navbar-item { display: block; flex-grow: 0; diff --git a/files/header1.jpg b/files/header1.jpg deleted file mode 100644 index bf7dfcf..0000000 Binary files a/files/header1.jpg and /dev/null differ diff --git a/files/picture1.jpg b/files/picture1.jpg deleted file mode 100644 index 0d9df36..0000000 Binary files a/files/picture1.jpg and /dev/null differ diff --git a/files/picture2.jpg b/files/picture2.jpg deleted file mode 100644 index b961b9a..0000000 Binary files a/files/picture2.jpg and /dev/null differ diff --git a/files/picture3.jpg b/files/picture3.jpg deleted file mode 100644 index d6d3e9c..0000000 Binary files a/files/picture3.jpg and /dev/null differ diff --git a/files/tiled1.jpg b/files/tiled1.jpg deleted file mode 100644 index 1cfcc2d..0000000 Binary files a/files/tiled1.jpg and /dev/null differ diff --git a/files/tiled2.jpg b/files/tiled2.jpg deleted file mode 100644 index 744bbe9..0000000 Binary files a/files/tiled2.jpg and /dev/null differ diff --git a/files/tiled3.jpg b/files/tiled3.jpg deleted file mode 100644 index 588fd0b..0000000 Binary files a/files/tiled3.jpg and /dev/null differ diff --git a/files/tiled4.jpg b/files/tiled4.jpg deleted file mode 100644 index 1d493ad..0000000 Binary files a/files/tiled4.jpg and /dev/null differ diff --git a/functions.php b/functions.php index 953e4bb..55782ca 100644 --- a/functions.php +++ b/functions.php @@ -23,18 +23,6 @@ add_action( 'after_setup_theme', 'fachwerksauna_setup' ); function theme_customize_register( $wp_customize ) { - $wp_customize->add_setting( 'theme_color', array( - 'default' => '#ed9b40', - 'transport' => 'refresh', - ) ); - - $wp_customize->add_control( new WP_Customize_Color_Control( - $wp_customize, 'theme_color', array( - 'section' => 'colors', - 'label' => esc_html__( 'Theme color', 'theme' ), - ) ) ); - - $wp_customize->add_setting( 'fachwerksauna_footer-text', array( 'default' => '', 'type' => 'option', @@ -54,18 +42,4 @@ function theme_customize_register( $wp_customize ) { } -add_action( 'customize_register', 'theme_customize_register' ); - -function fachwerksauna_customize_css() -{ - $theme_color = get_theme_mod('theme_color', '#ed9b40'); - ?> - - -> +