Офис · работаем по всей России удалённоСерпухов, Борисовское ш., 58 к1
Заявка на проект
Заполните, что знаете — остальное уточним. Текст заявки откроется в Telegram или в почте.
Что нужно
(function(){
var r=document.getElementById('awx'); if(!r) return;
r.classList.add('js');
var y=document.getElementById('awxY'); if(y) y.textContent=new Date().getFullYear();
var b=document.getElementById('awxBurger'), n=document.getElementById('awxNav');
if(b&&n){ b.addEventListener('click',function(){n.classList.toggle('open')});
n.querySelectorAll('a').forEach(function(a){a.addEventListener('click',function(){n.classList.remove('open')})}); }
var els=r.querySelectorAll('.rv');
if('IntersectionObserver' in window){
var io=new IntersectionObserver(function(es){es.forEach(function(e){ if(e.isIntersecting){e.target.classList.add('in');io.unobserve(e.target);} })},{threshold:.12,rootMargin:'0px 0px -40px 0px'});
els.forEach(function(e){io.observe(e)});
} else els.forEach(function(e){e.classList.add('in')});
})();
(function(){
var f=document.getElementById('awxBrief'); if(!f) return;
var hint=document.getElementById('bHint');
function text(){
var need=[].map.call(f.querySelectorAll('.opts input:checked'),function(i){return i.value});
var t='Здравствуйте! Заявка с сайта app-web.ru';
var n=document.getElementById('bName').value.trim(); if(n) t+='\nИмя: '+n;
if(need.length) t+='\nНужно: '+need.join(', ');
var d=document.getElementById('bText').value.trim(); if(d) t+='\nЗадача: '+d;
var c=document.getElementById('bContact').value.trim(); if(c) t+='\nСвязь: '+c;
return t;
}
function copy(t){ try{ if(navigator.clipboard) navigator.clipboard.writeText(t); }catch(e){} }
document.getElementById('bTg').addEventListener('click',function(){
var t=text(); copy(t);
window.open('https://t.me/saplx?text='+encodeURIComponent(t),'_blank');
hint.className='hint ok'; hint.textContent='Текст заявки скопирован. Если он не появился в чате — просто вставьте его.';
});
document.getElementById('bMail').addEventListener('click',function(){
var t=text(); copy(t);
location.href='mailto:mail@app-web.ru?subject='+encodeURIComponent('Заявка с сайта app-web.ru')+'&body='+encodeURIComponent(t);
hint.className='hint ok'; hint.textContent='Открываем почту. Текст заявки также скопирован.';
});
})();