Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dev.biuro
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Biuro
dev.biuro
Commits
581f3e6b
Commit
581f3e6b
authored
May 16, 2021
by
Simon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
release 1.25.0
parent
fe204cbf
Changes
20
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
197 additions
and
16 deletions
+197
-16
README.md
README.md
+2
-2
docker-compose.yml
docker-compose.yml
+2
-2
biuro-contacts-public--employees--step-1.php
...lic/partials/biuro-contacts-public--employees--step-1.php
+1
-1
biuro-contacts-public--employees.php
...acts/public/partials/biuro-contacts-public--employees.php
+6
-0
_layout--section.css
wp-content/themes/biuro/css/05-layout/_layout--section.css
+9
-0
__components.css
wp-content/themes/biuro/css/07-components/__components.css
+1
-0
_component--contact-landing-6.css
...biuro/css/07-components/_component--contact-landing-6.css
+52
-0
_component--heading.css
...nt/themes/biuro/css/07-components/_component--heading.css
+15
-0
core-0b7f9f1db2.min.css
wp-content/themes/biuro/css/core-0b7f9f1db2.min.css
+1
-0
core-66ee580cc0.min.css
wp-content/themes/biuro/css/core-66ee580cc0.min.css
+0
-1
main-4e656cba4e.min.css
wp-content/themes/biuro/css/main-4e656cba4e.min.css
+0
-3
main-db4589d5f6.min.css
wp-content/themes/biuro/css/main-db4589d5f6.min.css
+3
-0
employees-langing-page-6.php
wp-content/themes/biuro/employees-langing-page-6.php
+84
-0
functions.php
wp-content/themes/biuro/functions.php
+9
-0
header-langing.php
wp-content/themes/biuro/header-langing.php
+3
-3
header.php
wp-content/themes/biuro/header.php
+3
-3
landing-6.jpg
wp-content/themes/biuro/i/sections/landing-6.jpg
+0
-0
landing-6.webp
wp-content/themes/biuro/i/sections/landing-6.webp
+0
-0
kazlu-ruda.json
wp-content/themes/biuro/json/kazlu-ruda.json
+5
-0
style.css
wp-content/themes/biuro/style.css
+1
-1
No files found.
README.md
View file @
581f3e6b
...
...
@@ -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.2
4.1
.`
(update version number)
-
build new image
`docker build -t biuro/web:1.2
5.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.2
4.1
`
-
push image to docker repository -
`docker push biuro/web:1.2
5.0
`
## Production
-
update biuro/web image version in .env file (staging or www)
...
...
docker-compose.yml
View file @
581f3e6b
...
...
@@ -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
:
...
...
wp-content/plugins/biuro-contacts/public/partials/biuro-contacts-public--employees--step-1.php
View file @
581f3e6b
...
...
@@ -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
...
...
wp-content/plugins/biuro-contacts/public/partials/biuro-contacts-public--employees.php
View file @
581f3e6b
...
...
@@ -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
:
?>
...
...
wp-content/themes/biuro/css/05-layout/_layout--section.css
View file @
581f3e6b
...
...
@@ -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)
;
}
}
wp-content/themes/biuro/css/07-components/__components.css
View file @
581f3e6b
...
...
@@ -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'
;
...
...
wp-content/themes/biuro/css/07-components/_component--contact-landing-6.css
0 → 100644
View file @
581f3e6b
/* ------------- 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
;
}
}
}
wp-content/themes/biuro/css/07-components/_component--heading.css
View file @
581f3e6b
...
...
@@ -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)
{
...
...
wp-content/themes/biuro/css/core-0b7f9f1db2.min.css
0 → 100644
View file @
581f3e6b
This diff is collapsed.
Click to expand it.
wp-content/themes/biuro/css/core-66ee580cc0.min.css
deleted
100644 → 0
View file @
fe204cbf
This diff is collapsed.
Click to expand it.
wp-content/themes/biuro/css/main-4e656cba4e.min.css
deleted
100644 → 0
View file @
fe204cbf
This diff is collapsed.
Click to expand it.
wp-content/themes/biuro/css/main-db4589d5f6.min.css
0 → 100644
View file @
581f3e6b
This diff is collapsed.
Click to expand it.
wp-content/themes/biuro/employees-langing-page-6.php
0 → 100644
View file @
581f3e6b
<?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
();
wp-content/themes/biuro/functions.php
View file @
581f3e6b
...
...
@@ -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'
,
...
...
wp-content/themes/biuro/header-langing.php
View file @
581f3e6b
...
...
@@ -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
();
?>
...
...
wp-content/themes/biuro/header.php
View file @
581f3e6b
...
...
@@ -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
...
...
wp-content/themes/biuro/i/sections/landing-6.jpg
0 → 100644
View file @
581f3e6b
114 KB
wp-content/themes/biuro/i/sections/landing-6.webp
0 → 100644
View file @
581f3e6b
File added
wp-content/themes/biuro/json/kazlu-ruda.json
0 → 100644
View file @
581f3e6b
[
{
"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
}
]
wp-content/themes/biuro/style.css
View file @
581f3e6b
...
...
@@ -3,6 +3,6 @@ Theme Name: Biuro
Author: Biuro
Author URI: https://www.biuro.lt/
Description: Biuro multiregion theme
Version: 1.2
4.1
Version: 1.2
5.0
Text Domain: biuro
*/
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment