Commit 4a65857a authored by Simonas's avatar Simonas

in progress

parent 5070f4b1
...@@ -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.7.0 .` (update version number) - build new image `docker build -t biuro/web:1.8.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.7.0` - push image to docker repository - `docker push biuro/web:1.8.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)
......
{ {
"name": "biuro", "name": "biuro",
"version": "1.7.0", "version": "1.8.0",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {
......
{ {
"name": "biuro", "name": "biuro",
"version": "1.7.0", "version": "1.8.0",
"description": "Biuro WP theme", "description": "Biuro WP theme",
"scripts": { "scripts": {
"dev": "gulp --require @babel/register --gulpfile tasks", "dev": "gulp --require @babel/register --gulpfile tasks",
......
...@@ -802,7 +802,8 @@ if (whatsapp) { ...@@ -802,7 +802,8 @@ if (whatsapp) {
const target = e.currentTarget; const target = e.currentTarget;
window.location.href = 'whatsapp://send?text=' + encodeURIComponent(target.dataset.text); // window.location.href = 'whatsapp://send?text=' + encodeURIComponent(target.dataset.text);
window.location.href = 'whatsapp://send?text=' + target.dataset.text;
setTimeout(() => { setTimeout(() => {
if (document.hidden || !isPageActive) { if (document.hidden || !isPageActive) {
......
...@@ -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.7.0 Version: 1.8.0
Text Domain: biuro Text Domain: biuro
*/ */
...@@ -49,7 +49,10 @@ ...@@ -49,7 +49,10 @@
<div class="c-share"> <div class="c-share">
<p class="c-share--heading"><?php _e('Suggest a friend', 'biuro'); ?></p> <p class="c-share--heading"><?php _e('Suggest a friend', 'biuro'); ?></p>
<div class="c-share--options"> <div class="c-share--options">
<a rel="noopener" href="https://www.facebook.com/dialog/feed?app_id=<?php echo $appID; ?>&amp;link=<?php echo urlencode($requestURL . $sep . 'utm_source=biuro&utm_medium=Share&utm_campaign=Facebook'); ?>&redirect_uri=<?php echo $redirectURL; ?>" class="gtm-share-click c-share--option c-share--option-facebook" data-label="Facebook">
<a rel="noopener" href="https://www.facebook.com/dialog/share?app_id=<?php echo $appID; ?>&display=popup&amp;link=<?php echo urlencode($requestURL . $sep . 'utm_source=biuro&utm_medium=Share&utm_campaign=Facebook'); ?>&redirect_uri=<?php echo $redirectURL; ?>" class="gtm-share-click js-share-facebook c-share--option c-share--option-facebook" data-label="Facebook">
<svg width="9px" height="18px" class="c-ico--share-facebook"> <svg width="9px" height="18px" class="c-ico--share-facebook">
<use xlink:href="#ico--job-facebook"></use> <use xlink:href="#ico--job-facebook"></use>
</svg> </svg>
......
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