diff --git a/Makefile b/Makefile index 53a00ea..7ec018b 100644 --- a/Makefile +++ b/Makefile @@ -1,50 +1,5 @@ -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 +install: + mkdir -p $(DESTDIR) + cp -r . $(DESTDIR)/ + rm $(DESTDIR)/Makefile + rm $(DESTDIR)/wordpress.yml diff --git a/content.php b/content.php index 3116185..23035b7 100644 --- a/content.php +++ b/content.php @@ -1,3 +1,21 @@ +
+
+
+
+
+

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 940655e..0a396e8 100644 --- a/files/bulma.css +++ b/files/bulma.css @@ -3314,6 +3314,12 @@ fieldset[disabled] .button { margin-right: .25rem } +body > .container { + padding-top: 30px; + flex-grow: 1; + width: 100%; +} + .container { flex-grow: 1; margin: 0 auto; @@ -3332,11 +3338,24 @@ fieldset[disabled] .button { .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; } } @@ -7851,18 +7870,6 @@ 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 new file mode 100644 index 0000000..bf7dfcf Binary files /dev/null and b/files/header1.jpg differ diff --git a/files/picture1.jpg b/files/picture1.jpg new file mode 100644 index 0000000..0d9df36 Binary files /dev/null and b/files/picture1.jpg differ diff --git a/files/picture2.jpg b/files/picture2.jpg new file mode 100644 index 0000000..b961b9a Binary files /dev/null and b/files/picture2.jpg differ diff --git a/files/picture3.jpg b/files/picture3.jpg new file mode 100644 index 0000000..d6d3e9c Binary files /dev/null and b/files/picture3.jpg differ diff --git a/files/tiled1.jpg b/files/tiled1.jpg new file mode 100644 index 0000000..1cfcc2d Binary files /dev/null and b/files/tiled1.jpg differ diff --git a/files/tiled2.jpg b/files/tiled2.jpg new file mode 100644 index 0000000..744bbe9 Binary files /dev/null and b/files/tiled2.jpg differ diff --git a/files/tiled3.jpg b/files/tiled3.jpg new file mode 100644 index 0000000..588fd0b Binary files /dev/null and b/files/tiled3.jpg differ diff --git a/files/tiled4.jpg b/files/tiled4.jpg new file mode 100644 index 0000000..1d493ad Binary files /dev/null and b/files/tiled4.jpg differ diff --git a/functions.php b/functions.php index 55782ca..953e4bb 100644 --- a/functions.php +++ b/functions.php @@ -23,6 +23,18 @@ 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', @@ -42,4 +54,18 @@ function theme_customize_register( $wp_customize ) { } -add_action( 'customize_register', 'theme_customize_register' ); \ No newline at end of file +add_action( 'customize_register', 'theme_customize_register' ); + +function fachwerksauna_customize_css() +{ + $theme_color = get_theme_mod('theme_color', '#ed9b40'); + ?> + + - +>