From 8a2ffd7d69dc630acf5db26109095ea26bafb92e Mon Sep 17 00:00:00 2001 From: sam Date: Wed, 18 Dec 2024 21:38:39 +0100 Subject: [PATCH] feat(frontend): preference cheatsheet --- .../profile/PreferenceCheatsheet.svelte | 29 +++++++++++++++++++ .../src/routes/@[username]/+page.svelte | 3 +- .../@[username]/[memberName]/+page.svelte | 3 +- 3 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 Foxnouns.Frontend/src/lib/components/profile/PreferenceCheatsheet.svelte diff --git a/Foxnouns.Frontend/src/lib/components/profile/PreferenceCheatsheet.svelte b/Foxnouns.Frontend/src/lib/components/profile/PreferenceCheatsheet.svelte new file mode 100644 index 0000000..5e03a4e --- /dev/null +++ b/Foxnouns.Frontend/src/lib/components/profile/PreferenceCheatsheet.svelte @@ -0,0 +1,29 @@ + + +
+ +
diff --git a/Foxnouns.Frontend/src/routes/@[username]/+page.svelte b/Foxnouns.Frontend/src/routes/@[username]/+page.svelte index 0562274..e431e9b 100644 --- a/Foxnouns.Frontend/src/routes/@[username]/+page.svelte +++ b/Foxnouns.Frontend/src/routes/@[username]/+page.svelte @@ -9,6 +9,7 @@ import Paginator from "$components/Paginator.svelte"; import MemberCard from "$components/profile/user/MemberCard.svelte"; import ProfileButtons from "$components/profile/ProfileButtons.svelte"; + import PreferenceCheatsheet from "$components/profile/PreferenceCheatsheet.svelte"; type Props = { data: PageData }; let { data }: Props = $props(); @@ -28,7 +29,7 @@ - + - +