MediaWiki:Common.js: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* | /* Any JavaScript here will be loaded for all users on every page load. */ | ||
/* | |||
/*FOOTER*/ | |||
/* Any JavaScript here will be loaded for all users on every page load. */ | /* Any JavaScript here will be loaded for all users on every page load. */ | ||
| Line 16: | Line 17: | ||
prr: "https://wiki.atronia.eu/images/4/42/Prr.png", | prr: "https://wiki.atronia.eu/images/4/42/Prr.png", | ||
igus: "https://wiki.atronia.eu/images/3/37/Igus.png" | igus: "https://wiki.atronia.eu/images/3/37/Igus.png" | ||
}; | |||
// 2. LINKS PARA OS DOCUMENTOS (WordPress) | |||
var pdfLinks = { | |||
compete: "https://atronia.eu/wp-content/uploads/2025/12/Ficha-do-projeto-ATRONIA-LDA.pdf", | |||
centro: "https://atronia.eu/wp-content/uploads/2025/09/Ficha-de-Operacao_Tilt-Wind.pdf", | |||
pessoas: "https://atronia.eu/wp-content/uploads/2025/01/Pessoas2030.jpg", | |||
prr: "https://atronia.eu/wp-content/uploads/2025/02/Ficha-de-Projeto.pdf" | |||
}; | }; | ||
| Line 35: | Line 44: | ||
'</div>' + | '</div>' + | ||
// COLUNAS DE LINKS (DIREITA) | // COLUNAS DE LINKS (DIREITA) | ||
'<div style="flex: 3; display: flex; flex-wrap: wrap; justify-content: space-between;">' + | '<div style="flex: 3; display: flex; flex-wrap: wrap; justify-content: space-between;">' + | ||
'<div class="atronia-col"><h4>Menu</h4> | '<div class="atronia-col"><h4>Menu</h4><a href="https://atronia.eu/" target="_blank">Home</a><a href="https://atronia.eu/about-us/" target="_blank">About us</a><a href="https://atronia.eu/hardware/" target="_blank">Hardware</a><a href="https://atronia.eu/solutions/" target="_blank">Solutions</a></div>' + | ||
'<div class="atronia-col"><h4>Solutions</h4><a href="https://atronia.eu/solutions/aquaguard/" target="_blank">Aquaguard</a><a href="https://atronia.eu/solutions/firefly/" target="_blank">Firefly</a><a href="https://atronia.eu/solutions/melisafe/" target="_blank">Melisafe</a><a href="https://atronia.eu/solutions/prevent/" target="_blank">Prevent</a></div>' + | |||
'<div class="atronia-col"><h4>Shop</h4><a href="https://atronia.eu/product/monarch-gateway/" target="_blank">Monarch</a><a href="https://atronia.eu/product/atlas-sbc/" target="_blank">Atlas</a><a href="https://atronia.eu/product-category/probes/" target="_blank">Probes</a><a href="https://atronia.eu/product-category/accessories/" target="_blank">Accessories</a></div>' + | |||
'<div class="atronia-col"><h4>Support</h4><a href="https://wiki.atronia.eu/" target="_blank">Wiki</a></div>' + | |||
'<div class="atronia-col"><h4>Solutions</h4> | |||
'<div class="atronia-col"><h4>Shop</h4> | |||
'<div class="atronia-col"><h4>Support</h4> | |||
'</div>' + | '</div>' + | ||
'</div>' + | '</div>' + | ||
| Line 63: | Line 55: | ||
'<hr style="border: 0; border-top: 1px solid rgba(255,255,255,0.2); margin: 40px 0;">' + | '<hr style="border: 0; border-top: 1px solid rgba(255,255,255,0.2); margin: 40px 0;">' + | ||
// ÁREA DE LOGOS | // ÁREA DE LOGOS COM LINKS CONFIGURADOS | ||
'<div style="display: flex; flex-wrap: wrap; align-items: flex-start; max-width: 1400px; margin: 0 auto; gap: 60px;">' + | '<div style="display: flex; flex-wrap: wrap; align-items: flex-start; max-width: 1400px; margin: 0 auto; gap: 60px;">' + | ||
'<div>' + | '<div>' + | ||
| Line 72: | Line 64: | ||
'<p style="font-size: 11px; color: #ffffff !important; text-transform: uppercase; margin-bottom: 15px; opacity: 0.8;">Co-sponsored by:</p>' + | '<p style="font-size: 11px; color: #ffffff !important; text-transform: uppercase; margin-bottom: 15px; opacity: 0.8;">Co-sponsored by:</p>' + | ||
'<div style="display: flex; flex-wrap: wrap; gap: 20px; align-items: center;">' + | '<div style="display: flex; flex-wrap: wrap; gap: 20px; align-items: center;">' + | ||
'<img src="'+img.compete+'" style="height: 45px; width: auto;">' + | '<a href="'+pdfLinks.compete+'" target="_blank"><img src="'+img.compete+'" style="height: 45px; width: auto;"></a>' + | ||
'<img src="'+img.centro+'" style="height: 45px; width: auto;">' + | '<a href="'+pdfLinks.centro+'" target="_blank"><img src="'+img.centro+'" style="height: 45px; width: auto;"></a>' + | ||
'<img src="'+img.pessoas+'" style="height: 45px; width: auto;">' + | '<a href="'+pdfLinks.pessoas+'" target="_blank"><img src="'+img.pessoas+'" style="height: 45px; width: auto;"></a>' + | ||
'<img src="'+img.prr+'" style="height: 45px; width: auto;">' + | '<a href="'+pdfLinks.prr+'" target="_blank"><img src="'+img.prr+'" style="height: 45px; width: auto;"></a>' + | ||
'</div>' + | '</div>' + | ||
'</div>' + | '</div>' + | ||
'</div>' + | '</div>' + | ||
'<div style="max-width: 1400px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1);">' + | '<div style="max-width: 1400px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1);">' + | ||
'<a href="https://atronia.eu/livro-de-reclamacoes/" target="_blank" class="footer-legal-link">Livro de Reclamações</a> | ' + | '<a href="https://atronia.eu/livro-de-reclamacoes/" target="_blank" class="footer-legal-link">Livro de Reclamações</a> | ' + | ||
| Line 93: | Line 84: | ||
}); | }); | ||
/*FIM DO FOOTER*/ | |||