feat: basic user popup implemented
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful

This commit is contained in:
JustTemmie 2025-06-01 16:36:59 +02:00
parent fc266ffcc3
commit a2c04af8ce
Signed by: justtemmie
SSH key fingerprint: SHA256:nBO+OwpTkd8LYhe38PIqdxmDvkIg9Vw2EbrRZM97dkU
5 changed files with 128 additions and 9 deletions

View file

@ -69,17 +69,34 @@ const settingsCategories = {
{ display_name: "Language", page_data: Language },
]
},
app_settings2: {
display_name: "App Settings",
pages: [
{ display_name: "Appearance", page_data: Appearance },
{ display_name: "Notifications", page_data: Notifications },
{ display_name: "Keybinds", page_data: Keybinds },
{ display_name: "Language", page_data: Language },
]
},
app_settings3: {
display_name: "App Settings",
pages: [
{ display_name: "Appearance", page_data: Appearance },
{ display_name: "Notifications", page_data: Notifications },
{ display_name: "Keybinds", page_data: Keybinds },
{ display_name: "Language", page_data: Language },
]
},
};
const categories = Object.values(settingsCategories);
let currentPage = ref(categories[0].pages[0]);
let selectedPage = ref(currentPage.value.display_name);
let selectedPage = ref(currentPage.value.display_name); // used to highlight the current channel
const selectCategory = (_category: Category, page: Page) => {
currentPage.value = page;
selectedPage.value = page.display_name;
console.log(`switching to ${page.display_name}`)
};
</script>