Commit 86ddaa9c authored by Simonas's avatar Simonas

Merge branch 'release-1.10.0' into dev

parents 358de24d 69f9d893
......@@ -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.9.0 .` (update version number)
- build new image `docker build -t biuro/web:1.10.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.9.0`
- push image to docker repository - `docker push biuro/web:1.10.0`
## Production
- update biuro/web image version in .env file (staging or www)
......
{
"name": "biuro",
"version": "1.9.0",
"version": "1.10.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
......
{
"name": "biuro",
"version": "1.9.0",
"version": "1.10.0",
"description": "Biuro WP theme",
"scripts": {
"dev": "gulp --require @babel/register --gulpfile tasks",
......
......@@ -138,7 +138,7 @@ class Biuro_Jobs extends WP_Widget {
// WordPress core before_widget hook (always include )
echo $before_widget;
// Display the widget
echo '<div class="c-jobs c-jobs--alt">';
echo '<div class="c-jobs">';
echo '<div class="c-jobs--inner-custom">';
......@@ -188,7 +188,7 @@ class Biuro_Jobs extends WP_Widget {
echo '</table>';
if ( $url != "" ) {
echo '<div class="c-jobs--more">';
echo '<div>';
echo '<a href=" ' . $url . ' " class="o-btn c-btn--alt">' . __('More job ads', 'biuro') . '</a>';
echo '</div>';
}
......
......@@ -4,4 +4,6 @@
.l-map { height: 330px; margin-bottom: 35px; }
.l-map--cities { height: 495px; }
/* critical:end */
......@@ -29,17 +29,16 @@
.l-section--inner { max-width: 870px; padding-right: 20px; padding-left: 20px; }
}
.l-section--inner { width: 100%; max-width: 1030px; margin: 0 auto; }
.l-section--inner-extended { width: 100%; max-width: 1170px; margin: 0 auto; }
.l-section--inner-extended { width: 100%; max-width: 1170px; margin: 0 auto; }
.l-section--landing-1 { display: flex; align-items: flex-end; padding: 0 !important; background-color: #515e70; height: 240px;
@media (--min--medium) {
height: 348px;
}
}
.l-section--recommend { display: flex; align-items: flex-end; padding: 0 !important; background-color: #3EB0B1; height: 240px;
@media (--min--medium) {
height: 355px;
......@@ -63,17 +62,7 @@
.l-section { background-repeat: no-repeat; background-position: 50% 50%; background-size: cover; }
.l-section--search-page { background-image: url(/wp-content/themes/biuro/i/search-page.png); }
@supports (background-image: -webkit-image-set(url(/wp-content/themes/biuro/i/search-page.webp) 1x)) {
.l-section--search-page { background-image: url(/wp-content/themes/biuro/i/search-page.webp); }
}
.l-section--vdb { background-image: url(/wp-content/themes/biuro/i/vdb/section.png); }
@supports (background-image: -webkit-image-set(url(/wp-content/themes/biuro/i/vdb/section.webp) 1x)) {
.l-section--vdb { background-image: url(/wp-content/themes/biuro/i/vdb/section.webp); }
}
.l-section--front-page { background-image: url(/wp-content/themes/biuro/i/front-page.png); background-size: 200%;
.l-section--front-page { background-size: 200%;
@media (--min--small) {
background-size: 150%;
}
......@@ -81,21 +70,10 @@
background-size: cover;
}
}
@supports (background-image: -webkit-image-set(url(/wp-content/themes/biuro/i/front-page.webp) 1x)) {
.l-section--front-page { background-image: url(/wp-content/themes/biuro/i/front-page.webp); }
}
.l-section--sales-page { background-image: url(/wp-content/themes/biuro/i/sales-page.png); }
@supports (background-image: -webkit-image-set(url(/wp-content/themes/biuro/i/sales-page.webp) 1x)) {
.l-section--sales-page { background-image: url(/wp-content/themes/biuro/i/sales-page.webp); }
}
.l-section--landing-1 { background-image: url(/wp-content/themes/biuro/i/sections/landing-1.jpg); background-position: 0 50%; }
@supports (background-image: -webkit-image-set(url(/wp-content/themes/biuro/i/sections/landing-1.webp) 1x)) {
.l-section--landing-1 { background-image: url(/wp-content/themes/biuro/i/sections/landing-1.webp); }
}
.l-section--landing-1 { background-position: 0 50%; }
.l-section--recommend { background-image: url(/wp-content/themes/biuro/i/sections/recommend.jpg); background-position: 40% 15%; background-size: 220%;
.l-section--recommend { background-position: 40% 15%; background-size: 220%;
@media (--min--small) {
background-position: 50% 15%;
}
......@@ -103,16 +81,34 @@
background-size: cover;
}
}
@supports (background-image: -webkit-image-set(url(/wp-content/themes/biuro/i/sections/recommend.webp) 1x)) {
.l-section--recommend { background-image: url(/wp-content/themes/biuro/i/sections/recommend.webp); }
.l-section--landing-3 { background-position: 50% 25%; }
.l-section--landing-4 { background-position: 50% 20%; }
.js {
.l-section { background-image: none; }
}
.l-section--landing-3 { background-image: url(/wp-content/themes/biuro/i/sections/landing-3.jpg); background-position: 0 50%; }
@supports (background-image: -webkit-image-set(url(/wp-content/themes/biuro/i/sections/landing-3.webp) 1x)) {
.l-section--landing-3 { background-image: url(/wp-content/themes/biuro/i/sections/landing-3.webp); }
.no-js,
.js.no-webp {
.l-section--search-page { background-image: url(/wp-content/themes/biuro/i/search-page.png); }
.l-section--vdb { background-image: url(/wp-content/themes/biuro/i/vdb/section.png); }
.l-section--front-page { background-image: url(/wp-content/themes/biuro/i/front-page.png); }
.l-section--sales-page { background-image: url(/wp-content/themes/biuro/i/sales-page.png); }
.l-section--landing-1 { background-image: url(/wp-content/themes/biuro/i/sections/landing-1.jpg); }
.l-section--recommend { background-image: url(/wp-content/themes/biuro/i/sections/recommend.jpg); }
.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-4 { background-image: url(/wp-content/themes/biuro/i/sections/landing-4.jpg); background-position: 0 50%; }
@supports (background-image: -webkit-image-set(url(/wp-content/themes/biuro/i/sections/landing-4.webp) 1x)) {
.js.webp {
.l-section--search-page { background-image: url(/wp-content/themes/biuro/i/search-page.webp); }
.l-section--vdb { background-image: url(/wp-content/themes/biuro/i/vdb/section.webp); }
.l-section--front-page { background-image: url(/wp-content/themes/biuro/i/front-page.webp); }
.l-section--sales-page { background-image: url(/wp-content/themes/biuro/i/sales-page.webp); }
.l-section--landing-1 { background-image: url(/wp-content/themes/biuro/i/sections/landing-1.webp); }
.l-section--recommend { background-image: url(/wp-content/themes/biuro/i/sections/recommend.webp); }
.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); }
}
......@@ -6,6 +6,7 @@ rich design UI styling. Class names here are more specific. This layer usually h
c-: Signify that something is a Component. This is a concrete, implementation-specific piece of UI. All of the changes you make to its styles should be detectable in the context you’re currently looking at. Modifying these styles should be safe and have no side effects.
========================================================================== */
@import 'vendor/popup-bubble.css';
@import 'vendor/swiper.css';
@import '_component--404.css';
@import '_component--accordion.css';
......
......@@ -7,11 +7,11 @@
max-width: 440px; margin: 0 auto;
}
@media (--min--medium) {
padding: 20px 0 40px;
padding: 20px 0;
}
}
.c-contact-landing-3--inner { max-width: 990px; padding: 0 10px; margin: 0 auto 40px;
.c-contact-landing-3--inner { max-width: 990px; padding: 0 10px; margin: 0 auto;
@media (--min--medium) {
display: flex; justify-content: space-between;
}
......@@ -19,7 +19,7 @@
.c-contact-landing-3--content { color: #2A3644; font-weight: 500; padding: 15px 0 20px 15px;
@media (--min--medium) {
flex: 1 1 40%; max-width: 500px; padding: 0; /* padding: 0 0 0 90px; */
flex: 1 1 40%; max-width: 500px; padding: 0;
}
img { max-width: 100%; height: auto; }
span { display: block; overflow: hidden; line-height: 22px; padding: 2px 0 0 0; }
......
......@@ -7,11 +7,11 @@
max-width: 440px; margin: 0 auto;
}
@media (--min--medium) {
padding: 20px 0 40px;
padding: 20px 0;
}
}
.c-contact-landing-4--inner { max-width: 1000px; padding: 0 10px ;margin: 0 auto;
.c-contact-landing-4--inner { max-width: 1000px; padding: 0 10px; margin: 0 auto;
@media (--min--medium) {
display: flex; justify-content: space-between;
}
......
......@@ -5,12 +5,6 @@
.c-jobs { }
.c-jobs--alt {
@media (--max--medium) {
padding-top: 30px;
}
}
.c-jobs--inner { @extend .l-inner-small; }
.c-jobs--inner-custom { max-width: 990px; margin-right: auto; margin-left: auto; padding-right: 10px; padding-left: 10px; }
......@@ -90,26 +84,29 @@
width: 50%; border-bottom: 1px solid var(--color--gray-light); font-size: 13px; padding-top: 0; text-align: right;
}
}
.c-jobs--col-salary { color: #19C5A7; white-space: nowrap; padding-right: 15px; padding-left: 5px; width: 140px; text-align: right;
.c-jobs--col-salary { color: #069980; white-space: nowrap; padding-right: 15px; padding-left: 5px; width: 140px; text-align: right;
@media (--max--medium) {
width: 50%; border-bottom: 1px solid var(--color--gray-light); font-size: 13px; padding-top: 0; text-align: right;
}
}
/* critical:start */
.c-jobs--anchor { display: block; padding: 4px 0; color: #004ED4; font-weight: 500; line-height: 18px; text-decoration: none; }
.c-jobs--anchor-alt { display: block; padding: 4px 0; color: #2A3644; line-height: 18px; text-decoration: none; }
/* critical:end */
.c-jobs--anchor { display: block; padding: 4px 0; color: #004ED4; font-weight: 500; line-height: 18px; text-decoration: none;
.c-jobs--anchor {
@media (--max--medium) {
font-size: 16px; line-height: 23px;
}
@media (--min--medium) {
padding: 10px 0;
}
&:hover { text-decoration: underline; }
&:visited { color: #551B89; }
&:hover { text-decoration: underline; }
&:visited { color: #551B89; }
}
.c-jobs--anchor-alt {
......
......@@ -23,7 +23,9 @@
}
strong { display: inline-block; padding: 3px 5px; border-radius: 4px; background: #004ed4; font-weight: 700; }
&:hover {
.c-recommend--anchor { border-bottom-color: transparent; }
.c-recommend--headline,
.c-recommend--anchor { color: #9adbdc; }
.c-recommend--anchor { border-color: #9adbdc; }
}
}
......
.popup-bubble { position: absolute; background-color: white; padding: 5px 12px 4px; border-radius: 5px; font-size: 15px; max-height: 60px; font-weight: 500; box-shadow: 0px 2px 10px 1px rgba(0,0,0,0.5);
&:after { content: ''; position: absolute; width: 0; height: 0; }
&:hover { z-index: 10; }
}
.popup-bubble--top { top: 0; left: 0; transform: translate(-50%, -100%);
&:after { top: 100%; left: 50%; transform: translate(-50%, 0); border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 6px solid white; }
}
.popup-bubble--right { top: 4px; left: 6px; transform: translate(0, -50%);
&:after { top: 50%; left: 0; transform: translate(-100%, -50%); border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-right: 6px solid white; }
}
.popup-bubble--left { top: 4px; right: 6px; transform: translate(0, -50%);
&:after { top: 50%; right: 0; transform: translate(100%, -50%); border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 6px solid white; }
}
.popup-bubble-anchor { position: absolute; width: 1px; bottom: 6px; left: 0; }
.popup-container { cursor: auto; height: 0; position: absolute; width: 200px; }
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -74,8 +74,6 @@
endif;
?>
</main><!-- .l-main -->
</div><!-- #content -->
......
......@@ -63,19 +63,14 @@
</div><!-- .c-contact-landing-4 -->
<br>
<br>
<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 style="border: 1px solid #000; height: 495px;">
</div>
<div class="l-map--cities" id="js-map--cities" data-source="plunge"></div>
</div>
<br>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBQjPQnLGLeICbpTTu8kLjVRrLUYYCTS2M" async defer></script>
<?php
if ( is_active_sidebar( 'front_page_feedbacks' ) ) :
......
......@@ -154,8 +154,9 @@
<?php
endif;
?>
<script src="/wp-content/themes/biuro/js/main-44985e00.min.js" async></script>
<script src="/wp-content/themes/biuro/js/main-f063af59.min.js" async></script>
<script src="/wp-content/themes/biuro/js/vendor/modernizr-custom.js" async></script>
<?php
// global $time_start;
// delog((microtime(true) - $time_start), 'Lorem ipsum');
......
......@@ -3,7 +3,7 @@
// $time_start = microtime(true);
// delog((microtime(true) - $time_start), 'Lorem ipsum');
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<html <?php language_attributes(); ?> class="no-js">
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible" />
......@@ -31,18 +31,22 @@
<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-9fc5a0a5d0.min.css'; ?></style>
<style><?php include 'css/core-a4a3d74724.min.css'; ?></style>
<script>
document.documentElement.classList.replace('no-js', 'js');
</script>
<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-1cb140d15a.min.css" as="style" onload="this.rel='stylesheet'">
<link rel="preload" href="/wp-content/themes/biuro/css/main-dce8190141.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-1cb140d15a.min.css">
<link rel="stylesheet" href="/wp-content/themes/biuro/css/main-dce8190141.min.css">
</noscript>
<?php wp_head(); ?>
......
......@@ -3,7 +3,7 @@
// $time_start = microtime(true);
// delog((microtime(true) - $time_start), 'Lorem ipsum');
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<html <?php language_attributes(); ?> class="no-js">
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible" />
......@@ -31,18 +31,22 @@
<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-9fc5a0a5d0.min.css'; ?></style>
<style><?php include 'css/core-a4a3d74724.min.css'; ?></style>
<script>
document.documentElement.classList.replace('no-js', 'js');
</script>
<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-1cb140d15a.min.css" as="style" onload="this.rel='stylesheet'">
<link rel="preload" href="/wp-content/themes/biuro/css/main-dce8190141.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-1cb140d15a.min.css">
<link rel="stylesheet" href="/wp-content/themes/biuro/css/main-dce8190141.min.css">
</noscript>
<?php wp_head(); ?>
......
......@@ -389,6 +389,21 @@ if (module.hot) {
});
})(window);
(global => {
const node = document.getElementById('js-map--cities');
if (!node) {
return;
}
fetch('/wp-content/themes/biuro/json/' + node.dataset.source + '.json')
.then((t) => t.json())
.then((data) => {
// initDivisionsMap(node, data);
initCitiesMap(node, data);
});
})(window);
(global => {
const node = document.querySelector('.c-nav--lang');
......@@ -428,8 +443,86 @@ if (module.hot) {
})(window);
// https://developers-dot-devsite-v2-prod.appspot.com/maps/documentation/javascript/examples/overlay-popup
function createPopupClass () {
function Popup (position, city, pos = 'top') {
this.position = position;
var content = document.createElement('div');
content.innerHTML = city || '';
content.classList.add('popup-bubble');
content.classList.add('popup-bubble--' + pos);
// This zero-height div is positioned at the bottom of the bubble.
var bubbleAnchor = document.createElement('div');
bubbleAnchor.classList.add('popup-bubble-anchor');
bubbleAnchor.appendChild(content);
// This zero-height div is positioned at the bottom of the tip.
this.containerDiv = document.createElement('div');
this.containerDiv.classList.add('popup-container');
this.containerDiv.appendChild(bubbleAnchor);
// Optionally stop clicks, etc., from bubbling up to the map.
window.google.maps.OverlayView.preventMapHitsAndGesturesFrom(this.containerDiv);
}
// ES5 magic to extend google.maps.OverlayView.
Popup.prototype = Object.create(window.google.maps.OverlayView.prototype);
/** Called when the popup is added to the map. */
Popup.prototype.onAdd = function () {
this.getPanes().floatPane.appendChild(this.containerDiv);
};
/** Called when the popup is removed from the map. */
Popup.prototype.onRemove = function () {
if (this.containerDiv.parentElement) {
this.containerDiv.parentElement.removeChild(this.containerDiv);
}
};
/** Called each frame when the popup needs to draw itself. */
Popup.prototype.draw = function () {
var divPosition = this.getProjection().fromLatLngToDivPixel(this.position);
// Hide the popup when it is far out of view.
var display =
Math.abs(divPosition.x) < 4000 && Math.abs(divPosition.y) < 4000 ? 'block' : 'none';
if (display === 'block') {
this.containerDiv.style.left = divPosition.x + 'px';
this.containerDiv.style.top = divPosition.y + 'px';
}
if (this.containerDiv.style.display !== display) {
this.containerDiv.style.display = display;
}
};
return Popup;
}
var info;
function setCitiesMarkers (map, positions) {
const Popup = createPopupClass();
const bounds = new window.google.maps.LatLngBounds();
let popup;
for (var i = 0; i < positions.length; i++) {
const position = positions[i];
const pos = new window.google.maps.LatLng(position.lat, position.lng);
popup = new Popup(pos, position.title, position.pos);
popup.setMap(map);
bounds.extend(pos);
}
map.fitBounds(bounds);
}
function setMarkers (map, positions, focus) {
var bounds = new window.google.maps.LatLngBounds();
......@@ -510,6 +603,33 @@ function setGoogleMap (node) {
return map;
}
function initCitiesMap (node, cities) {
if (!window.google) {
setTimeout(() => { initCitiesMap(node, cities); }, 250);
return;
}
// console.error(cities);
var map = setGoogleMap(node);
// const cities = [
// { title: 'Skuodas', lat: 56.270161, lng: 21.530640 },
// { title: 'Mažeikiai', lat: 56.310871, lng: 22.348021 },
// { title: 'Akmenė', lat: 56.245010, lng: 22.750160 },
// { title: 'Venta', lat: 56.191240, lng: 22.687820 },
// { title: 'Papilė', lat: 56.152290, lng: 22.791190 },
// { title: 'Kuršėnai', lat: 56.002360, lng: 22.937360 },
// { title: 'Telšiai', lat: 55.983580, lng: 22.250810 },
// { title: 'Plungė', lat: 55.912470, lng: 21.846000 },
// { title: 'Varniai', lat: 55.742020, lng: 22.371730 },
// { title: 'Rietavas', lat: 55.723930, lng: 21.931480 },
// { title: 'Šilalė', lat: 55.491000, lng: 22.181270 }
// ];
setCitiesMarkers(map, cities);
}
function initRegionsMap (node) {
if (!window.google) {
setTimeout(() => { initRegionsMap(node); }, 250);
......
/*! modernizr 3.6.0 (Custom Build) | MIT *
* https://modernizr.com/download/?-webp-setclasses !*/
!function(e,n,A){function o(e,n){return typeof e===n}function t(){var e,n,A,t,a,i,l;for(var f in r)if(r.hasOwnProperty(f)){if(e=[],n=r[f],n.name&&(e.push(n.name.toLowerCase()),n.options&&n.options.aliases&&n.options.aliases.length))for(A=0;A<n.options.aliases.length;A++)e.push(n.options.aliases[A].toLowerCase());for(t=o(n.fn,"function")?n.fn():n.fn,a=0;a<e.length;a++)i=e[a],l=i.split("."),1===l.length?Modernizr[l[0]]=t:(!Modernizr[l[0]]||Modernizr[l[0]]instanceof Boolean||(Modernizr[l[0]]=new Boolean(Modernizr[l[0]])),Modernizr[l[0]][l[1]]=t),s.push((t?"":"no-")+l.join("-"))}}function a(e){var n=u.className,A=Modernizr._config.classPrefix||"";if(c&&(n=n.baseVal),Modernizr._config.enableJSClass){var o=new RegExp("(^|\\s)"+A+"no-js(\\s|$)");n=n.replace(o,"$1"+A+"js$2")}Modernizr._config.enableClasses&&(n+=" "+A+e.join(" "+A),c?u.className.baseVal=n:u.className=n)}function i(e,n){if("object"==typeof e)for(var A in e)f(e,A)&&i(A,e[A]);else{e=e.toLowerCase();var o=e.split("."),t=Modernizr[o[0]];if(2==o.length&&(t=t[o[1]]),"undefined"!=typeof t)return Modernizr;n="function"==typeof n?n():n,1==o.length?Modernizr[o[0]]=n:(!Modernizr[o[0]]||Modernizr[o[0]]instanceof Boolean||(Modernizr[o[0]]=new Boolean(Modernizr[o[0]])),Modernizr[o[0]][o[1]]=n),a([(n&&0!=n?"":"no-")+o.join("-")]),Modernizr._trigger(e,n)}return Modernizr}var s=[],r=[],l={_version:"3.6.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,n){var A=this;setTimeout(function(){n(A[e])},0)},addTest:function(e,n,A){r.push({name:e,fn:n,options:A})},addAsyncTest:function(e){r.push({name:null,fn:e})}},Modernizr=function(){};Modernizr.prototype=l,Modernizr=new Modernizr;var f,u=n.documentElement,c="svg"===u.nodeName.toLowerCase();!function(){var e={}.hasOwnProperty;f=o(e,"undefined")||o(e.call,"undefined")?function(e,n){return n in e&&o(e.constructor.prototype[n],"undefined")}:function(n,A){return e.call(n,A)}}(),l._l={},l.on=function(e,n){this._l[e]||(this._l[e]=[]),this._l[e].push(n),Modernizr.hasOwnProperty(e)&&setTimeout(function(){Modernizr._trigger(e,Modernizr[e])},0)},l._trigger=function(e,n){if(this._l[e]){var A=this._l[e];setTimeout(function(){var e,o;for(e=0;e<A.length;e++)(o=A[e])(n)},0),delete this._l[e]}},Modernizr._q.push(function(){l.addTest=i}),Modernizr.addAsyncTest(function(){function e(e,n,A){function o(n){var o=n&&"load"===n.type?1==t.width:!1,a="webp"===e;i(e,a&&o?new Boolean(o):o),A&&A(n)}var t=new Image;t.onerror=o,t.onload=o,t.src=n}var n=[{uri:"data:image/webp;base64,UklGRiQAAABXRUJQVlA4IBgAAAAwAQCdASoBAAEAAwA0JaQAA3AA/vuUAAA=",name:"webp"},{uri:"data:image/webp;base64,UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAABBxAR/Q9ERP8DAABWUDggGAAAADABAJ0BKgEAAQADADQlpAADcAD++/1QAA==",name:"webp.alpha"},{uri:"data:image/webp;base64,UklGRlIAAABXRUJQVlA4WAoAAAASAAAAAAAAAAAAQU5JTQYAAAD/////AABBTk1GJgAAAAAAAAAAAAAAAAAAAGQAAABWUDhMDQAAAC8AAAAQBxAREYiI/gcA",name:"webp.animation"},{uri:"data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAAAAAAfQ//73v/+BiOh/AAA=",name:"webp.lossless"}],A=n.shift();e(A.name,A.uri,function(A){if(A&&"load"===A.type)for(var o=0;o<n.length;o++)e(n[o].name,n[o].uri)})}),t(),a(s),delete l.addTest,delete l.addAsyncTest;for(var p=0;p<Modernizr._q.length;p++)Modernizr._q[p]();e.Modernizr=Modernizr}(window,document);
\ No newline at end of file
[
{ "title": "Skuodas", "lat": 56.270161, "lng": 21.530640 },
{ "title": "Mažeikiai", "lat": 56.310871, "lng": 22.348021 },
{ "title": "Akmenė", "lat": 56.245010, "lng": 22.750160, "pos": "right" },
{ "title": "Venta", "lat": 56.191240, "lng": 22.687820, "pos": "left" },
{ "title": "Papilė", "lat": 56.152290, "lng": 22.791190, "pos": "right" },
{ "title": "Kuršėnai", "lat": 56.002360, "lng": 22.937360 },
{ "title": "Telšiai", "lat": 55.983580, "lng": 22.250810 },
{ "title": "Plungė", "lat": 55.912470, "lng": 21.846000 },
{ "title": "Varniai", "lat": 55.742020, "lng": 22.371730 },
{ "title": "Rietavas", "lat": 55.723930, "lng": 21.931480 },
{ "title": "Šilalė", "lat": 55.491000, "lng": 22.181270 }
]
......@@ -177,6 +177,7 @@ get_header();
$pod = pods( 'job', get_the_id() );
?>
<br>
<div class="c-job--content">
<?php
if (!is_array($pod->field( 'salary_from' )) && $pod->field( 'salary_from' ) > 0 || !is_array($pod->field( 'salary_to' )) && $pod->field( 'salary_to' ) > 0):
......
......@@ -3,6 +3,6 @@ Theme Name: Biuro
Author: Biuro
Author URI: https://www.biuro.lt/
Description: Biuro multiregion theme
Version: 1.9.0
Version: 1.10.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