From 0759be39b4674e400319872e50e73fd4a081387a Mon Sep 17 00:00:00 2001 From: szbk Date: Wed, 3 Dec 2025 20:36:24 +0300 Subject: [PATCH] =?UTF-8?q?Profile=20menu=20olu=C5=9Fturuldu.=20Ba=C4=9Fla?= =?UTF-8?q?nt=C4=B1=20ve=20Page'ler=20eklendi.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 + client/src/App.svelte | 4 + client/src/components/Topbar.svelte | 149 +++++++++++++++++++++++++++- client/src/routes/Login.svelte | 14 ++- client/src/routes/Profile.svelte | 42 ++++++++ client/src/routes/Settings.svelte | 40 ++++++++ 6 files changed, 249 insertions(+), 3 deletions(-) create mode 100644 client/src/routes/Profile.svelte create mode 100644 client/src/routes/Settings.svelte diff --git a/.gitignore b/.gitignore index 032ea67..f044eff 100644 --- a/.gitignore +++ b/.gitignore @@ -71,3 +71,6 @@ movie/movieData/**/backdrop.jpg /key.pem /cert.pem *.log + +# Client +client/src/assets/avatar.png \ No newline at end of file diff --git a/client/src/App.svelte b/client/src/App.svelte index ba452cd..6e62aaf 100644 --- a/client/src/App.svelte +++ b/client/src/App.svelte @@ -9,6 +9,8 @@ import Movies from "./routes/Movies.svelte"; import TvShows from "./routes/TvShows.svelte"; import Music from "./routes/Music.svelte"; + import Profile from "./routes/Profile.svelte"; + import Settings from "./routes/Settings.svelte"; import Login from "./routes/Login.svelte"; import { API, getAccessToken } from "./utils/api.js"; import { refreshMovieCount } from "./stores/movieStore.js"; @@ -118,6 +120,8 @@ + + diff --git a/client/src/components/Topbar.svelte b/client/src/components/Topbar.svelte index ad007d2..166059a 100644 --- a/client/src/components/Topbar.svelte +++ b/client/src/components/Topbar.svelte @@ -1,13 +1,21 @@ @@ -37,6 +80,33 @@ on:input={handleInput} /> + +
+ + + {#if showAvatarMenu} +
+ + + +
+ {/if} +
diff --git a/client/src/routes/Login.svelte b/client/src/routes/Login.svelte index 6b69d44..39bd5da 100644 --- a/client/src/routes/Login.svelte +++ b/client/src/routes/Login.svelte @@ -1,11 +1,20 @@ + +
+
+
+

Profile

+
+
+
+ Profil içeriği yakında. +
+
+ + diff --git a/client/src/routes/Settings.svelte b/client/src/routes/Settings.svelte new file mode 100644 index 0000000..98f788e --- /dev/null +++ b/client/src/routes/Settings.svelte @@ -0,0 +1,40 @@ + + +
+
+
+

Settings

+
+
+
Ayarlar içeriği yakında.
+
+ +