diff --git a/web/src/lib/components/app-sidebar.svelte b/web/src/lib/components/app-sidebar.svelte index d7d9e4a..7c4d3ea 100644 --- a/web/src/lib/components/app-sidebar.svelte +++ b/web/src/lib/components/app-sidebar.svelte @@ -1,5 +1,5 @@ @@ -59,6 +57,10 @@ + goto(base+'/dashboard/settings#me')}> + My Account + + handleLogout()}> Log out diff --git a/web/src/lib/components/recommended-shows-carousel.svelte b/web/src/lib/components/recommended-shows-carousel.svelte index a3780a7..210bbbb 100644 --- a/web/src/lib/components/recommended-shows-carousel.svelte +++ b/web/src/lib/components/recommended-shows-carousel.svelte @@ -1,5 +1,4 @@ + +
+
+ + + + + + + +
+
+ +
+ Media Manager Logo +

About Media Manager

+

+ Media Manager is an all-in-one solution for organizing and building your media + library. Built for simplicity and modernity, it helps you keep track of your favorite shows and movies and + explore trending content—all in one place. +

+

+ Version: v{PUBLIC_VERSION} +

+ + +
\ No newline at end of file diff --git a/web/src/routes/dashboard/settings/+page.svelte b/web/src/routes/dashboard/settings/+page.svelte index 912f61e..23a5bfa 100644 --- a/web/src/routes/dashboard/settings/+page.svelte +++ b/web/src/routes/dashboard/settings/+page.svelte @@ -4,11 +4,32 @@ import * as Card from "$lib/components/ui/card/index.js"; import {getContext} from "svelte"; import UserSettings from '$lib/components/user-settings.svelte'; - + import {Separator} from "$lib/components/ui/separator"; + import * as Sidebar from '$lib/components/ui/sidebar/index.js'; + import * as Breadcrumb from '$lib/components/ui/breadcrumb/index.js'; + import {base} from "$app/paths"; let currentUser = getContext("user") let users = page.data.users; +
+
+ + + + + + + +
+
+

Settings diff --git a/web/src/routes/dashboard/settings/+page.ts b/web/src/routes/dashboard/settings/+page.ts index 773876c..b83e758 100644 --- a/web/src/routes/dashboard/settings/+page.ts +++ b/web/src/routes/dashboard/settings/+page.ts @@ -1,7 +1,7 @@ import {env} from '$env/dynamic/public'; import type {PageLoad} from './$types'; -export const load: PageLoad = async ({params, fetch}) => { +export const load: PageLoad = async ({fetch}) => { try { const users = await fetch(env.PUBLIC_API_URL + "/users/all", { method: 'GET',