added some base code

This commit is contained in:
CodingPhoenixx
2026-02-12 14:42:45 +01:00
parent a62ce26bfa
commit 49bf7522b9
13 changed files with 236 additions and 46 deletions
+25
View File
@@ -0,0 +1,25 @@
import { LitElement, html, css, unsafeCSS } from 'lit';
import { customElement } from 'lit/decorators.js';
import styles from './footer-bar.css?inline';
@customElement('footer-bar')
export class FooterBar extends LitElement {
static styles = css`${unsafeCSS(styles)}`;
render() {
const year = new Date().getFullYear();
return html`
<footer>
<div class="center">
<a href="/privacy" @click=${(e: Event) => e.preventDefault()}>Privacy</a>
<a href="/imprint" @click=${(e: Event) => e.preventDefault()}>Imprint</a>
<a href="/contact" @click=${(e: Event) => e.preventDefault()}>Contact</a>
</div>
<div class="right">
<span>© ${year} Jan Meinl</span>
</div>
</footer>
`;
}
}