diff --git a/components/PageTitle.vue b/components/PageTitle.vue index 9798a78..a9fa1aa 100644 --- a/components/PageTitle.vue +++ b/components/PageTitle.vue @@ -47,6 +47,8 @@ export default defineComponent({ return "Headings.ReportedTasks"; case "dashboard-reported-tasks-id": return "Headings.ManageReport"; + case "dashboard-challenges": + return "Headings.Challenges"; default: return routeName; diff --git a/components/challenges/Table.vue b/components/challenges/Table.vue new file mode 100644 index 0000000..f3311bc --- /dev/null +++ b/components/challenges/Table.vue @@ -0,0 +1,138 @@ + + + + + + {{ item?.title ?? "" }} + + + + + + + {{ item?.description ?? "" }} + + + + + + + + + + + + + + + diff --git a/components/form/ChallengeCategory.vue b/components/form/ChallengeCategory.vue new file mode 100644 index 0000000..3f3029b --- /dev/null +++ b/components/form/ChallengeCategory.vue @@ -0,0 +1,125 @@ + + + + + {{ t("Headings.ChallengeCategoryInformation") }} + + + + + + + + + {{ t(!!data ? 'Headings.EditChallengeCategory' : 'Headings.CreateChallengeCategory') }} + + + + + + + diff --git a/components/navbar/Links.vue b/components/navbar/Links.vue index b4641c3..831c578 100644 --- a/components/navbar/Links.vue +++ b/components/navbar/Links.vue @@ -1,40 +1,20 @@ -
+ {{ item?.title ?? "" }} +
+ {{ item?.description ?? "" }} +