start video streaming
This commit is contained in:
parent
4b51fbc908
commit
445fde7b6b
15 changed files with 448 additions and 225 deletions
|
@ -1,11 +1,6 @@
|
|||
import { A } from "@solidjs/router";
|
||||
import {
|
||||
AiOutlineHome,
|
||||
AiOutlineStar,
|
||||
AiOutlineSearch,
|
||||
} from "solid-icons/ai";
|
||||
import { ParentComponent, Component } from "solid-js";
|
||||
import { ColorSchemePicker } from "../theme";
|
||||
import { ParentComponent } from "solid-js";
|
||||
import { Top } from "./top";
|
||||
import { Nav } from "./nav";
|
||||
import css from "./shell.module.css";
|
||||
|
||||
export const Shell: ParentComponent = (props) => {
|
||||
|
@ -20,32 +15,3 @@ export const Shell: ParentComponent = (props) => {
|
|||
</main>
|
||||
);
|
||||
};
|
||||
|
||||
const Top: Component = (props) => {
|
||||
return (
|
||||
<aside class={css.top}>
|
||||
<ColorSchemePicker />
|
||||
</aside>
|
||||
);
|
||||
};
|
||||
|
||||
const Nav: Component = (props) => {
|
||||
return (
|
||||
<nav class={css.nav}>
|
||||
<ul>
|
||||
<A href="/" activeClass={css.active} end={true}>
|
||||
<AiOutlineHome />
|
||||
<span>Home</span>
|
||||
</A>
|
||||
<A href="/library" activeClass={css.active}>
|
||||
<AiOutlineStar />
|
||||
<span>Library</span>
|
||||
</A>
|
||||
<A href="/search" activeClass={css.active}>
|
||||
<AiOutlineSearch />
|
||||
<span>Search</span>
|
||||
</A>
|
||||
</ul>
|
||||
</nav>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue