Commit 581f3e6b authored by Simon's avatar Simon

release 1.25.0

parent fe204cbf
......@@ -20,9 +20,9 @@
## Production
- build CSS & JS assets - `C:\web\dev.biuro\ npm run build`
- build new image `docker build -t biuro/web:1.24.1 .` (update version number)
- build new image `docker build -t biuro/web:1.25.0 .` (update version number)
- login to biuro docker account `docker login --username=biuro --password=9Ndtjd2vKsLvGuFOeFq1KdJs`
- push image to docker repository - `docker push biuro/web:1.24.1`
- push image to docker repository - `docker push biuro/web:1.25.0`
## Production
- update biuro/web image version in .env file (staging or www)
......
......@@ -126,8 +126,8 @@ services:
- ./wordpress:/var/www/html
- './wp-init.sh:/usr/local/bin/wp-init.sh'
command:
- wp-init.sh
# command:
# - wp-init.sh
networks:
front:
......
......@@ -77,7 +77,7 @@ if ( ! defined( 'WPINC' ) ) die;
<div class="c-form--row">
<div class="c-form--submit-wrap">
<?php
if (isset($attr['page']) && ($attr['page'] == 'landing-1' || $attr['page'] == 'landing-2' || $attr['page'] == 'landing-3' || $attr['page'] == 'landing-4')):
if (isset($attr['page']) && ($attr['page'] == 'landing-1' || $attr['page'] == 'landing-2' || $attr['page'] == 'landing-3' || $attr['page'] == 'landing-4' || $attr['page'] == 'landing-6')):
?>
<button type="submit" class="o-btn c-btn--main c-btn--fill" name="s" value="1"><?php _e('Get a job offer', 'biuro'); ?></button>
<?php
......
......@@ -86,6 +86,12 @@ window.dataLayer.push({ event: 'b2c_form_submit_success_validated', label: 'Land
<script>
window.dataLayer.push({ event: 'b2c_form_submit_success_validated', label: 'Landing page 4' });
</script>
<?php
elseif (isset($attr['page']) && $attr['page'] == 'landing-6'):
?>
<script>
window.dataLayer.push({ event: 'b2c_form_submit_success_validated', label: 'Landing page 6' });
</script>
<?php
else:
?>
......
......@@ -63,6 +63,11 @@
}
}
.l-section--landing-6 { display: flex; align-items: flex-end; padding: 0 !important; background-color: #172333; height: 240px;
@media (--min--medium) {
height: 348px;
}
}
/* critical:end */
......@@ -104,6 +109,8 @@
.l-section--landing-5 { background-position: 50% 20%; }
.l-section--landing-6 { background-position: 50% 20%; }
.js {
.l-section { background-image: none; }
}
......@@ -119,6 +126,7 @@
.l-section--landing-3 { background-image: url(/wp-content/themes/biuro/i/sections/landing-3.jpg); }
.l-section--landing-4 { background-image: url(/wp-content/themes/biuro/i/sections/landing-4.jpg); }
.l-section--landing-5 { background-image: url(/wp-content/themes/biuro/i/sections/landing-5.jpg); }
.l-section--landing-6 { background-image: url(/wp-content/themes/biuro/i/sections/landing-6.jpg); }
}
.js.webp {
......@@ -131,4 +139,5 @@
.l-section--landing-3 { background-image: url(/wp-content/themes/biuro/i/sections/landing-3.webp); }
.l-section--landing-4 { background-image: url(/wp-content/themes/biuro/i/sections/landing-4.webp); }
.l-section--landing-5 { background-image: url(/wp-content/themes/biuro/i/sections/landing-5.webp); }
.l-section--landing-6 { background-image: url(/wp-content/themes/biuro/i/sections/landing-6.webp); }
}
......@@ -24,6 +24,7 @@ c-: Signify that something is a Component. This is a concrete, implementation-sp
@import '_component--contact-landing-3.css';
@import '_component--contact-landing-4.css';
@import '_component--contact-landing-5.css';
@import '_component--contact-landing-6.css';
@import '_component--copyright.css';
@import '_component--data-controller.css';
@import '_component--divisions.css';
......
/* ------------- Component: contact section ------------- */
/* critical:start */
.c-contact-landing-6 { padding: 10px 0;
@media (--max--medium) {
max-width: 440px; margin: 0 auto;
}
@media (--min--medium) {
padding: 20px 0;
}
}
.c-contact-landing-6--inner { max-width: 1000px; padding: 0 10px; margin: 0 auto;
@media (--min--medium) {
display: flex; justify-content: space-between;
}
}
.c-contact-landing-6--content { color: #2A3644; font-weight: 500; padding: 15px 0 20px 15px;
@media (--min--medium) {
flex: 1 1 40%; max-width: 500px; padding: 0 0 0 90px;
}
img { max-width: 100%; height: auto; }
span { display: block; overflow: hidden; line-height: 22px; padding: 2px 0 0 0; }
}
.c-contact-landing-6--img { margin-top: 40px; }
.c-contact-landing-6--form { max-width: 420px;
@media (--min--medium) {
flex: 1 1 40%; margin-top: -180px;
}
}
/* critical:end */
.c-contact-landing-6--aside { padding: 10px 20px; margin: 0 -10px 0 -25px; background: linear-gradient(90deg, #C5F3EC 0%, #E4FAF7 100%);
@media (--min--medium) {
width: 549px; margin: 40px 0 0 40px; padding: 10px; border-radius: 33px; overflow: hidden;
}
svg { float: left; margin-right: 25px;
@media (--max--medium) {
display: none;
}
}
p { overflow: hidden; color: #149183; margin: 0; text-align: center;
@media (--min--medium) {
max-width: 300px; padding: 5px 0 0; text-align: left;
}
}
}
......@@ -103,6 +103,21 @@
}
}
.c-heading--landing-6 { color: #fff; padding: 0 20px;
h1 { /* max-width: 230px; */ color: #fff; font-size: 21px; line-height: 32px;
@media (--min--medium) {
max-width: 500px; font-size: 36px; line-height: 45px;
}
span { color: #19C5A7; }
}
@media (--max--medium) {
max-width: 440px; margin: 0 auto;
}
@media (--min--medium) {
padding-left: 110px;
}
}
.c-heading--recommend-friend {
h1 { max-width: 420px; color: #fff; font-size: 26px; line-height: 37px; padding: 0 20px 20px;
@media (--max--medium) {
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
<?php
/**
* Template Name: Employees Landing Page VI
*
* The employees landing page template file
* Learn more: https://codex.wordpress.org/Template_Hierarchy
*
* @package WordPress
* @subpackage Biuro
* @since 1.0
* @version 1.0
*/
get_header('langing');
?>
<div class="l-section l-section--landing-6">
<div class="l-section--inner">
<?php
while ( have_posts() ) :
?>
<div class="c-heading--landing-6">
<?php
the_post();
the_content();
?>
</div>
<?php
endwhile;
?>
</div>
</div>
<div id="content">
<main id="main" class="l-main">
<div class="c-contact-landing-6">
<div class="c-contact-landing-6--inner">
<div class="c-contact-landing-6--content">
<?php
if ( is_active_sidebar( 'landing_page_employees_6' ) ) :
dynamic_sidebar( 'landing_page_employees_6' );
endif;
?>
<div class="c-contact-landing-6--aside">
<svg width="44" height="44" xmlns="http://www.w3.org/2000/svg">
<circle fill="#6CCDBC" cx="22" cy="22" r="22"/>
<path d="M31.268 13.198l-1.466-1.466A2.49 2.49 0 0028.035 11c-.64 0-1.28.244-1.768.732L12.502 25.497l-.496 4.462a.938.938 0 001.035 1.035l4.458-.492 13.769-13.77a2.5 2.5 0 000-3.534zm-14.343 16.11l-3.634.403.405-3.64 10.308-10.308 3.233 3.233-10.312 10.312zm13.459-13.459l-2.263 2.263-3.233-3.233 2.263-2.263c.236-.236.55-.366.884-.366.334 0 .647.13.884.366l1.465 1.465c.487.488.487 1.28 0 1.768z" fill="#FFF"/>
</svg>
<p><?php _e('Fill out the inquiry form and we will get back to you within 2 business days!', 'biuro'); ?></p>
</div>
</div>
<div class="c-contact-landing-6--form">
<?php
echo do_shortcode('[biuro-contacts--employees page="landing-6"]');
?>
</div>
</div><!-- .c-contact-landing-6--inner -->
</div><!-- .c-contact-landing-6 -->
<div class="c-jobs c-jobs--alt">
<div class="c-jobs--inner-custom">
<h2 class="c-jobs--headline"><?php _e('Free transport to / from work in these cities', 'biuro'); ?></h2>
</div>
<div class="l-map--cities" id="js-map--cities" data-source="kazlu-ruda"></div>
</div>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBQjPQnLGLeICbpTTu8kLjVRrLUYYCTS2M" async defer></script>
<?php
if ( is_active_sidebar( 'front_page_feedbacks' ) ) :
dynamic_sidebar( 'front_page_feedbacks' );
endif;
?>
</main><!-- .l-main -->
</div><!-- #content -->
<?php get_footer();
......@@ -342,6 +342,15 @@ function biuro_widger_areas() {
'after_title' => '',
) );
register_sidebar( array(
'name' => 'Landing page: Employees 6',
'id' => 'landing_page_employees_6',
'before_widget' => '',
'after_widget' => '',
'before_title' => '',
'after_title' => '',
) );
register_sidebar( array(
'name' => 'Jobs: No job ads area',
'id' => 'no_job_ads',
......
......@@ -30,7 +30,7 @@
<link rel="preload" as="font" type="font/woff2" href="/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-500.woff2" crossorigin="anonymous" >
<link rel="preload" as="font" type="font/woff2" href="/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-regular.woff2" crossorigin="anonymous" >
<style><?php include 'css/core-66ee580cc0.min.css'; ?></style>
<style><?php include 'css/core-0b7f9f1db2.min.css'; ?></style>
<script>
document.documentElement.classList.replace('no-js', 'js');
......@@ -39,13 +39,13 @@
<link rel="preload" as="font" type="font/woff2" href="/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-300.woff2" crossorigin="anonymous" >
<link rel="preload" as="font" type="font/woff2" href="/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-700.woff2" crossorigin="anonymous" >
<link rel="preload" href="/wp-content/themes/biuro/css/main-4e656cba4e.min.css" as="style" onload="this.rel='stylesheet'">
<link rel="preload" href="/wp-content/themes/biuro/css/main-db4589d5f6.min.css" as="style" onload="this.rel='stylesheet'">
<link rel="preconnect" href="https://www.gstatic.com">
<link rel="preconnect" href="https://fonts.gstatic.com">
<noscript>
<link rel="stylesheet" href="/wp-content/themes/biuro/css/main-4e656cba4e.min.css">
<link rel="stylesheet" href="/wp-content/themes/biuro/css/main-db4589d5f6.min.css">
</noscript>
<?php wp_head(); ?>
......
......@@ -41,7 +41,7 @@
<link rel="preload" as="font" type="font/woff2" href="/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-500.woff2" crossorigin="anonymous" >
<link rel="preload" as="font" type="font/woff2" href="/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-regular.woff2" crossorigin="anonymous" >
<style><?php include 'css/core-66ee580cc0.min.css'; ?></style>
<style><?php include 'css/core-0b7f9f1db2.min.css'; ?></style>
<script>
document.documentElement.classList.replace('no-js', 'js');
......@@ -50,13 +50,13 @@
<link rel="preload" as="font" type="font/woff2" href="/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-300.woff2" crossorigin="anonymous" >
<link rel="preload" as="font" type="font/woff2" href="/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-700.woff2" crossorigin="anonymous" >
<link rel="preload" href="/wp-content/themes/biuro/css/main-4e656cba4e.min.css" as="style" onload="this.rel='stylesheet'">
<link rel="preload" href="/wp-content/themes/biuro/css/main-db4589d5f6.min.css" as="style" onload="this.rel='stylesheet'">
<link rel="preconnect" href="https://www.gstatic.com">
<link rel="preconnect" href="https://fonts.gstatic.com">
<noscript>
<link rel="stylesheet" href="/wp-content/themes/biuro/css/main-4e656cba4e.min.css">
<link rel="stylesheet" href="/wp-content/themes/biuro/css/main-db4589d5f6.min.css">
</noscript>
<?php
......
[
{ "title": "Kazlų Rūda", "lat": 54.752170, "lng": 23.493750 },
{ "title": "Marijampolė", "lat": 54.557812, "lng": 23.349810 },
{ "title": "Vilkaviškis", "lat": 54.650261, "lng": 23.036091 }
]
......@@ -3,6 +3,6 @@ Theme Name: Biuro
Author: Biuro
Author URI: https://www.biuro.lt/
Description: Biuro multiregion theme
Version: 1.24.1
Version: 1.25.0
Text Domain: biuro
*/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment