Remove quiztivity button from dashboard

This commit is contained in:
Mawoka
2026-04-08 13:41:47 +02:00
parent 54494a4d94
commit b092eddbb0
3 changed files with 7 additions and 4 deletions
+2 -1
View File
@@ -322,7 +322,8 @@
"search_for_own_quizzes": "Suche nach eigenen Quiz",
"views_n_plays": "Aufrufe und Startversuche",
"info_analytics": "Die \"Startversuche\" zeigen nur wie oft das Quiz gestartet wurde (auch von dir), wobei die \"Aufrufe\" zählen, wie oft das Quiz aufgerufen wurde (Bots werden auch gezählt).",
"commandpalette_notice": "Drücke <kbd>Ctr</kbd>+<kbd>k</kbd> oder <kbd>Meta</kbd>+<kbd>k</kbd> um die Befehlspalette zu öffnen"
"commandpalette_notice": "Drücke <kbd>Ctr</kbd>+<kbd>k</kbd> oder <kbd>Meta</kbd>+<kbd>k</kbd> um die Befehlspalette zu öffnen",
"create_quiz": "Erstelle ein neues Quiz"
},
"footer": {
"more_details_here": "Mehr Details hier",
+2 -1
View File
@@ -310,7 +310,8 @@
"search_for_own_quizzes": "Search for your own quizzes",
"views_n_plays": "Views & Plays",
"info_analytics": "The \"Plays\" only show how often the quiz was started (you included), whereas the \"Views\" count how often the \"View\"-page was visited, so it also counts bots (sorry for that).",
"commandpalette_notice": "Press <kbd>Ctr</kbd>+<kbd>k</kbd> or <kbd>Meta</kbd>+<kbd>k</kbd> to open the command palette"
"commandpalette_notice": "Press <kbd>Ctr</kbd>+<kbd>k</kbd> or <kbd>Meta</kbd>+<kbd>k</kbd> to open the command palette",
"create_quiz": "Create a new quiz"
},
"footer": {
"self_ads": "Made with ❤️ by {{mawoka_link}} and with the help of {{others_link}}.",
+3 -2
View File
@@ -130,7 +130,7 @@ SPDX-License-Identifier: MPL-2.0
Primary
</button>-->
<div class="w-full grid lg:grid-cols-4 gap-2 grid-cols-2 px-4">
{#if create_button_clicked}
<!-- {#if create_button_clicked}
<div
class="flex gap-2"
transition:fly|global={{ y: 10 }}
@@ -146,7 +146,8 @@ SPDX-License-Identifier: MPL-2.0
create_button_clicked = true;
}}>{$t('words.create')}</BrownButton
>
{/if}
{/if} -->
<BrownButton href="/create">{$t('dashboard.create_quiz')}</BrownButton>
<BrownButton href="/import">{$t('words.import')}</BrownButton>
<BrownButton href="/results">{$t('words.results')}</BrownButton>
<div class="flex gap-2">