diff --git a/frontend/src/AvatarMenu.svelte b/frontend/src/AvatarMenu.svelte new file mode 100644 index 0000000..e68f19e --- /dev/null +++ b/frontend/src/AvatarMenu.svelte @@ -0,0 +1,76 @@ + + +
+ +
+
+ {#if isAniListLoggedIn} +
{currentAniListUser.data.Viewer.name}
+ {:else} +
You are not logged into AniList
+ {/if} +
+ +
+ +
+
+
\ No newline at end of file diff --git a/frontend/src/Search.svelte b/frontend/src/Search.svelte index 12638d3..a62d3e0 100644 --- a/frontend/src/Search.svelte +++ b/frontend/src/Search.svelte @@ -16,10 +16,15 @@ }) } + function searchDropdown(): void { + let dropdown = document.querySelector("#aniListSearchDropdown") + dropdown.classList.toggle("hidden") + } + -
+
- \ No newline at end of file