Commit 761e47a5 authored by Simonas's avatar Simonas

in progress

parent 890b1459
...@@ -43,6 +43,10 @@ ...@@ -43,6 +43,10 @@
#### Polylang #### Polylang
#### Yoast SEO #### Yoast SEO
### Basic Auth
- biuro_wp_api
- LabAiGeRsKodsu89wapI
### SEO ### SEO
- [Biuro SEO auditas](https://docs.google.com/document/d/1FiwVoiLvGGmi9V-HPBgJ3gsh3wGswt27csgvfdTU24w/edit?usp=sharing) - [Biuro SEO auditas](https://docs.google.com/document/d/1FiwVoiLvGGmi9V-HPBgJ3gsh3wGswt27csgvfdTU24w/edit?usp=sharing)
- [Biuro raktinių žodžių analizė](https://docs.google.com/spreadsheets/d/1ggnqKuGxFFkLgI6NDZq4PXpRY_whdHX0kjZj7pCP_fk/edit?ts=5b5eaa62#gid=0) - [Biuro raktinių žodžių analizė](https://docs.google.com/spreadsheets/d/1ggnqKuGxFFkLgI6NDZq4PXpRY_whdHX0kjZj7pCP_fk/edit?ts=5b5eaa62#gid=0)
......
This diff is collapsed.
...@@ -35,8 +35,8 @@ export function server () { ...@@ -35,8 +35,8 @@ export function server () {
bs.init({ bs.init({
logPrefix: 'Biuro', logPrefix: 'Biuro',
socket: { socket: {
// domain: 'localhost:443' domain: 'dev.biuro.lt:2000'
domain: 'https://10.0.75.1:3000/' // domain: 'https://10.0.75.1:3000/'
// // port: 2000 // // port: 2000
}, },
// proxy: { // proxy: {
...@@ -45,13 +45,14 @@ export function server () { ...@@ -45,13 +45,14 @@ export function server () {
// }, // },
proxy: { proxy: {
target: 'https://dev.biuro.lt/', target: 'https://dev.biuro.lt/',
proxyRes: [ // target: 'dev.biuro.lt:443',
function (proxyRes, req, res) { // proxyRes: [
// console.log(proxyRes.headers); // function (proxyRes, req, res) {
console.log(req); // // console.log(proxyRes.headers);
} // console.log(req);
], // }
ws: true // ],
ws: false
}, },
// httpModule: http2, // httpModule: http2,
https: { https: {
...@@ -64,7 +65,7 @@ export function server () { ...@@ -64,7 +65,7 @@ export function server () {
// ], // ],
ghostMode: false, ghostMode: false,
open: false, open: false,
// port: 2000, port: 2000,
// server: false, // server: false,
ui: false, ui: false,
// notify: false, // notify: false,
......
...@@ -3,8 +3,12 @@ ...@@ -3,8 +3,12 @@
/* critical:start */ /* critical:start */
:root { :root {
--color--gray: #4d4d4d; --color--gray: #7e8683;
--color--green: #006957; --color--gray-darker: #2A3644;
--color--gray-dark: #1d2a3a;
--color--green: #1fb299;
--color--green-darker: #149a83;
--color--green-dark: #006957;
} }
/* critical:end */ /* critical:end */
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
:root { :root {
/*--layout-width: 976px;*/ /*--layout-width: 976px;*/
--layout-width: 63em; --layout-width: 73.125em; /* 1170px */
} }
/* critical:end */ /* critical:end */
...@@ -4,18 +4,14 @@ ...@@ -4,18 +4,14 @@
:root { :root {
--typo--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Light", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; --typo--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Light", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
--typo--font-size: 1.8rem; --typo--font-size: 1.4rem;
--typo--weight-slim: 100; --typo--weight-regular: 500;
--typo--weight-regular: 400; --typo--weight-bold: 500;
--typo--weight-bold: 600;
--typo--line-height: 1.2; --typo--line-height: 1.2;
--typo--font-face: 'PT Sans Narrow', sans-serif; --typo--font-face: 'Roboto', sans-serif;
--typo--font-face-additional: 'Bebas Neue', sans-serif;
@media (--min--small) {
--typo--font-size: 1.6rem;
--typo--line-height: 1.3;
}
} }
/* critical:end */ /* critical:end */
/*font-family: 'Roboto', sans-serif;*/
...@@ -2,10 +2,8 @@ ...@@ -2,10 +2,8 @@
/* critical:start */ /* critical:start */
.l-header { @extend .l-inner; padding-top: 15px; padding-bottom: 15px; .l-header { position: relative; height: 70px; margin-bottom: 47px;
@media (--min--small) { &:before { content: ''; position: absolute; top: 100%; left: 0; width: 100%; height: 47px; background: var(--color--gray-dark); }
display: flex; align-items: center;
}
} }
/* critical:end */ /* critical:end */
......
...@@ -5,3 +5,5 @@ ...@@ -5,3 +5,5 @@
.l-inner { max-width: var(--layout-width); margin-right: auto; margin-left: auto; padding-right: 1em; padding-left: 1em; } .l-inner { max-width: var(--layout-width); margin-right: auto; margin-left: auto; padding-right: 1em; padding-left: 1em; }
/* critical:end */ /* critical:end */
.l-inner--header { display: flex; flex-direction: row; }
...@@ -4,30 +4,30 @@ ...@@ -4,30 +4,30 @@
.c-nav { } .c-nav { }
.c-nav--main {display: flex; .c-nav--main { display: flex; z-index: 300; padding-left: 224px;
@media (--max--small) { /* @media (--max--small) {
margin: 20px 0; margin: 20px 0;
} }
@media (--min--small) { @media (--min--small) {
padding-left: 2em; padding-left: 2em;
} }*/
} }
.c-nav--sub { display: none; } .c-nav--sub { display: none; }
/* critical:end */ /* critical:end */
.c-nav--main-item { position: relative; margin-right: 10px; border: 1px solid gray; padding: 5px; } .c-nav--main-item { position: relative; height: 70px; margin-right: 26px; padding: 24px 0 0; }
.c-nav--main-anchor { display: block; padding: 0 0.25em; text-transform: uppercase; } .c-nav--main-anchor { display: block; padding: 5px 0; text-transform: uppercase; border-bottom: 2px solid transparent; text-decoration: none; }
.c-nav--sub { position: absolute; top: 100%; left: -1px; padding: 0 1em 0 6px; border: 1px solid gray; overflow: hidden; background: #fff; } .c-nav--sub { position: absolute; top: 100%; padding: 0 1em 0 6px; overflow: hidden; }
.c-nav--sub-item { background: #fff; padding: .5em .5em .5em 0; } .c-nav--sub-item { height: 46px; line-height: 46; }
.c-nav--sub-anchor { padding: 0.25em; white-space: nowrap; } .c-nav--sub-anchor { color: #fff; text-transform: uppercase; white-space: nowrap; }
.c-nav--item { margin: 10px; } /*.c-nav--item { margin: 10px; }*/
.c-nav--link { line-height: 40px; font-size: 24px; text-decoration: none; /*.c-nav--link { line-height: 40px; font-size: 24px; text-decoration: none;
&:hover { text-decoration: underline; } &:hover { text-decoration: underline; }
} }*/
.c-nav--region { } .c-nav--region { }
......
...@@ -14,10 +14,9 @@ ...@@ -14,10 +14,9 @@
*/ */
.is-nav--main-item-active { position: relative; border-bottom-color: #f00; .is-nav--main-item-active { position: relative;
&:before { content: ''; position: absolute; height: 1px; width: 100%; bottom: -1px; left: 0; background: #fff; z-index: 10; } .c-nav--sub { display: flex; }
.c-nav--sub { display: flex; }
} }
.is-nav--main-anchor-active { text-decoration: none; } .is-nav--main-anchor-active { border-bottom-color: var(--color--gray-dark); color: var(--color--gray-dark); }
.is-nav--sub-anchor-active { text-decoration: none; font-weight: 600; } .is-nav--sub-anchor-active { text-decoration: none; }
:root{--color--gray:#4d4d4d;--color--green:#006957;--typo--font-family:-apple-system,BlinkMacSystemFont,"Segoe UI Light","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;--typo--font-size:1.8rem;--typo--weight-slim:100;--typo--weight-regular:400;--typo--weight-bold:600;--typo--line-height:1.2;--typo--font-face:"PT Sans Narrow",sans-serif;--typo--font-face-additional:"Bebas Neue",sans-serif;--layout-width:63em}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}html{-webkit-box-sizing:border-box;box-sizing:border-box}*,:after,:before{-webkit-box-sizing:inherit;box-sizing:inherit}a,body{color:#4d4d4d;color:var(--color--gray)}body{font-size:1.8rem;font-size:var(--typo--font-size);line-height:1.2;line-height:var(--typo--line-height)}html{min-height:100%;font-size:62.5%;-webkit-tap-highlight-color:rgba(0,0,0,0)}.l-content,.l-footer,.l-header,.l-inner{max-width:63em;max-width:var(--layout-width);margin-right:auto;margin-left:auto;padding-right:1em;padding-left:1em}.l-header{padding-top:15px;padding-bottom:15px}.o-nav{margin:0;padding:0;list-style:none}.c-cookies-warning{display:none}.c-data-controller{padding:0 1em;text-align:center;font-size:88%}.c-data-controller p{margin-bottom:0}.c-jobs-list{width:100%;margin:0 0 20px}.c-jobs-list--head{padding:10px}.c-jobs-list--col{padding:0 10px}.c-logo--svg{display:block}.c-nav--main{display:-webkit-box;display:-ms-flexbox;display:flex}.c-nav--sub,.u-hidden{display:none}@media (min-width:48em){:root{--typo--font-size:1.6rem;--typo--line-height:1.3}body{font-family:PT Sans Narrow,sans-serif;font-family:var(--typo--font-face)}.l-header{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.l-content,.l-header{display:-webkit-box;display:-ms-flexbox;display:flex}.l-aside{-webkit-box-flex:0;-ms-flex:0 0 16.25em;flex:0 0 16.25em}.l-main,.l-nav{-webkit-box-flex:1;-ms-flex:1 1 100%;flex:1 1 100%}.c-nav--main{padding-left:2em}}@media (max-width:47.999em){body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI Light,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-family:var(--typo--font-family);letter-spacing:-.08rem}.c-nav--main{margin:20px 0}}@media (min-width:30em){.c-jobs-list--col{padding:10px}}@media (max-width:29.999em){.c-jobs-list--col-position{padding-top:10px}}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -123,7 +123,7 @@ document.querySelectorAll('.js-job-action').forEach(function (node) { ...@@ -123,7 +123,7 @@ document.querySelectorAll('.js-job-action').forEach(function (node) {
}); });
</script> </script>
<script src="/wp-content/themes/biuro/js/main-19c9eea4.min.js" async></script> <script src="/wp-content/themes/biuro/js/main.min.js" async></script>
<?php wp_footer(); ?> <?php wp_footer(); ?>
</body> </body>
</html> </html>
...@@ -30,17 +30,18 @@ define('cityID', $cityID); ...@@ -30,17 +30,18 @@ define('cityID', $cityID);
<?php <?php
get_template_part( 'template-parts/meta/canonical'); get_template_part( 'template-parts/meta/canonical');
?> ?>
<link href="https://fonts.googleapis.com/css?family=Roboto:500" rel="stylesheet">
<style><?php include 'css/core-a25434ed1d.min.css'; ?></style> <style><?php include 'css/core.min.css'; ?></style>
<link rel="preload" href="/wp-content/themes/biuro/css/main-4233b63eb8.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="preload" href="/wp-content/themes/biuro/fonts/pt_sans_narrow.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="/wp-content/themes/biuro/fonts/pt_sans_narrow.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/wp-content/themes/biuro/fonts/pt_sans_narrow_bold.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="/wp-content/themes/biuro/fonts/pt_sans_narrow_bold.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/wp-content/themes/biuro/fonts/bebas-neue.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="/wp-content/themes/biuro/fonts/bebas-neue.woff2" as="font" type="font/woff2" crossorigin>
<noscript> <noscript>
<link rel="stylesheet" href="/wp-content/themes/biuro/css/main-4233b63eb8.min.css"> <link rel="stylesheet" href="/wp-content/themes/biuro/css/main.min.css">
</noscript> </noscript>
<?php wp_head(); ?> <?php wp_head(); ?>
...@@ -67,22 +68,24 @@ $section = get_post_meta( $post->ID, 'section', true ); ...@@ -67,22 +68,24 @@ $section = get_post_meta( $post->ID, 'section', true );
</svg> </svg>
<header class="l-header"> <header class="l-header">
<div class="l-inner l-inner--header">
<a href="<?php echo pll_home_url(); ?>" class="c-logo" title="<?php echo get_the_title( get_option('page_on_front') ); ?>"> <a href="<?php echo pll_home_url(); ?>" class="c-logo" title="<?php echo get_the_title( get_option('page_on_front') ); ?>">
<svg width="133px" height="78px" class="c-logo--svg"> <svg width="133px" height="78px" class="c-logo--svg">
<use xlink:href="#biuro-logo"></use> <use xlink:href="#biuro-logo"></use>
</svg> </svg>
</a> </a>
<nav class="l-nav"> <nav class="l-nav">
<?php <?php
get_template_part( 'template-parts/menus/menu', 'main' ); get_template_part( 'template-parts/menus/menu', 'main' );
?> ?>
</nav> </nav>
<?php <?php
get_template_part( 'template-parts/menus/menu', 'language' ); get_template_part( 'template-parts/menus/menu', 'language' );
?> ?>
</div>
</header> </header>
<div class="l-inner" style="box-shadow: inset 0 0 0 1px blue; <?php if ( is_front_page() ): ?> padding-top: 5em; padding-bottom: 5em; <?php else:; ?> padding-top: 1em; padding-bottom: 1em; <?php endif; ?>"> <div class="l-inner" style="box-shadow: inset 0 0 0 1px blue; <?php if ( is_front_page() ): ?> padding-top: 5em; padding-bottom: 5em; <?php else:; ?> padding-top: 1em; padding-bottom: 1em; <?php endif; ?>">
......
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
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