This commit is contained in:
2026-04-28 17:16:00 +02:00
parent 0191347312
commit 3cc11b68de
15 changed files with 115 additions and 153 deletions
+9
View File
@@ -0,0 +1,9 @@
import { css } from "lit";
export const styles = css`
:host {
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
}
`;
+15
View File
@@ -0,0 +1,15 @@
import { LitElement, html } from "lit";
import { property, customElement } from "lit/decorators.js";
import { styles } from "./index.css.js";
const logo = import.meta.resolve("../../../assets/logo.svg");
@customElement("app-episodes")
export class AppEpisodes extends LitElement {
static styles = styles;
render() {
return html`
<div class="logo"><img alt="open-wc logo" src=${logo} /></div>
`;
}
}
+16
View File
@@ -0,0 +1,16 @@
import type { RouteConfig } from "@lit-labs/router";
import { html } from "lit";
export const route = {
path: "/#/episodes",
async enter() {
await import("./index.js");
return true;
},
render(){
return html`<app-episodes></app-episodes>`;
},
};
export default [
route,
] as RouteConfig[];