Commit 3dfaee34 authored by Simonas's avatar Simonas

HTML validated

parent 65afd696
This diff is collapsed.
......@@ -46,7 +46,7 @@ if ( ! defined( 'WPINC' ) ) die;
<?php echo $nameMessage; ?>
</div>
<?php endif; ?>
</div><!-- .c-form--row -->
</div>
<div class="c-form--row">
<label class="c-form--label" for="form-phone"><?php _e('Phone no.', 'biuro-contacts'); ?></label>
......@@ -58,7 +58,7 @@ if ( ! defined( 'WPINC' ) ) die;
<?php echo $phoneMessage; ?>
</div>
<?php endif; ?>
</div><!-- .c-form--row -->
</div>
<div id="agree"></div>
......@@ -72,7 +72,7 @@ if ( ! defined( 'WPINC' ) ) die;
<?php echo $emailMessage; ?>
</div>
<?php endif; ?>
</div><!-- .c-form--row -->
</div>
<div class="c-form--row">
<div class="c-form--submit-wrap">
......@@ -88,7 +88,7 @@ if ( ! defined( 'WPINC' ) ) die;
endif;
?>
</div>
</div><!-- .c-form--row -->
</div>
<?php
/*
......@@ -102,7 +102,7 @@ if ( ! defined( 'WPINC' ) ) die;
<?php echo $agreeMessage; ?>
</div>
<?php endif; ?>
</div><!-- .c-form--row -->
</div>
*/
?>
......@@ -113,4 +113,4 @@ if ( ! defined( 'WPINC' ) ) die;
<?php _e('This site is protected by reCAPTCHA and the Google <a href="https://policies.google.com/privacy">Privacy Policy</a> and <a href="https://policies.google.com/terms">Terms of Service</a> apply.', 'biuro-contacts'); ?>
<input type="hidden" name="agree" value="1">
</div>
</div><!-- .c-form--row -->
</div>
......@@ -39,18 +39,18 @@ if ( ! defined( 'WPINC' ) ) die;
<input list="form-cities" type="text" class="c-form--input" id="form-city" name="city" value="">
<input type="hidden" id="form-city-id" name="city_id" value="">
</div>
</div><!-- .c-form--row -->
</div>
<div class="c-form--row">
<label class="c-form--label" for="form-message"><?php _e('Message', 'biuro-contacts'); ?></label>
<div class="c-form--textarea-wrap">
<textarea name="message" id="form-message" cols="30" rows="3" class="c-form--textarea" placeholder="<?php _e("For example: I'm looking for a job in manufacturing", 'biuro-contacts'); ?>"></textarea>
</div>
</div><!-- .c-form--row -->
</div>
<div class="c-form--row">
<div class="c-form--input-file-wrap">
<input type="file" class="js-form--input-file c-form--input-file" id="form-cv" name="cv" value="" accept="application/pdf, application/doc, application/docx, application/rtf, application/txt, application/odf, application/msword, image/jpg, image/jpeg, image/png">
<input type="file" class="js-form--input-file c-form--input-file" id="form-cv" name="cv" accept="application/pdf, application/doc, application/docx, application/rtf, application/txt, application/odf, application/msword, image/jpg, image/jpeg, image/png">
<button class="c-form--input-file-btn">
<svg width="16px" height="21px" class="c-ico--attachment">
<use xlink:href="#ico--attachment"></use>
......@@ -58,13 +58,13 @@ if ( ! defined( 'WPINC' ) ) die;
<span class="js-form--input-file-text c-form--input-file-text"><?php _e('CV', 'biuro-contacts'); ?></span>
</button>
</div>
</div><!-- .c-form--row -->
</div>
<div class="c-form--row">
<div class="c-form--submit-wrap">
<button type="submit" class="o-btn c-btn--main c-btn--fill" name="s" value="2"><?php _e('Submit', 'biuro-contacts'); ?></button>
</div>
</div><!-- .c-form--row -->
</div>
<div class="c-form--label-recaptcha">
<?php _e('This site is protected by reCAPTCHA and the Google <a href="https://policies.google.com/privacy">Privacy Policy</a> and <a href="https://policies.google.com/terms">Terms of Service</a> apply.', 'biuro-contacts'); ?>
......
......@@ -47,7 +47,7 @@ if ( ! defined( 'WPINC' ) ) die;
<?php echo $nameMessage; ?>
</div>
<?php endif; ?>
</div><!-- .c-form--row -->
</div>
<div class="c-form--row">
<label class="c-form--label" for="form-phone"><?php _e('Phone no.', 'biuro-contacts'); ?></label>
......@@ -59,7 +59,7 @@ if ( ! defined( 'WPINC' ) ) die;
<?php echo $phoneMessage; ?>
</div>
<?php endif; ?>
</div><!-- .c-form--row -->
</div>
<div id="agree"></div>
......@@ -73,13 +73,13 @@ if ( ! defined( 'WPINC' ) ) die;
<?php echo $emailMessage; ?>
</div>
<?php endif; ?>
</div><!-- .c-form--row -->
</div>
<div class="c-form--row">
<div class="c-form--submit-wrap">
<button type="submit" class="o-btn c-btn--main c-btn--fill" name="s" value="1"><?php _e('Submit', 'biuro-contacts'); ?></button>
</div>
</div><!-- .c-form--row -->
</div>
<?php
/*
......@@ -93,7 +93,7 @@ if ( ! defined( 'WPINC' ) ) die;
<?php echo $agreeMessage; ?>
</div>
<?php endif; ?>
</div><!-- .c-form--row -->
</div>
*/
?>
......@@ -104,4 +104,4 @@ if ( ! defined( 'WPINC' ) ) die;
<?php _e('This site is protected by reCAPTCHA and the Google <a href="https://policies.google.com/privacy">Privacy Policy</a> and <a href="https://policies.google.com/terms">Terms of Service</a> apply.', 'biuro-contacts'); ?>
<input type="hidden" name="agree" value="1">
</div>
</div><!-- .c-form--row -->
</div>
......@@ -24,20 +24,20 @@ if ( ! defined( 'WPINC' ) ) die;
<div class="c-form--input-wrap">
<input type="text" class="c-form--input" id="form-company" name="company" value="" autofocus="autofocus">
</div>
</div><!-- .c-form--row -->
</div>
<div class="c-form--row">
<label class="c-form--label" for="form-message"><?php _e('Message', 'biuro-contacts'); ?></label>
<div class="c-form--textarea-wrap">
<textarea name="message" id="form-message" cols="30" rows="10" class="c-form--textarea"></textarea>
</div>
</div><!-- .c-form--row -->
</div>
<div class="c-form--row">
<div class="c-form--submit-wrap">
<button type="submit" class="o-btn c-btn--main c-btn--fill" name="s" value="2"><?php _e('Submit', 'biuro-contacts'); ?></button>
</div>
</div><!-- .c-form--row -->
</div>
<div class="c-form--label-recaptcha">
<?php _e('This site is protected by reCAPTCHA and the Google <a href="https://policies.google.com/privacy">Privacy Policy</a> and <a href="https://policies.google.com/terms">Terms of Service</a> apply.', 'biuro-contacts'); ?>
......
......@@ -31,5 +31,5 @@ if ( ! defined( 'WPINC' ) ) die;
<?php
endif;
?>
</div><!-- .c-form--row -->
</div>
......@@ -71,7 +71,7 @@ if ( ! defined( 'WPINC' ) ) die;
<?php echo $nameMessage; ?>
</div>
<?php endif; ?>
</div><!-- .c-form--row -->
</div>
<div class="c-form--row">
......@@ -84,7 +84,7 @@ if ( ! defined( 'WPINC' ) ) die;
<?php echo $phoneMessage; ?>
</div>
<?php endif; ?>
</div><!-- .c-form--row -->
</div>
<div class="c-form--row">
......@@ -97,7 +97,7 @@ if ( ! defined( 'WPINC' ) ) die;
<?php echo $emailMessage; ?>
</div>
<?php endif; ?>
</div><!-- .c-form--row -->
</div>
<div class="c-form--row">
<label class="c-form--label" for="form-city"><?php _e('City', 'biuro-contacts'); ?></label>
......@@ -119,7 +119,7 @@ if ( ! defined( 'WPINC' ) ) die;
<input list="form-cities" type="text" class="c-form--input" id="form-city" name="city" value="<?php echo $cityValue; ?>">
<input type="hidden" id="form-city-id" name="city_id" value="<?php echo $cityIDValue; ?>">
</div>
</div><!-- .c-form--row -->
</div>
<div id="agree"></div>
......@@ -128,11 +128,11 @@ if ( ! defined( 'WPINC' ) ) die;
<div class="c-form--textarea-wrap">
<textarea name="message" id="form-message" cols="30" rows="3" class="c-form--textarea" placeholder="<?php _e("For example: I'm looking for a job in manufacturing", 'biuro-contacts'); ?>"><?php echo $messageValue; ?></textarea>
</div>
</div><!-- .c-form--row -->
</div>
<div class="c-form--row">
<div class="c-form--input-file-wrap">
<input type="file" class="js-form--input-file c-form--input-file" id="form-cv" name="cv" value="" accept="application/pdf, application/doc, application/docx, application/rtf, application/txt, application/odf, application/msword, image/jpg, image/jpeg, image/png">
<input type="file" class="js-form--input-file c-form--input-file" id="form-cv" name="cv" accept="application/pdf, application/doc, application/docx, application/rtf, application/txt, application/odf, application/msword, image/jpg, image/jpeg, image/png">
<button class="c-form--input-file-btn">
<svg width="16px" height="21px" class="c-ico--attachment">
<use xlink:href="#ico--attachment"></use>
......@@ -145,20 +145,20 @@ if ( ! defined( 'WPINC' ) ) die;
<?php echo $cvMessage; ?>
</div>
<?php endif; ?>
</div><!-- .c-form--row -->
</div>
<div class="c-form--row">
<div class="c-form--label-infobox">
<?php _e('We process your personal data to offer you jobs. More information at <a href="https://biuro.eu/privacy-en.html" target="_blank" rel="noopener">Personal Data Protection Policy.</a>', 'biuro-contacts'); ?>
<input type="hidden" name="agree" value="1">
</div>
</div><!-- .c-form--row -->
</div>
<div class="c-form--row">
<div class="c-form--submit-wrap">
<button type="submit" class="o-btn c-btn--main c-btn--fill" name="s" value="2"><?php _e('Apply', 'biuro-contacts'); ?></button>
</div>
</div><!-- .c-form--row -->
</div>
<div class="c-form--label-recaptcha">
<?php _e('This site is protected by reCAPTCHA and the Google <a href="https://policies.google.com/privacy">Privacy Policy</a> and <a href="https://policies.google.com/terms">Terms of Service</a> apply.', 'biuro-contacts'); ?>
......
......@@ -83,7 +83,7 @@ if ( ! defined( 'WPINC' ) ) die;
<?php echo $nameMessage; ?>
</div>
<?php endif; ?>
</div><!-- .c-form--row -->
</div>
<div class="c-form--row">
<label class="c-form--label" for="form-phone"><?php _e('Your Phone no.', 'biuro-contacts'); ?></label>
......@@ -95,7 +95,7 @@ if ( ! defined( 'WPINC' ) ) die;
<?php echo $phoneMessage; ?>
</div>
<?php endif; ?>
</div><!-- .c-form--row -->
</div>
<div class="c-form--row">
<label class="c-form--label" for="form-email"><?php _e('Your Email address', 'biuro-contacts'); ?></label>
......@@ -107,7 +107,7 @@ if ( ! defined( 'WPINC' ) ) die;
<?php echo $emailMessage; ?>
</div>
<?php endif; ?>
</div><!-- .c-form--row -->
</div>
<div class="c-form--row">
<label class="c-form--label" for="form-city"><?php _e('Your City', 'biuro-contacts'); ?></label>
......@@ -129,7 +129,7 @@ if ( ! defined( 'WPINC' ) ) die;
<input list="form-cities" type="text" class="c-form--input" id="form-city" name="city" value="<?php echo $cityValue; ?>">
<input type="hidden" id="form-city-id" name="city_id" value="<?php echo $cityIDValue; ?>">
</div>
</div><!-- .c-form--row -->
</div>
</div><!-- .c-form--col -->
......@@ -149,7 +149,7 @@ if ( ! defined( 'WPINC' ) ) die;
<?php echo $recommendNameMessage; ?>
</div>
<?php endif; ?>
</div><!-- .c-form--row -->
</div>
<div class="c-form--row">
......@@ -162,7 +162,7 @@ if ( ! defined( 'WPINC' ) ) die;
<?php echo $recommendPhoneMessage; ?>
</div>
<?php endif; ?>
</div><!-- .c-form--row -->
</div>
<div class="c-form--row">
......@@ -175,7 +175,7 @@ if ( ! defined( 'WPINC' ) ) die;
<?php echo $recommendEmailMessage; ?>
</div>
<?php endif; ?>
</div><!-- .c-form--row -->
</div>
<div class="c-form--row">
<label class="c-form--label" for="recommend-form-city"><?php _e('Friend City', 'biuro-contacts'); ?></label>
......@@ -197,7 +197,7 @@ if ( ! defined( 'WPINC' ) ) die;
<input list="form-cities" type="text" class="c-form--input" id="recommend-form-city" name="recommend_city" value="<?php echo $recommendCityValue; ?>">
<input type="hidden" id="recommend-form-city-id" name="recommend_city_id" value="<?php echo $recommendCityIDValue; ?>">
</div>
</div><!-- .c-form--row -->
</div>
</div><!-- .c-form--col -->
</div><!-- .c-form--cols -->
......@@ -218,13 +218,13 @@ if ( ! defined( 'WPINC' ) ) die;
<div class="c-form--label-infobox">
<?php _e('I allow, that my personal data will be used for communicating during the pre-contractual relationship. For more detailed information view our <a href="https://biuro.eu/privacy-en.html" target="_blank" rel="noopener">Personal Data Protection Policy.</a>', 'biuro-contacts'); ?>
</div>
</div><!-- .c-form--row -->
</div>
<div class="c-form--row">
<div class="c-form--submit-wrap u-align--center">
<button type="submit" class="o-btn c-btn--main c-btn--max-fill" name="s" value="1"><?php _e('Recommend', 'biuro-contacts'); ?></button>
</div>
</div><!-- .c-form--row -->
</div>
<div class="c-form--label-recaptcha">
<?php _e('This site is protected by reCAPTCHA and the Google <a href="https://policies.google.com/privacy">Privacy Policy</a> and <a href="https://policies.google.com/terms">Terms of Service</a> apply.', 'biuro-contacts'); ?>
......
......@@ -131,7 +131,7 @@ class Biuro_Feedbacks extends WP_Widget {
echo '<picture>';
echo '<source srcset="/wp-content/themes/biuro/i/feedbacks/' . $img . '.webp" type="image/webp">';
echo '<img loading="lazy" src="/wp-content/themes/biuro/i/feedbacks/' . $img . '.png" width="85px" height="83px" alt="' . ${'name' . $i} . '" class="c-feedbacks--img">';
echo '<img loading="lazy" src="/wp-content/themes/biuro/i/feedbacks/' . $img . '.png" width="85" height="83" alt="' . ${'name' . $i} . '" class="c-feedbacks--img">';
echo '</picture>';
}
......
......@@ -50,7 +50,7 @@
}
}
.c-form--success { margin: -28px -20px 20px; padding: 28px 20px 20px; border-radius: 3px 3px 0 0; text-align: center; color: #27b199; font-style: 18px; line-height: 25px; background: #e5fdf9; font-weight: 500;
.c-form--success { margin: -28px -20px 20px; padding: 28px 20px 20px; border-radius: 3px 3px 0 0; text-align: center; color: #27b199; line-height: 25px; background: #e5fdf9; font-weight: 500;
@media (--min--medium) {
margin: -38px -35px 20px; padding: 28px 35px 20px;
}
......
......@@ -9,7 +9,7 @@
.c-jobs--inner-custom { max-width: 990px; margin-right: auto; margin-left: auto; padding-right: 10px; padding-left: 10px; }
.c-jobs--table { margin: 0 0 20px; }
.c-jobs--table { margin: 0 0 20px; padding: 0; }
.c-jobs--headline {margin: 0 0 25px; padding: 20px 20px 0;
@media (--max--medium) {
......
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -154,7 +154,7 @@
<?php
endif;
?>
<script src="/wp-content/themes/biuro/js/main-4d30a78f.min.js" async></script>
<script src="/wp-content/themes/biuro/js/main.min.js" async></script>
<script src="/wp-content/themes/biuro/js/vendor/modernizr-custom.js" async></script>
<?php
......
<?php
/**
* The front page template file
*
* If the user has selected a static page for their homepage, this is what will
* appear.
* Learn more: https://codex.wordpress.org/Template_Hierarchy
*
* @package WordPress
* @subpackage Biuro
* @since 1.0
* @version 1.0
*/
get_header();
?>
<div class="l-section l-section--front-page">
<div class="l-section--inner">
<?php
while ( have_posts() ) :
?>
<div class="c-heading c-heading--front-page">
<?php
the_post();
the_content();
?>
</div>
<?php
endwhile;
get_search_form();
?>
</div>
</div>
<div id="content">
<main id="main" class="l-main">
<div class="c-jobs">
<div class="c-jobs--inner">
<h2 class="c-jobs--headline"><?php _e('Recent job ads', 'biuro'); ?></h2>
<?php
// Use for search
// https://pods.io/docs/code/pods/find/
$where = 'valid.meta_value > "' . date('Y-m-d', strtotime('-1 days')) . '"';
// WP Pods fix for multisite
global $wpdb;
$params = array(
'orderby' => 'date DESC',
'where' => $where,
'limit' => 5
);
if (get_current_blog_id() != 1):
$langs = pll_the_languages(array('raw'=>1));
$langID = $langs[pll_current_language('slug')]['id'];
$where = $where . ' AND ( `langs`.`object_id` IS NOT NULL )';
$params['join'] = ' LEFT JOIN `' . $wpdb->prefix . 'term_relationships` AS `langs` ON `langs`.`object_id` = `t`.`ID` AND `langs`.`term_taxonomy_id` = ' . $langID;
$params['where'] = $where;
endif;
// END WP Pods fix for multisite
$jobs = pods( 'job', $params );
if ( 0 < $jobs->total() ):
get_template_part( 'template-parts/jobs/jobs', 'list' );
else:
get_template_part( 'template-parts/jobs/jobs', 'none' );
endif;
global $positionsPage;
if ($positionsPage && 0 < $jobs->total()):
?>
<div class="c-jobs--more">
<a href="<?php echo $positionsPage; ?>" class="o-btn c-btn--alt"><?php _e('More job ads', 'biuro'); ?></a>
</div>
<?php
endif;
?>
</div><!-- .c-jobs--inner -->
</div><!-- .c-jobs -->
<?php
include 'template-parts/trust.php';
?>
<?php
if ( is_active_sidebar( 'front_page_feedbacks' ) ) :
dynamic_sidebar( 'front_page_feedbacks' );
endif;
?>
<?php
if ( is_active_sidebar( 'front_page_values' ) ) :
dynamic_sidebar( 'front_page_values' );
endif;
?>
<div class="c-contact">
<div class="c-contact--inner">
<div class="c-contact--content">
<?php
if ( is_active_sidebar( 'front_page_employees' ) ) :
dynamic_sidebar( 'front_page_employees' );
endif;
?>
<div class="c-contact--img">
<picture>
<source srcset="/wp-content/themes/biuro/i/contact.webp" type="image/webp">
<img loading="lazy" src="/wp-content/themes/biuro/i/contact.png" alt="" width="328" height="95">
</picture>
</div>
</div>
<div class="c-contact--form">
<?php
echo do_shortcode('[biuro-contacts--employees]');
?>
</div>
</div><!-- .c-contact--inner -->
</div><!-- .c-contact -->
</main><!-- .l-main -->
</div><!-- #content -->
<?php get_footer();
<?php
/**
* The front page template file
*
* If the user has selected a static page for their homepage, this is what will
* appear.
* Learn more: https://codex.wordpress.org/Template_Hierarchy
*
* @package WordPress
* @subpackage Biuro
* @since 1.0
* @version 1.0
*/
get_header();
?>
<div class="l-section l-section--front-page">
<div class="l-section--inner">
<?php
while ( have_posts() ) :
?>
<div class="c-heading c-heading--front-page">
<?php
the_post();
the_content();
?>
</div>
<?php
endwhile;
get_search_form();
?>
</div>
</div>
<div id="content">
<main id="main" class="l-main">
<div class="c-jobs">
<div class="c-jobs--inner">
<h2 class="c-jobs--headline"><?php _e('Recent job ads', 'biuro'); ?></h2>
<?php
// Use for search
// https://pods.io/docs/code/pods/find/
$where = 'valid.meta_value > "' . date('Y-m-d', strtotime('-1 days')) . '"';
// WP Pods fix for multisite
global $wpdb;
$params = array(
'orderby' => 'date DESC',
'where' => $where,
'limit' => 5
);
if (get_current_blog_id() != 1):
$langs = pll_the_languages(array('raw'=>1));
$langID = $langs[pll_current_language('slug')]['id'];
$where = $where . ' AND ( `langs`.`object_id` IS NOT NULL )';
$params['join'] = ' LEFT JOIN `' . $wpdb->prefix . 'term_relationships` AS `langs` ON `langs`.`object_id` = `t`.`ID` AND `langs`.`term_taxonomy_id` = ' . $langID;
$params['where'] = $where;
endif;
// END WP Pods fix for multisite
$jobs = pods( 'job', $params );
if ( 0 < $jobs->total() ):
get_template_part( 'template-parts/jobs/jobs', 'list' );
else:
get_template_part( 'template-parts/jobs/jobs', 'none' );
endif;
global $positionsPage;
if ($positionsPage && 0 < $jobs->total()):
?>
<div class="c-jobs--more">
<a href="<?php echo $positionsPage; ?>" class="o-btn c-btn--alt"><?php _e('More job ads', 'biuro'); ?></a>
</div>
<?php
endif;
?>
</div>
</div><!-- .c-jobs -->
<?php
include 'template-parts/trust.php';
?>
<?php
if ( is_active_sidebar( 'front_page_feedbacks' ) ) :
dynamic_sidebar( 'front_page_feedbacks' );
endif;
?>
<?php
if ( is_active_sidebar( 'front_page_values' ) ) :
dynamic_sidebar( 'front_page_values' );
endif;
?>
<div class="c-contact">
<div class="c-contact--inner">
<div class="c-contact--content">
<?php
if ( is_active_sidebar( 'front_page_employees' ) ) :
dynamic_sidebar( 'front_page_employees' );
endif;
?>
<div class="c-contact--img">
<picture>
<source srcset="/wp-content/themes/biuro/i/contact.webp" type="image/webp">
<img loading="lazy" src="/wp-content/themes/biuro/i/contact.png" alt="" width="328" height="95">
</picture>
</div>
</div>
<div class="c-contact--form">
<?php
echo do_shortcode('[biuro-contacts--employees]');
?>
</div>
</div>
</div><!-- .c-contact -->
</main><!-- .l-main -->
</div><!-- #content -->
<?php get_footer();
<?php
// global $time_start;
// $time_start = microtime(true);
// delog((microtime(true) - $time_start), 'Lorem ipsum');
?><!DOCTYPE html>
<!DOCTYPE html>
<html <?php language_attributes(); ?> class="no-js">
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible" />
<meta content="IE=edge" http-equiv="X-UA-Compatible" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title><?php wp_title(''); ?> | Biuro</title>
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
......@@ -31,7 +27,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-c844a271cc.min.css'; ?></style>
<style><?php include 'css/core.min.css'; ?></style>
<script>
document.documentElement.classList.replace('no-js', 'js');
......@@ -40,13 +36,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-7c323da9f9.min.css" as="style" onload="this.rel='stylesheet'">
<link rel="preload" href="/wp-content/themes/biuro/css/main.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-7c323da9f9.min.css">
<link rel="stylesheet" href="/wp-content/themes/biuro/css/main.min.css">
</noscript>
<?php wp_head(); ?>
......
<?php
// global $time_start;
// $time_start = microtime(true);
// delog((microtime(true) - $time_start), 'Lorem ipsum');
?><!DOCTYPE html>
<!DOCTYPE html>
<html <?php language_attributes(); ?> class="no-js">
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible" />
<meta content="IE=edge" http-equiv="X-UA-Compatible" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title><?php wp_title(''); ?> | Biuro</title>
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
......@@ -31,7 +27,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-c844a271cc.min.css'; ?></style>
<style><?php include 'css/core.min.css'; ?></style>
<script>
document.documentElement.classList.replace('no-js', 'js');
......@@ -40,13 +36,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-7c323da9f9.min.css" as="style" onload="this.rel='stylesheet'">
<link rel="preload" href="/wp-content/themes/biuro/css/main.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-7c323da9f9.min.css">
<link rel="stylesheet" href="/wp-content/themes/biuro/css/main.min.css">
</noscript>
<?php wp_head(); ?>
......@@ -147,7 +143,7 @@
<?php
get_template_part( 'template-parts/menus/menu', 'language' );
?>
</div><!-- .c-nav--lang-wrap -->
</div>
<span class="js-toggle--nav l-nav--close">
<svg width="13px" height="13px">
......@@ -155,6 +151,6 @@
</svg>
</span>
</div><!-- .l-nav--wrap -->
</div>
</div>
</header>
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
<?php
/**
* Template Name: Sales page
*
* The sales page template file
* Learn more: https://codex.wordpress.org/Template_Hierarchy
*
* @package WordPress
* @subpackage Biuro
* @since 1.0
* @version 1.0
*/
get_header();
?>
<div class="l-section l-section--sales-page">
<div class="l-section--inner">
<?php
while ( have_posts() ) :
?>
<div class="c-heading c-heading--sales-page">
<?php
the_post();
the_content();
?>
</div>
<?php
endwhile;
?>
</div>
</div>
<div id="content">
<main id="main" class="l-main">
<?php
if ( is_active_sidebar( 'sales_page_services' ) ) :
dynamic_sidebar( 'sales_page_services' );
endif;
?>
<?php
if ( is_active_sidebar( 'sales_page_values' ) ) :
dynamic_sidebar( 'sales_page_values' );
endif;
?>
<?php
if ( is_active_sidebar( 'sales_page_sections' ) ) :
dynamic_sidebar( 'sales_page_sections' );
endif;
?>
<?php
include 'template-parts/trust.php';
?>
<?php
if ( is_active_sidebar( 'sales_page_feedbacks' ) ) :
dynamic_sidebar( 'sales_page_feedbacks' );
endif;
?>
<div class="c-contact">
<div class="c-contact--inner">
<div class="c-contact--content">
<?php
if ( is_active_sidebar( 'sales_page_employers' ) ) :
dynamic_sidebar( 'sales_page_employers' );
endif;
?>
<div class="c-contact--img">
<picture>
<source srcset="/wp-content/themes/biuro/i/contact.webp" type="image/webp">
<img loading="lazy" src="/wp-content/themes/biuro/i/contact.png" alt="" width="328" height="95">
</picture>
</div>
</div>
<div class="c-contact--form">
<?php
echo do_shortcode('[biuro-contacts--employers]');
?>
</div>
</div><!-- .c-contact--inner -->
</div><!-- .c-contact -->
</main><!-- .l-main -->
</div><!-- #content -->
<?php get_footer();
<?php
/**
* Template Name: Sales page
*
* The sales page template file
* Learn more: https://codex.wordpress.org/Template_Hierarchy
*
* @package WordPress
* @subpackage Biuro
* @since 1.0
* @version 1.0
*/
get_header();
?>
<div class="l-section l-section--sales-page">
<div class="l-section--inner">
<?php
while ( have_posts() ) :
?>
<div class="c-heading c-heading--sales-page">
<?php
the_post();
the_content();
?>
</div>
<?php
endwhile;
?>
</div>
</div>
<div id="content">
<main id="main" class="l-main">
<?php
if ( is_active_sidebar( 'sales_page_services' ) ) :
dynamic_sidebar( 'sales_page_services' );
endif;
?>
<?php
if ( is_active_sidebar( 'sales_page_values' ) ) :
dynamic_sidebar( 'sales_page_values' );
endif;
?>
<?php
if ( is_active_sidebar( 'sales_page_sections' ) ) :
dynamic_sidebar( 'sales_page_sections' );
endif;
?>
<?php
include 'template-parts/trust.php';
?>
<?php
if ( is_active_sidebar( 'sales_page_feedbacks' ) ) :
dynamic_sidebar( 'sales_page_feedbacks' );
endif;
?>
<div class="c-contact">
<div class="c-contact--inner">
<div class="c-contact--content">
<?php
if ( is_active_sidebar( 'sales_page_employers' ) ) :
dynamic_sidebar( 'sales_page_employers' );
endif;
?>
<div class="c-contact--img">
<picture>
<source srcset="/wp-content/themes/biuro/i/contact.webp" type="image/webp">
<img loading="lazy" src="/wp-content/themes/biuro/i/contact.png" alt="" width="328" height="95">
</picture>
</div>
</div>
<div class="c-contact--form">
<?php
echo do_shortcode('[biuro-contacts--employers]');
?>
</div>
</div>
</div><!-- .c-contact -->
</main><!-- .l-main -->
</div><!-- #content -->
<?php get_footer();
......@@ -31,7 +31,7 @@ $langID = $langs[pll_current_language('slug')]['id'];
?>
<form id="search" class="c-search" action="<?php echo home_url(); ?>" method="get">
<div for="search-city" class="c-search--col c-search--col-location">
<label for="search-city" class="c-search--col c-search--col-location">
<svg xmlns="http://www.w3.org/2000/svg" width="15px" height="21px" viewBox="0 0 15 21" class="c-ico--location">
<path fill="#B8BCC1" d="M7.5,4.25c2.068,0,3.75,1.682,3.75,3.75s-1.682,3.75-3.75,3.75S3.75,10.068,3.75,8 S5.432,4.25,7.5,4.25z M7.5,10.5C8.878,10.5,10,9.379,10,8S8.878,5.5,7.5,5.5C6.121,5.5,5,6.622,5,8C5,9.379,6.121,10.5,7.5,10.5z M7.5,0.5C11.642,0.5,15,3.858,15,8c0,3.024-1.054,3.868-6.729,12.096c-0.373,0.538-1.169,0.538-1.542,0C1.054,11.868,0,11.024,0,8 C0,3.858,3.358,0.5,7.5,0.5z M7.5,19.013c5.442-7.87,6.25-8.494,6.25-11.013c0-1.669-0.65-3.239-1.831-4.419 C10.739,2.4,9.169,1.75,7.5,1.75S4.261,2.4,3.081,3.581C1.9,4.761,1.25,6.331,1.25,8C1.25,10.519,2.059,11.144,7.5,19.013z"/>
</svg>
......@@ -58,9 +58,9 @@ $langID = $langs[pll_current_language('slug')]['id'];
<use xlink:href="#ico--up"></use>
</svg>
</span>
</div><!-- .c-search--col c-search--col-location -->
</label>
<div for="search-query" class="c-search--col c-search--col-keyword">
<label for="search-query" class="c-search--col c-search--col-keyword">
<svg xmlns="http://www.w3.org/2000/svg" width="20px" height="19px" viewBox="0 0 20 19" class="c-ico--area">
<path fill="#B8BCC1" d="M18.125,4.5C19.16,4.5,20,5.339,20,6.375v10c0,1.036-0.839,1.875-1.875,1.875H1.875 C0.839,18.25,0,17.411,0,16.375v-10C0,5.339,0.839,4.5,1.875,4.5H6.25V1.688c0-0.518,0.42-0.937,0.937-0.937h5.625 c0.518,0,0.938,0.42,0.938,0.937V4.5H18.125z M7.5,2v2.5h5V2H7.5z M18.75,16.375V10.75H12.5v1.562c0,0.518-0.42,0.937-0.938,0.937 H8.437c-0.518,0-0.938-0.42-0.938-0.937V10.75H1.25v5.625C1.25,16.72,1.53,17,1.875,17h16.25C18.47,17,18.75,16.72,18.75,16.375z M8.75,12h2.5v-1.25h-2.5V12z M18.75,9.5V6.375c0-0.345-0.28-0.625-0.625-0.625H1.875C1.53,5.75,1.25,6.03,1.25,6.375V9.5H18.75z"/>
</svg>
......@@ -88,7 +88,7 @@ $langID = $langs[pll_current_language('slug')]['id'];
<use xlink:href="#ico--up"></use>
</svg>
</span>
</div><!-- .c-search--col c-search--col-keyword -->
</label>
<button class="o-btn c-btn--main <?php if ( is_front_page() ): ?>c-btn--search<?php else: ?>c-btn--search-small<?php endif; ?>" type="submit" value="1">
<svg xmlns="http://www.w3.org/2000/svg" width="17px" height="17px" viewBox="0 0 17 17" class="c-ico--search">
<path fill="#FFFFFF" d="M16.884,15.694c0.156,0.156,0.156,0.408,0,0.564l-0.75,0.75c-0.156,0.156-0.408,0.156-0.564,0 l-4.031-4.031c-0.073-0.076-0.116-0.176-0.116-0.282v-0.438c-1.212,1.046-2.789,1.68-4.516,1.68C3.091,13.938,0,10.846,0,7.031 s3.091-6.906,6.906-6.906c3.815,0,6.906,3.091,6.906,6.906c0,1.727-0.634,3.304-1.68,4.516h0.438c0.106,0,0.206,0.04,0.282,0.116 L16.884,15.694z M6.906,12.344c2.935,0,5.313-2.377,5.313-5.312S9.841,1.719,6.906,1.719c-2.935,0-5.313,2.377-5.313,5.312 S3.971,12.344,6.906,12.344z"/>
......
......@@ -304,7 +304,7 @@ get_header();
?>
</aside><!-- .l-aside -->
</div><!-- .l-content--position-inner -->
</div><!-- .l-content -position-inner -->
</div><!-- #content -->
......
......@@ -35,7 +35,7 @@ function showPosted($published, $valid) {
?>
<table cellspacing="0" cellpadding="0" class="c-jobs--table">
<table class="c-jobs--table">
<?php
while ( $jobs->fetch() ) :
$ID = $jobs->display( 'ID' );
......
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