2019-01-24 20:15:10 +00:00
|
|
|
// Copyright (C) 2019 Storj Labs, Inc.
|
2018-11-27 10:51:33 +00:00
|
|
|
// See LICENSE for copying information.
|
|
|
|
|
2018-11-14 14:00:01 +00:00
|
|
|
<template>
|
2018-11-19 15:32:50 +00:00
|
|
|
<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 />
|
2018-11-14 14:00:01 +00:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
2019-07-08 14:45:25 +01:00
|
|
|
import { Component, Vue } from 'vue-property-decorator';
|
|
|
|
import TabNavigation from '@/components/navigation/TabNavigation.vue';
|
2019-08-20 16:23:56 +01:00
|
|
|
import { NavigationLink } from '@/types/navigation';
|
2019-08-22 11:44:08 +01:00
|
|
|
import { RouteConfig } from '@/router';
|
2018-11-14 14:00:01 +00:00
|
|
|
|
2019-07-08 14:45:25 +01:00
|
|
|
@Component({
|
2019-07-18 14:39:39 +01:00
|
|
|
components: {
|
|
|
|
TabNavigation,
|
|
|
|
},
|
2019-07-08 14:45:25 +01:00
|
|
|
})
|
2019-07-18 14:39:39 +01:00
|
|
|
export default class AccountArea extends Vue {
|
2019-08-20 16:23:56 +01:00
|
|
|
public navigation: NavigationLink[] = [
|
2019-08-22 11:44:08 +01:00
|
|
|
RouteConfig.Account.with(RouteConfig.Profile),
|
|
|
|
RouteConfig.Account.with(RouteConfig.PaymentMethods),
|
|
|
|
RouteConfig.Account.with(RouteConfig.BillingHistory),
|
2019-08-20 16:23:56 +01:00
|
|
|
];
|
2019-07-18 14:39:39 +01:00
|
|
|
}
|
2018-11-14 14:00:01 +00:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped lang="scss">
|
2018-11-19 15:32:50 +00:00
|
|
|
.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;
|
|
|
|
}
|
2018-11-14 14:00:01 +00:00
|
|
|
}
|
2019-04-25 16:06:19 +01:00
|
|
|
</style>
|