Commit 6ccf7d40 authored by nursultan's avatar nursultan
Browse files

show/hide address and map for different versions

parent 0fa62ee9
if (location.hostname === "faceplate.ru"){
document.querySelector(".main-lang").style = "display: none";
document.querySelectorAll(".io-version").forEach(item => item.style = "display: none");
} else {
document.querySelectorAll(".ru-version").forEach(item => item.style = "display: none");
}
const nav_hum = document.querySelector('.ham');
......
......@@ -138,8 +138,13 @@
<object type="image/svg+xml" data="../assets/images/youtube.svg"></object>
</a>
</div>
<p class="footer-address rus">Республика Казахстан, 050061 <br/> г. Алматы, пр. Раймбека, 348а <br/> Tел. +7
<p class="footer-address rus io-version">Республика Казахстан, 050061 <br/> г. Алматы, пр. Раймбека, 348а <br/> Tел. +7
727 321 21 61</p>
<p class="footer-address rus ru-version">ООО "Фэйсплэйт" - 127204, <br/>
г. Москва, Долгопрудненское шоссе, дом 3, этаж 2, помещение VII, комната 24.
</p>
<p class="footer-address qaz">Qazaqstan Respýblıkasy, 050061<br/> Almaty qalasy, Raıymbek dańǵyly, 348a<br/>
Tel.+7 727 321 21 61</p>
<p class="footer-address eng">The Republic of Kazakhstan, 050061<br/> Almaty, 348a, Rayimbek ave.<br/> Tel.
......
......@@ -366,7 +366,7 @@
<div class="howItWorks-schema--item schema-01">
<object type="image/svg+xml" data="assets/images/01.svg"></object>
<div>
<span>СЕНСОРЫ</span>
<span>СЕНСОРЫ</span>
<p>сбор данных</p>
</div>
</div>
......@@ -401,7 +401,8 @@
<!------------- map section start -------------------------->
<section id="map">
<div style="position:relative;overflow:hidden;height: 100%">
<a class="dg-widget-link" href="http://2gis.kz/almaty/firm/70000001043050102/center/76.86189651489258,43.25418952547975/zoom/16?utm_medium=widget-source&utm_campaign=firmsonmap&utm_source=bigMap">Посмотреть на карте Алматы</a><div class="dg-widget-link"><a href="http://2gis.kz/almaty/center/76.861892,43.254029/zoom/16/routeTab/rsType/bus/to/76.861892,43.254029╎Zeinet & SSE, компания?utm_medium=widget-source&utm_campaign=firmsonmap&utm_source=route">Найти проезд до Zeinet & SSE, компания</a></div><script charset="utf-8" src="https://widgets.2gis.com/js/DGWidgetLoader.js"></script><script charset="utf-8">new DGWidgetLoader({"width":640,"height":600,"borderColor":"#a3a3a3","pos":{"lat":43.25418952547975,"lon":76.86189651489258,"zoom":16},"opt":{"city":"almaty"},"org":[{"id":"70000001043050102"}]});</script><noscript style="color:#c00;font-size:16px;font-weight:bold;">Виджет карты использует JavaScript. Включите его в настройках вашего браузера.</noscript>
<a class="dg-widget-link io-version" href="http://2gis.kz/almaty/firm/70000001043050102/center/76.86189651489258,43.25418952547975/zoom/16?utm_medium=widget-source&utm_campaign=firmsonmap&utm_source=bigMap">Посмотреть на карте Алматы</a><div class="dg-widget-link"><a href="http://2gis.kz/almaty/center/76.861892,43.254029/zoom/16/routeTab/rsType/bus/to/76.861892,43.254029╎Zeinet & SSE, компания?utm_medium=widget-source&utm_campaign=firmsonmap&utm_source=route">Найти проезд до Zeinet & SSE, компания</a></div><script charset="utf-8" src="https://widgets.2gis.com/js/DGWidgetLoader.js"></script><script charset="utf-8">new DGWidgetLoader({"width":640,"height":600,"borderColor":"#a3a3a3","pos":{"lat":43.25418952547975,"lon":76.86189651489258,"zoom":16},"opt":{"city":"almaty"},"org":[{"id":"70000001043050102"}]});</script><noscript style="color:#c00;font-size:16px;font-weight:bold;">Виджет карты использует JavaScript. Включите его в настройках вашего браузера.</noscript>
<a class="dg-widget-link ru-version" href="http://2gis.ru/moscow/firm/70000001022395749/center/37.53448963165284,55.92168830241364/zoom/16?utm_medium=widget-source&utm_campaign=firmsonmap&utm_source=bigMap">Посмотреть на карте Москвы</a><div class="dg-widget-link"><a href="http://2gis.ru/moscow/firm/70000001022395749/photos/70000001022395749/center/37.53448963165284,55.92168830241364/zoom/17?utm_medium=widget-source&utm_campaign=firmsonmap&utm_source=photos">Фотографии компании</a></div><div class="dg-widget-link"><a href="http://2gis.ru/moscow/center/37.534486,55.921663/zoom/16/routeTab/rsType/bus/to/37.534486,55.921663╎Физтехпарк?utm_medium=widget-source&utm_campaign=firmsonmap&utm_source=route">Найти проезд до Физтехпарк</a></div><script charset="utf-8" src="https://widgets.2gis.com/js/DGWidgetLoader.js"></script><script charset="utf-8">new DGWidgetLoader({"width":640,"height":600,"borderColor":"#a3a3a3","pos":{"lat":55.92168830241364,"lon":37.53448963165284,"zoom":16},"opt":{"city":"moscow"},"org":[{"id":"70000001022395749"}]});</script><noscript style="color:#c00;font-size:16px;font-weight:bold;">Виджет карты использует JavaScript. Включите его в настройках вашего браузера.</noscript>
</div>
</section>
<!------------- map section end ---------------------------->
......
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