2
This commit is contained in:
@@ -1,18 +1,3 @@
|
||||
(function() {
|
||||
const basePath = window.location.pathname.includes('/sites/') ? '..' : '.';
|
||||
const imagePath = basePath + '/images/additional/Kein_KI.PNG';
|
||||
const fullUrl = new URL(imagePath, window.location.href).href;
|
||||
|
||||
const styles = [
|
||||
'background-image: url("' + fullUrl + '")',
|
||||
'background-size: contain',
|
||||
'background-repeat: no-repeat',
|
||||
'background-position: center',
|
||||
'padding: 100px 150px',
|
||||
'font-size: 0',
|
||||
'line-height: 200px'
|
||||
].join(';');
|
||||
|
||||
console.log('%c ', styles);
|
||||
console.log('🖼️ Kein KI - Image loaded from:', fullUrl);
|
||||
// Empty script
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user