aboutsummaryrefslogtreecommitdiff
path: root/packages/client/src/views/Repository.vue
blob: 93c3f822b010fb084378cc3e3bdf6c4d18c93be0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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>