Circuit Puglia
[vc_row][vc_column][vc_column_text css=”” woodmart_inline=”no” text_larger=”no”] Imi place acest circuit! 0 calatori iubesc acest circuit .ins-vote-widget { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; font-family: Montserrat, sans-serif; user-select: none; } .ins-vote-btn { display: inline-flex !important; align-items: center !important; gap: 5px !important; padding: 5px 11px 5px 9px !important; border: 1.5px solid #b20000 !important; border-radius: 6px !important; background: #fff !important; cursor: pointer !important; transition: background .2s, transform .15s !important; color: #b20000 !important; font-family: Montserrat, sans-serif !important; font-weight: 600 !important; font-size: .78rem !important; letter-spacing: .01em !important; line-height: 1 !important; text-transform: none !important; box-shadow: none !important; min-height: unset !important; height: auto !important; width: auto !important; } .ins-vote-btn svg { width: 13px !important; height: 13px !important; fill: #b20000 !important; flex-shrink: 0 !important; transition: fill .2s, transform .2s !important; } .ins-vote-cta { transition: color .2s; } .ins-vote-btn:hover { background: #b20000 !important; color: #fff !important; } .ins-vote-btn:hover svg { fill: #fff !important; transform: scale(1.2) !important; } .ins-vote-btn.voted { background: #b20000 !important; border-color: #b20000 !important; color: #fff !important; cursor: default !important; } .ins-vote-btn.voted svg { fill: #fff !important; } .ins-vote-btn:active { transform: scale(.96); } .ins-vote-social { margin: 0; font-size: .72rem; color: #aaa; padding-left: 3px; } .ins-vote-social .ins-vote-count { font-weight: 700; color: #b20000; } .ins-vote-msg { font-size: .7rem; color: #aaa; font-style: italic; padding-left: 3px; } @keyframes ins-pop { 0% { transform: scale(1); } 50% { transform: scale(1.35); } 100% { transform: scale(1); } } .ins-vote-btn.pop svg { animation: ins-pop .3s ease; } (function() { var widget = document.getElementById('ins-vote-0'); if (!widget) return; var btn = widget.querySelector('.ins-vote-btn'); var countEl = widget.querySelector('.ins-vote-count'); var socialEl = widget.querySelector('.ins-vote-social'); var msgEl = widget.querySelector('.ins-vote-msg'); var postId = 0; var apiBase = 'https://inslapi.ro/wp-json/inslapi-votes/v1'; var nonce = 'b0e87f8659'; var storageKey = 'ins_voted_' + postId + '_2026'; // Restaurare stare din localStorage if (localStorage.getItem(storageKey)) { btn.classList.add('voted'); btn.disabled = true; msgEl.textContent = 'Ai votat!'; } btn.addEventListener('click', function() { if (btn.disabled) return; btn.disabled = true; fetch(apiBase + '/vote', { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-WP-Nonce': nonce, }, body: JSON.stringify({ post_id: postId }), }) .then(function(r) { return r.json(); }) .then(function(data) { if (data.success) { var v = data.votes; countEl.textContent = v.toLocaleString('ro-RO'); socialEl.innerHTML = '' + v.toLocaleString('ro-RO') + ' ' + (v === 1 ? 'calator iubeste acest circuit' : 'calatori iubesc acest circuit'); btn.classList.add('voted', 'pop'); setTimeout(function(){ btn.classList.remove('pop'); }, 350); msgEl.textContent = 'Multumim pentru recomandare!'; localStorage.setItem(storageKey, '1'); } else { var msg = (data.message || data.code === 'duplicate') ? 'Ai votat deja azi!' : 'Eroare. Incearca din nou.'; msgEl.textContent = msg; btn.disabled = false; } }) .catch(function() { msgEl.textContent = 'Eroare de retea.'; btn.disabled = false; }); }); })(); [/vc_column_text][/vc_column][/vc_row]
Specifications
- ORAS
- BUCURESTI
- MASA
- DEMIPENSIUNE
AI Readiness
Good foundation, but some important product data is still missing.