Commit 71fdd745 authored by Simon's avatar Simon

release 1.34.0

parent cf45548c
...@@ -20,9 +20,9 @@ ...@@ -20,9 +20,9 @@
## Production ## Production
- build CSS & JS assets - `C:\web\dev.biuro\ npm run build` - build CSS & JS assets - `C:\web\dev.biuro\ npm run build`
- build new image `docker build -t biuro/web:1.33.2 .` (update version number) - build new image `docker build -t biuro/web:1.34.0 .` (update version number)
- login to biuro docker account `docker login --username=biuro --password=9Ndtjd2vKsLvGuFOeFq1KdJs` - login to biuro docker account `docker login --username=biuro --password=9Ndtjd2vKsLvGuFOeFq1KdJs`
- push image to docker repository - `docker push biuro/web:1.33.2` - push image to docker repository - `docker push biuro/web:1.34.0`
## Production ## Production
- update biuro/web image version in .env file (staging or www) - update biuro/web image version in .env file (staging or www)
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
.l-nav--wrap { .l-nav--wrap {
@media (--max--medium) { @media (--max--medium) {
display: none; display: none;
position: fixed; top: 0; left: 0; width: 100%; height: 100%; overflow-y: auto; opacity: 0.97; background-color: #1D2A3A; z-index: 500; position: fixed; top: 0; left: 0; width: 100%; height: 100%; padding-bottom: 20px; overflow-y: auto; opacity: 0.97; background-color: #1D2A3A; z-index: 500;
border: 1px solid #000; overflow: hidden; text-align: center; flex-direction: column; align-items: center; border: 1px solid #000; text-align: center; flex-direction: column; align-items: center;
} }
@media (--min--medium) { @media (--min--medium) {
flex: 1 1 100%; display: flex; align-items: center; flex: 1 1 100%; display: flex; align-items: center;
......
...@@ -74,8 +74,6 @@ ...@@ -74,8 +74,6 @@
height: 348px; height: 348px;
} }
} }
/* critical:end */
.l-section { background-repeat: no-repeat; background-position: 50% 50%; background-size: cover; } .l-section { background-repeat: no-repeat; background-position: 50% 50%; background-size: cover; }
...@@ -93,6 +91,7 @@ ...@@ -93,6 +91,7 @@
background-size: 80%; background-size: 80%;
} }
} }
/* critical:end */
.l-section--landing-1 { background-position: 25% 0; .l-section--landing-1 { background-position: 25% 0;
@media (--min--medium) { @media (--min--medium) {
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
.c-nav--main { display: flex; font-size: 14px; .c-nav--main { display: flex; font-size: 14px;
@media (--max--medium) { @media (--max--medium) {
margin: 115px 0 180px; padding: 0 20px; width: 100%; justify-content: space-between; margin: 85px 0 0; padding: 0 20px; width: 100%; justify-content: space-between;
} }
} }
...@@ -18,11 +18,11 @@ ...@@ -18,11 +18,11 @@
&:first-child { &:first-child {
@media (--max--medium) { @media (--max--medium) {
text-align: left; text-align: left;
.c-nav--sub { left: 0; right: auto; } /* .c-nav--sub { left: 0; right: auto; } */
} }
} }
@media (--max--medium) { @media (--max--medium) {
position: relative; flex: 0 0 auto; text-align: right; position: relative; flex: 0 1 50%; text-align: right; overflow: hidden;
} }
@media (--min--medium) { @media (--min--medium) {
height: 70px; margin-right: 26px; padding: 23px 0 0; height: 70px; margin-right: 26px; padding: 23px 0 0;
...@@ -41,12 +41,15 @@ ...@@ -41,12 +41,15 @@
&:hover { opacity: 1; } &:hover { opacity: 1; }
} }
.c-nav--sub { position: absolute; .c-nav--sub {
@media (--max--medium) { @media (--max--medium) {
right: 0; left: auto; top: 150%; margin: 20px 0;
} }
/* @media (--max--medium) {
right: 0; left: auto; top: 150%;
} */
@media (--min--medium) { @media (--min--medium) {
top: 100%; position: absolute; top: 100%;
} }
} }
.c-nav--sub-item { .c-nav--sub-item {
...@@ -56,6 +59,10 @@ ...@@ -56,6 +59,10 @@
} }
.c-nav--sub-anchor { display: block; padding: 16px 0 17px; color: #fff; text-transform: uppercase; white-space: nowrap; text-decoration: none; font-weight: bold; letter-spacing: 1.08px; line-height: 1; .c-nav--sub-anchor { display: block; padding: 16px 0 17px; color: #fff; text-transform: uppercase; white-space: nowrap; text-decoration: none; font-weight: bold; letter-spacing: 1.08px; line-height: 1;
&:hover { color: var(--color--green); } &:hover { color: var(--color--green); }
@media (--max--medium) {
overflow: hidden; text-overflow: ellipsis;
}
} }
.c-nav--footer { font-weight: 300; .c-nav--footer { font-weight: 300;
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
background-color: #fff; background-color: #fff;
@media (--max--medium) { @media (--max--medium) {
flex: 0 0 60px; flex: 0 0 62px;
} }
.awesomplete { .awesomplete {
......
...@@ -35,6 +35,8 @@ ...@@ -35,6 +35,8 @@
.is-nav--open { .is-nav--open {
@media (--max--medium) { @media (--max--medium) {
overflow: hidden;
.l-nav--wrap { display: flex; } .l-nav--wrap { display: flex; }
} }
} }
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,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-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" > <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-7ae43e0093.min.css'; ?></style> <style><?php include 'css/core-b6db19769a.min.css'; ?></style>
<script> <script>
document.documentElement.classList.replace('no-js', 'js'); document.documentElement.classList.replace('no-js', 'js');
...@@ -42,13 +42,13 @@ ...@@ -42,13 +42,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-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" 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-62ad2a3720.min.css" as="style" onload="this.rel='stylesheet'"> <link rel="preload" href="/wp-content/themes/biuro/css/main-91df623b54.min.css" as="style" onload="this.rel='stylesheet'">
<link rel="preconnect" href="https://www.gstatic.com"> <link rel="preconnect" href="https://www.gstatic.com">
<link rel="preconnect" href="https://fonts.gstatic.com"> <link rel="preconnect" href="https://fonts.gstatic.com">
<noscript> <noscript>
<link rel="stylesheet" href="/wp-content/themes/biuro/css/main-62ad2a3720.min.css"> <link rel="stylesheet" href="/wp-content/themes/biuro/css/main-91df623b54.min.css">
</noscript> </noscript>
<?php wp_head(); ?> <?php wp_head(); ?>
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,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-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" > <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-7ae43e0093.min.css'; ?></style> <style><?php include 'css/core-b6db19769a.min.css'; ?></style>
<script> <script>
document.documentElement.classList.replace('no-js', 'js'); document.documentElement.classList.replace('no-js', 'js');
...@@ -42,13 +42,13 @@ ...@@ -42,13 +42,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-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" 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-62ad2a3720.min.css" as="style" onload="this.rel='stylesheet'"> <link rel="preload" href="/wp-content/themes/biuro/css/main-91df623b54.min.css" as="style" onload="this.rel='stylesheet'">
<link rel="preconnect" href="https://www.gstatic.com"> <link rel="preconnect" href="https://www.gstatic.com">
<link rel="preconnect" href="https://fonts.gstatic.com"> <link rel="preconnect" href="https://fonts.gstatic.com">
<noscript> <noscript>
<link rel="stylesheet" href="/wp-content/themes/biuro/css/main-62ad2a3720.min.css"> <link rel="stylesheet" href="/wp-content/themes/biuro/css/main-91df623b54.min.css">
</noscript> </noscript>
<?php wp_head(); ?> <?php wp_head(); ?>
......
...@@ -19,6 +19,8 @@ ...@@ -19,6 +19,8 @@
<?php <?php
endif; endif;
?> ?>
<meta name="description" content="<?php echo get_post_meta(get_the_ID(), '_yoast_wpseo_metadesc', true); ; ?>">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"> <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"> <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
...@@ -44,7 +46,7 @@ ...@@ -44,7 +46,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-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" > <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-7ae43e0093.min.css'; ?></style> <style><?php include 'css/core-b6db19769a.min.css'; ?></style>
<script> <script>
document.documentElement.classList.replace('no-js', 'js'); document.documentElement.classList.replace('no-js', 'js');
...@@ -53,13 +55,13 @@ ...@@ -53,13 +55,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-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" 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-62ad2a3720.min.css" as="style" onload="this.rel='stylesheet'"> <link rel="preload" href="/wp-content/themes/biuro/css/main-91df623b54.min.css" as="style" onload="this.rel='stylesheet'">
<link rel="preconnect" href="https://www.gstatic.com"> <link rel="preconnect" href="https://www.gstatic.com">
<link rel="preconnect" href="https://fonts.gstatic.com"> <link rel="preconnect" href="https://fonts.gstatic.com">
<noscript> <noscript>
<link rel="stylesheet" href="/wp-content/themes/biuro/css/main-62ad2a3720.min.css"> <link rel="stylesheet" href="/wp-content/themes/biuro/css/main-91df623b54.min.css">
</noscript> </noscript>
<?php <?php
......
...@@ -3,6 +3,6 @@ Theme Name: Biuro ...@@ -3,6 +3,6 @@ Theme Name: Biuro
Author: Biuro Author: Biuro
Author URI: https://www.biuro.lt/ Author URI: https://www.biuro.lt/
Description: Biuro multiregion theme Description: Biuro multiregion theme
Version: 1.33.2 Version: 1.34.0
Text Domain: biuro 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