Umbau custom blocks
This commit is contained in:
14
public/assets/js/bridge/blocks-custom/elements/footer.js
Normal file
14
public/assets/js/bridge/blocks-custom/elements/footer.js
Normal file
@@ -0,0 +1,14 @@
|
||||
(function(){
|
||||
window.BridgeBlocksCustomElements = window.BridgeBlocksCustomElements || [];
|
||||
window.BridgeBlocksCustomElements.push(function(ctx){
|
||||
const { bm, addOnce, css } = ctx;
|
||||
addOnce(bm, 'cust-footer', { id:'cust-footer', label:'⚓ Footer',
|
||||
content:`<div style="${css({'font-family':'Arial,sans-serif','font-size':'12px',color:'#475569','line-height':'1.5','border-top':'1px solid #e2e8f0',padding:'12px 0','text-align':'center'})}">
|
||||
<p style="${css({margin:'0 0 6px'})}"><strong>Dein Unternehmen GmbH</strong> • Musterstraße 1 • 12345 Berlin</p>
|
||||
<p style="${css({margin:'0'})}"><a href="#" style="${css({color:'#0ea5e9','text-decoration':'none'})}">Abmelden</a> ·
|
||||
<a href="#" style="${css({color:'#0ea5e9','text-decoration':'none'})}">Impressum</a> ·
|
||||
<a href="#" style="${css({color:'#0ea5e9','text-decoration':'none'})}">Datenschutz</a></p>
|
||||
</div>`
|
||||
});
|
||||
});
|
||||
})();
|
||||
Reference in New Issue
Block a user