fix: initial commit

This commit is contained in:
Tim Rijkse
2026-01-14 15:05:12 +01:00
commit dc06a33a72
16 changed files with 2621 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
/**
* Site Content Component
* Main content area wrapper with slot for page content
*/
class SiteContent extends HTMLElement {
constructor() {
super();
this.attachShadow({ mode: 'open' });
}
connectedCallback() {
this.render();
}
render() {
this.shadowRoot.innerHTML = `
<style>
:host {
display: block;
flex: 1;
min-height: 0;
}
.content {
padding: var(--spacing-md, 1rem);
}
</style>
<main class="content">
<slot></slot>
</main>
`;
}
}
customElements.define('site-content', SiteContent);