From d1ece11bc8f7ae29e54ee749303e4871eacb1d7f Mon Sep 17 00:00:00 2001 From: MD <1917406+mdcfe@users.noreply.github.com> Date: Mon, 21 Mar 2022 13:18:17 +0000 Subject: [PATCH] Start project headers --- frontend-new/src/components/UserAvatar.vue | 32 +++++++++++++---- .../src/components/projects/ProjectHeader.vue | 36 +++++++++++++++++++ frontend-new/src/pages/[user]/[project].vue | 3 +- 3 files changed, 63 insertions(+), 8 deletions(-) create mode 100644 frontend-new/src/components/projects/ProjectHeader.vue diff --git a/frontend-new/src/components/UserAvatar.vue b/frontend-new/src/components/UserAvatar.vue index f8bf2a7d0..a09ba732f 100644 --- a/frontend-new/src/components/UserAvatar.vue +++ b/frontend-new/src/components/UserAvatar.vue @@ -1,12 +1,30 @@ diff --git a/frontend-new/src/components/projects/ProjectHeader.vue b/frontend-new/src/components/projects/ProjectHeader.vue new file mode 100644 index 000000000..a9c770833 --- /dev/null +++ b/frontend-new/src/components/projects/ProjectHeader.vue @@ -0,0 +1,36 @@ + + + diff --git a/frontend-new/src/pages/[user]/[project].vue b/frontend-new/src/pages/[user]/[project].vue index 32f1d4609..31ebef353 100644 --- a/frontend-new/src/pages/[user]/[project].vue +++ b/frontend-new/src/pages/[user]/[project].vue @@ -7,6 +7,7 @@ import { useProject } from "~/composables/useApiHelper"; import { useRoute, useRouter } from "vue-router"; import { handleRequestError } from "~/composables/useErrorHandling"; import { useErrorRedirect } from "~/composables/useErrorRedirect"; +import ProjectHeader from "~/components/projects/ProjectHeader.vue"; defineProps({ user: { @@ -25,6 +26,6 @@ if (!project) {