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.
+
+ +