diff --git a/frontend/app.vue b/frontend/app.vue index 524804f..ec69d7d 100644 --- a/frontend/app.vue +++ b/frontend/app.vue @@ -41,6 +41,8 @@ const userPersons = ref([]) const userAllPersons = ref([]) const calEvents = ref([]) const news = ref(null) +const contestTimes = ref(null) +const competitors = ref([]) const messaging = ref(null) @@ -222,5 +224,13 @@ const logDeviceInfo = async () => { const ledenlijst = ref([]) -provide('firebase', { db, ledenlijst, isAuthenticated, user, userData, userPersons, auth, userAllPersons, getPersons, calEvents, news, registrationToken }) +provide('firebase', { db, ledenlijst, isAuthenticated, user, userData, userPersons, auth, userAllPersons, getPersons, calEvents, news, registrationToken, contestTimes, competitors }) + + diff --git a/frontend/components/layout/Navbar.vue b/frontend/components/layout/Navbar.vue index 8dcff3c..42aa755 100644 --- a/frontend/components/layout/Navbar.vue +++ b/frontend/components/layout/Navbar.vue @@ -18,7 +18,7 @@ Settings - + Wedstrijd diff --git a/frontend/pages/index.vue b/frontend/pages/index.vue index f3cfe6a..b8efd55 100644 --- a/frontend/pages/index.vue +++ b/frontend/pages/index.vue @@ -27,5 +27,5 @@ definePageMeta({ title: 'Home', }) -const { userPersons, registrationToken } = inject('firebase') +const { userPersons } = inject('firebase') diff --git a/frontend/pages/wedstrijd/addcontest.vue b/frontend/pages/wedstrijd/addcontest.vue new file mode 100644 index 0000000..f6cc821 --- /dev/null +++ b/frontend/pages/wedstrijd/addcontest.vue @@ -0,0 +1,89 @@ + + + diff --git a/frontend/pages/wedstrijd/index.vue b/frontend/pages/wedstrijd/index.vue index b1b32da..5dde01e 100644 --- a/frontend/pages/wedstrijd/index.vue +++ b/frontend/pages/wedstrijd/index.vue @@ -1,5 +1,26 @@ + +