diff --git a/src/app-episodes/index.ts b/src/app-episodes/index.ts
index 6a995b6..5e423fe 100644
--- a/src/app-episodes/index.ts
+++ b/src/app-episodes/index.ts
@@ -2,14 +2,12 @@ import { LitElement, html } from "lit";
import { customElement } from "lit/decorators.js";
import { styles } from "./index.css.js";
-const logo = new URL("../../../assets/logo.svg", import.meta.url);
-
@customElement("app-episodes")
export class AppEpisodes extends LitElement {
static override styles = styles;
override render() {
return html`
-
+
Episode 1
`;
}
diff --git a/src/components/c-sronly.ts b/src/components/c-sronly.ts
new file mode 100644
index 0000000..e5d5734
--- /dev/null
+++ b/src/components/c-sronly.ts
@@ -0,0 +1,24 @@
+import { LitElement, css, html } from "lit";
+import { customElement } from "lit/decorators.js";
+
+const styles = css`
+ :host {
+ position: absolute;
+ clip: rect(1px 1px 1px 1px);
+ clip: rect(1px, 1px, 1px, 1px);
+ padding: 0;
+ border: 0;
+ height: 1px;
+ width: 1px;
+ overflow: hidden;
+ }
+`;
+@customElement("c-sronly")
+export class CSronly extends LitElement {
+ static override styles = styles;
+ override render() {
+ return html`
+
+ `;
+ }
+}
diff --git a/src/index.css.ts b/src/index.css.ts
index 8301db1..e735405 100644
--- a/src/index.css.ts
+++ b/src/index.css.ts
@@ -7,14 +7,31 @@ export const styles = css`
grid-template-areas:
"main"
"footer";
- grid-template-rows: auto 2.5ch;
+ grid-template-rows: auto 4ch;
+ overflow: hidden;
}
main {
grid-area: main;
+ overflow: scroll;
}
nav {
grid-area: footer;
+
+ display: flex;
+ flex-flow: row nowrap;
+ justify-content: space-evenly;
+ align-items: center;
+ padding: .5ch;
+
+ a {
+ display: block;
+ height: 100%;
+ aspect-ratio: 1;
+ }
+ img {
+ height: 100%;
+ }
}
`;
diff --git a/src/index.ts b/src/index.ts
index 34e39be..dc15309 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -2,8 +2,12 @@ import { LitElement, html } from "lit";
import { customElement } from "lit/decorators.js";
import { styles } from "./index.css.js";
import { Router } from "@lit-labs/router";
+
import * as routeEpisodes from "./app-episodes/routes.js";
+import "./components/c-sronly.js";
+const logo = new URL("../../assets/logo.svg", import.meta.url);
+
@customElement("app-cfpodcasts")
export class AppCfpodcasts extends LitElement {
static override styles = styles;
@@ -12,12 +16,22 @@ export class AppCfpodcasts extends LitElement {
...routeEpisodes.routes,
]);
override render() {
- console.log(this._routes);
+ console.log(this._routes); // TODO
return html`
${this._routes.outlet()}
`;
}