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
93b3369f
Commit
93b3369f
authored
Jul 18, 2019
by
Simon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
release 1.6.4
parent
0518b575
Changes
12
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
26 additions
and
21 deletions
+26
-21
README.md
README.md
+2
-2
package.json
package.json
+1
-1
_component--tooltip.css
...nt/themes/biuro/css/07-components/_component--tooltip.css
+2
-4
core-da62169aa6.min.css
wp-content/themes/biuro/css/core-da62169aa6.min.css
+1
-1
main-eb5b470541.min.css
wp-content/themes/biuro/css/main-eb5b470541.min.css
+1
-1
footer.php
wp-content/themes/biuro/footer.php
+1
-1
header-langing.php
wp-content/themes/biuro/header-langing.php
+3
-3
header.php
wp-content/themes/biuro/header.php
+3
-3
main-d5fdceb0.min.js
wp-content/themes/biuro/js/main-d5fdceb0.min.js
+1
-1
main.js
wp-content/themes/biuro/js/main.js
+8
-1
style.css
wp-content/themes/biuro/style.css
+1
-1
aside-job.php
wp-content/themes/biuro/template-parts/layout/aside-job.php
+2
-2
No files found.
README.md
View file @
93b3369f
...
...
@@ -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.6.
2
.`
(update version number)
-
build new image
`docker build -t biuro/web:1.6.
4
.`
(update version number)
-
login to biuro docker account
`docker login --username=biuro --password=9Ndtjd2vKsLvGuFOeFq1KdJs`
-
push image to docker repository -
`docker push biuro/web:1.6.
2
`
-
push image to docker repository -
`docker push biuro/web:1.6.
4
`
## Production
-
update biuro/web image version in .env file (staging or www)
...
...
package.json
View file @
93b3369f
{
"name"
:
"biuro"
,
"version"
:
"1.6.
2
"
,
"version"
:
"1.6.
4
"
,
"description"
:
"Biuro WP theme"
,
"scripts"
:
{
"dev"
:
"gulp --require @babel/register --gulpfile tasks"
,
...
...
wp-content/themes/biuro/css/07-components/_component--tooltip.css
View file @
93b3369f
...
...
@@ -2,11 +2,11 @@
/* critical:start */
.c-tooltip
{
pointer-events
:
none
;
opacity
:
0
;
}
.c-tooltip
{
po
sition
:
absolute
;
po
inter-events
:
none
;
opacity
:
0
;
}
/* critical:end */
.c-tooltip
{
position
:
absolute
;
top
:
46px
;
right
:
0
;
max-width
:
80vw
;
padding
:
16px
10px
17px
;
border-radius
:
3px
;
background-color
:
#fff
;
box-shadow
:
-2px
0
14px
0
rgba
(
217
,
214
,
214
,
0.5
);
white-space
:
nowrap
;
z-index
:
10
;
transition
:
opacity
0.22s
ease-in-out
;
.c-tooltip
{
top
:
46px
;
right
:
0
;
max-width
:
80vw
;
padding
:
16px
10px
17px
;
border-radius
:
3px
;
background-color
:
#fff
;
box-shadow
:
-2px
0
14px
0
rgba
(
217
,
214
,
214
,
0.5
);
white-space
:
nowrap
;
z-index
:
10
;
transition
:
opacity
0.22s
ease-in-out
;
@media
(--min--xx-small)
{
left
:
50%
;
transform
:
translate
(
-50%
,
0
);
right
:
auto
;
padding
:
16px
28px
17px
;
top
:
50px
;
}
...
...
@@ -16,5 +16,3 @@
}
}
}
.c-tooltip
{
}
wp-content/themes/biuro/css/core-
5e504054d9
.min.css
→
wp-content/themes/biuro/css/core-
da62169aa6
.min.css
View file @
93b3369f
This diff is collapsed.
Click to expand it.
wp-content/themes/biuro/css/main-
8c3b678c6d
.min.css
→
wp-content/themes/biuro/css/main-
eb5b470541
.min.css
View file @
93b3369f
This diff is collapsed.
Click to expand it.
wp-content/themes/biuro/footer.php
View file @
93b3369f
...
...
@@ -149,7 +149,7 @@
<?php
endif
;
?>
<script
src=
"/wp-content/themes/biuro/js/main-
71235177
.min.js"
async
></script>
<script
src=
"/wp-content/themes/biuro/js/main-
d5fdceb0
.min.js"
async
></script>
<?php
// global $time_start;
...
...
wp-content/themes/biuro/header-langing.php
View file @
93b3369f
...
...
@@ -31,15 +31,15 @@
<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-
5e504054d9
.min.css'
;
?>
</style>
<style>
<?php
include
'css/core-
da62169aa6
.min.css'
;
?>
</style>
<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-
8c3b678c6d
.min.css"
as=
"style"
onload=
"this.rel='stylesheet'"
>
<link
rel=
"preload"
href=
"/wp-content/themes/biuro/css/main-
eb5b470541
.min.css"
as=
"style"
onload=
"this.rel='stylesheet'"
>
<noscript>
<link
rel=
"stylesheet"
href=
"/wp-content/themes/biuro/css/main-
8c3b678c6d
.min.css"
>
<link
rel=
"stylesheet"
href=
"/wp-content/themes/biuro/css/main-
eb5b470541
.min.css"
>
</noscript>
<?php
wp_head
();
?>
...
...
wp-content/themes/biuro/header.php
View file @
93b3369f
...
...
@@ -31,15 +31,15 @@
<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-
5e504054d9
.min.css'
;
?>
</style>
<style>
<?php
include
'css/core-
da62169aa6
.min.css'
;
?>
</style>
<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-
8c3b678c6d
.min.css"
as=
"style"
onload=
"this.rel='stylesheet'"
>
<link
rel=
"preload"
href=
"/wp-content/themes/biuro/css/main-
eb5b470541
.min.css"
as=
"style"
onload=
"this.rel='stylesheet'"
>
<noscript>
<link
rel=
"stylesheet"
href=
"/wp-content/themes/biuro/css/main-
8c3b678c6d
.min.css"
>
<link
rel=
"stylesheet"
href=
"/wp-content/themes/biuro/css/main-
eb5b470541
.min.css"
>
</noscript>
<?php
wp_head
();
?>
...
...
wp-content/themes/biuro/js/main-
71235177
.min.js
→
wp-content/themes/biuro/js/main-
d5fdceb0
.min.js
View file @
93b3369f
This source diff could not be displayed because it is too large. You can
view the blob
instead.
wp-content/themes/biuro/js/main.js
View file @
93b3369f
...
...
@@ -753,6 +753,13 @@ const whatsapp = document.querySelector('.js-share-whatsapp');
if
(
whatsapp
)
{
whatsapp
.
addEventListener
(
'click'
,
(
e
)
=>
{
e
.
preventDefault
();
window
.
open
(
'https://wa.me/?text='
+
encodeURIComponent
(
window
.
location
.
href
),
'_blank'
);
const
ua
=
navigator
.
userAgent
.
toLowerCase
();
if
(
ua
.
indexOf
(
'android'
)
>
-
1
)
{
window
.
open
(
'whatsapp://send?text='
+
encodeURIComponent
(
window
.
location
.
href
),
'_blank'
);
}
else
{
window
.
open
(
'https://wa.me/?text='
+
encodeURIComponent
(
window
.
location
.
href
),
'_blank'
);
}
});
}
wp-content/themes/biuro/style.css
View file @
93b3369f
...
...
@@ -3,6 +3,6 @@ Theme Name: Biuro
Author: Biuro
Author URI: https://www.biuro.lt/
Description: Biuro multiregion theme
Version: 1.6.
2
Version: 1.6.
4
Text Domain: biuro
*/
wp-content/themes/biuro/template-parts/layout/aside-job.php
View file @
93b3369f
...
...
@@ -48,7 +48,7 @@
<use
xlink:href=
"#ico--job-facebook"
></use>
</svg>
</a>
<a
target=
"_blank"
rel=
"noopener"
href=
"https://www.facebook.com/dialog/s
end?app_id=463001014486058
&link=
<?php
echo
$requestURL
;
?>
&redirect_uri=
<?php
echo
$requestURL
;
?>
"
class=
"gtm-share-click c-share--option c-share--option-messenger"
data-label=
"Messenger"
>
<a
target=
"_blank"
rel=
"noopener"
href=
"https://www.facebook.com/dialog/s
hare?app_id=463001014486058&display=popup
&link=
<?php
echo
$requestURL
;
?>
&redirect_uri=
<?php
echo
$requestURL
;
?>
"
class=
"gtm-share-click c-share--option c-share--option-messenger"
data-label=
"Messenger"
>
<svg
width=
"15px"
height=
"15px"
class=
"c-ico--share-messenger"
>
<use
xlink:href=
"#ico--job-messenger"
></use>
</svg>
...
...
@@ -63,7 +63,7 @@
<use
xlink:href=
"#ico--job-copy"
></use>
</svg>
<div
id=
"copy-tooltip"
class=
"c-tooltip"
>
Nuoroda nukopijuota į iškarpinę
<?php
_e
(
'The link copied to the clipboard'
,
'biuro'
);
?>
</div>
</a>
<a
target=
"_blank"
rel=
"noopener"
href=
"https://wa.me/?text=
<?php
echo
urlencode
(
$requestURL
);
?>
"
class=
"js-share-whatsapp gtm-share-click c-share--option c-share--option-phone"
data-label=
"WhatsApp"
>
...
...
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