diff --git a/src/App.svelte b/src/App.svelte index 6aafe93..f7f9386 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -1,71 +1,28 @@ - -
- -
-

Reiverr

- -
- -
- - - Series - - - - Movies - - - - Library - - - - Search - -
- -
- - - Manage - -
- + diff --git a/src/Container.svelte b/src/Container.svelte index 407d192..aeb11b5 100644 --- a/src/Container.svelte +++ b/src/Container.svelte @@ -1,10 +1,12 @@ - + diff --git a/src/app.css b/src/app.css index ea40591..a7acb03 100644 --- a/src/app.css +++ b/src/app.css @@ -22,8 +22,8 @@ a { @apply outline-none outline-0 focus-visible:border-2 border-[#f0cd6dc2]; } -.selectable:focus-visible, .selectable:focus { - outline-style: solid; +.selectable:focus, .selectable:focus-within { + border-width: 2px; } .peer-selectable { @@ -33,3 +33,9 @@ a { .selectable-explicit { @apply focus-within:outline outline-2 outline-[#f0cd6dc2] outline-offset-2; } + +@media tv { + html { + font-size: 24px; + } +} diff --git a/src/lib/components/Sidebar/Sidebar.svelte b/src/lib/components/Sidebar/Sidebar.svelte new file mode 100644 index 0000000..4dc629d --- /dev/null +++ b/src/lib/components/Sidebar/Sidebar.svelte @@ -0,0 +1,126 @@ + + + + + + + + + + +
+
+ navigate('/')}> +
+ +
+
+ navigate('movies')}> +
+ +
+
+ navigate('library')}> +
+ +
+
+ navigate('search')}> +
+ +
+
+
+ + navigate('manage')}> +
+ +
+
+
+ +
+
+
+ + Series +
+
+ + Movies +
+
+ + Library +
+
+ + Search +
+
+ +
+ + Manage +
+
+
diff --git a/src/lib/components/NavbarItem.svelte b/src/lib/components/Sidebar/SidebarItem.svelte similarity index 91% rename from src/lib/components/NavbarItem.svelte rename to src/lib/components/Sidebar/SidebarItem.svelte index ff95fed..ff542ab 100644 --- a/src/lib/components/NavbarItem.svelte +++ b/src/lib/components/Sidebar/SidebarItem.svelte @@ -2,7 +2,7 @@ import classNames from 'classnames'; import { useNavigate } from 'svelte-navigator'; import { type Readable } from 'svelte/store'; - import Container from '../../Container.svelte'; + import Container from '../../../Container.svelte'; export let to: string; let hasFocus: Readable;