storj/web/satellite/src/components/account/AccountArea.vue

61 lines
1.6 KiB
Vue
Raw Normal View History

2019-01-24 20:15:10 +00:00
// Copyright (C) 2019 Storj Labs, Inc.
// See LICENSE for copying information.
<template>
<div class="account-area-container">
2019-07-09 16:04:51 +01:00
<h1>Account</h1>
<TabNavigation
class="account-area-container__navigation"
:navigation="navigation"/>
<router-view />
</div>
</template>
<script lang="ts">
import { Component, Vue } from 'vue-property-decorator';
import TabNavigation from '@/components/navigation/TabNavigation.vue';
import { NavigationLink } from '@/types/navigation';
import { RouteConfig } from '@/router';
@Component({
components: {
TabNavigation,
},
})
export default class AccountArea extends Vue {
public navigation: NavigationLink[] = [
RouteConfig.Account.with(RouteConfig.Profile),
RouteConfig.Account.with(RouteConfig.PaymentMethods),
RouteConfig.Account.with(RouteConfig.BillingHistory),
];
}
</script>
<style scoped lang="scss">
.account-area-container {
2019-07-10 10:55:40 +01:00
padding: 44px 55px 55px 55px;
position: relative;
&__navigation {
position: absolute;
right: 55px;
top: 44px;
z-index: 99;
background-color: #F5F6FA;
}
h1 {
position: absolute;
left: 55px;
top: 44px;
z-index: 99;
font-family: 'font_bold';
font-size: 24px;
line-height: 29px;
color: #354049;
margin-block-start: 0.5em;
margin-block-end: 0.5em;
}
}
</style>