MediaWiki:Common.js: Difference between revisions
Appearance
No edit summary Tag: Manual revert |
No edit summary |
||
| Line 3: | Line 3: | ||
/*FOOTER*/ | /*FOOTER*/ | ||
$(function() { | $(function() { | ||
var img = { | var img = { | ||
instagram: "https://wiki.atronia.eu/images/b/b7/Instagram.png", | instagram: "https://wiki.atronia.eu/images/b/b7/Instagram.png", | ||
| Line 19: | Line 16: | ||
}; | }; | ||
var pdfLinks = { | var pdfLinks = { | ||
compete: "https://atronia.eu/wp-content/uploads/2025/12/Ficha-do-projeto-ATRONIA-LDA.pdf", | compete: "https://atronia.eu/wp-content/uploads/2025/12/Ficha-do-projeto-ATRONIA-LDA.pdf", | ||
| Line 26: | Line 22: | ||
prr: "https://atronia.eu/wp-content/uploads/2025/02/Ficha-de-Projeto.pdf" | prr: "https://atronia.eu/wp-content/uploads/2025/02/Ficha-de-Projeto.pdf" | ||
}; | }; | ||
var scrollingHTML = | var scrollingHTML = | ||
| Line 35: | Line 30: | ||
'</div>' + | '</div>' + | ||
'</div>'; | '</div>'; | ||
var footerHTML = | var footerHTML = | ||
'<div id="custom-atronia-footer" style=" | '<div id="custom-atronia-footer" style="padding: 60px 40px; font-family: sans-serif; clear: both;">' + | ||
'<div | '<div style="display: flex; flex-wrap: wrap; justify-content: space-between; max-width: 1400px; margin: 0 auto;">' + | ||
// Contactos | |||
// | |||
'<div style="flex: 2; min-width: 300px; margin-bottom: 40px;">' + | '<div style="flex: 2; min-width: 300px; margin-bottom: 40px;">' + | ||
'<h4 style=" | '<h4 style="font-weight: bold; margin-bottom: 20px;">Visit but keep in mind we\'re busy</h4>' + | ||
'<p | '<p>Rua do Norte 9,<br>Ílhavo, 3830-167<br>Portugal</p>' + | ||
'<h4 style=" | '<h4 style="font-weight: bold; margin-top: 35px; margin-bottom: 20px;">Contact Us</h4>' + | ||
'<p | '<p>+351 934 886 253<br>info@atronia.eu</p>' + | ||
'<div style="margin-top: 25px; display: flex; gap: 15px;">' + | '<div style="margin-top: 25px; display: flex; gap: 15px;">' + | ||
'<a href="https://facebook.com/atroniatech" target="_blank"><img src="'+img.facebook+'" width="30" style="filter: brightness(0) invert(1);"></a>' + | '<a href="https://facebook.com/atroniatech" target="_blank"><img src="'+img.facebook+'" width="30" style="filter: brightness(0) invert(1);"></a>' + | ||
| Line 52: | Line 46: | ||
'</div>' + | '</div>' + | ||
'</div>' + | '</div>' + | ||
// Menus | |||
// | |||
'<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><a href="https://atronia.eu/ | '<div class="atronia-col"><h4>Menu</h4><a href="https://atronia.eu/">Home</a><a href="https://atronia.eu/about-us/">About us</a></div>' + | ||
'<div class="atronia-col"><h4>Solutions</h4><a href="https://atronia.eu/solutions/aquaguard/ | '<div class="atronia-col"><h4>Solutions</h4><a href="https://atronia.eu/solutions/aquaguard/">Aquaguard</a><a href="https://atronia.eu/solutions/firefly/">Firefly</a></div>' + | ||
'<div class="atronia-col"><h4>Shop</h4><a href="https://atronia.eu/product/monarch-gateway/ | '<div class="atronia-col"><h4>Shop</h4><a href="https://atronia.eu/product/monarch-gateway/">Monarch</a><a href="https://atronia.eu/product/atlas-sbc/">Atlas</a></div>' + | ||
'<div class="atronia-col"><h4>Support</h4><a href="https://wiki.atronia.eu/ | '<div class="atronia-col"><h4>Support</h4><a href="https://wiki.atronia.eu/">Wiki</a></div>' + | ||
'</div>' + | '</div>' + | ||
'</div>' + | '</div>' + | ||
'<hr style="border: 0; border-top: 1px solid rgba(255,255,255,0.1); margin: 40px 0;">' + | |||
'<hr style="border: 0; border-top: 1px solid rgba(255,255,255,0. | // Parceiros | ||
// | |||
'<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>' + | ||
'<p style="font-size: 11px | '<p style="font-size: 11px; text-transform: uppercase; margin-bottom: 15px; opacity: 0.6;">Powered by:</p>' + | ||
'<img src="'+img.igus+'" style="height: 40px; width: auto; display: block;">' + | '<img src="'+img.igus+'" style="height: 40px; width: auto; display: block;">' + | ||
'</div>' + | '</div>' + | ||
'<div style="flex: 1;">' + | '<div style="flex: 1;">' + | ||
'<p style="font-size: 11px | '<p style="font-size: 11px; text-transform: uppercase; margin-bottom: 15px; opacity: 0.6;">Co-sponsored by:</p>' + | ||
'<div class="sponsor-grid">' + | |||
'<div | '<a href="'+pdfLinks.compete+'" target="_blank"><img src="'+img.compete+'" class="footer-sponsor-img"></a>' + | ||
'<a href="'+pdfLinks.compete+'" target="_blank | '<a href="'+pdfLinks.centro+'" target="_blank"><img src="'+img.centro+'" class="footer-sponsor-img"></a>' + | ||
'<a href="'+pdfLinks.centro+'" target="_blank | '<a href="'+pdfLinks.pessoas+'" target="_blank"><img src="'+img.pessoas+'" class="footer-sponsor-img"></a>' + | ||
'<a href="'+pdfLinks.pessoas+'" target="_blank | '<a href="'+pdfLinks.prr+'" target="_blank"><img src="'+img.prr+'" class="footer-sponsor-img"></a>' + | ||
'<a href="'+pdfLinks.prr+'" target="_blank | |||
'</div>' + | '</div>' + | ||
'</div>' + | '</div>' + | ||
'</div>' + | '</div>' + | ||
'</div>'; | '</div>'; | ||
$('#custom-atronia-footer').remove(); | // Aplicação final | ||
$('body').append(footerHTML); | $('.atronia-scrolling-container, #custom-atronia-footer').remove(); | ||
$('body').append(scrollingHTML + footerHTML); | |||
}); | }); | ||