diff options
author | HampusM <hampus@hampusmat.com> | 2021-06-05 19:37:52 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2021-06-05 19:37:52 +0200 |
commit | 4da3272bf7893760f6710c9a1ec7de02358136e6 (patch) | |
tree | 92eb961bf20a7ef9f7c0650ba288baf512986fca /packages/client/src/views/Repository.vue | |
parent | 4e3074dfd752dd52951d300090c642aee76cfaac (diff) |
Reorganized into a monorepo, refactored the frontend again, goodbye Parcel
Diffstat (limited to 'packages/client/src/views/Repository.vue')
-rw-r--r-- | packages/client/src/views/Repository.vue | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/client/src/views/Repository.vue b/packages/client/src/views/Repository.vue new file mode 100644 index 0000000..93c3f82 --- /dev/null +++ b/packages/client/src/views/Repository.vue @@ -0,0 +1,27 @@ +<template> + <div class="container-fluid px-0 d-flex"> + <RepositoryHeader :repository="$router.currentRoute._rawValue.params.repo" /> + <RepositoryNavbar :repository="$router.currentRoute._rawValue.params.repo" :active-page="$router.currentRoute._rawValue.path.split('/')[2]" /> + <router-view /> + </div> +</template> + +<script> +import RepositoryHeader from "@/components/RepositoryHeader"; +import RepositoryNavbar from "@/components/RepositoryNavbar"; + +export default { + name: "Repository", + components: { + RepositoryHeader, + RepositoryNavbar + } +}; +</script> + +<style lang="scss" scoped> +.container-fluid { + flex-flow: column; + height: 100vh; +} +</style> |