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-09-20 11:21:22 +01:00
|
|
|
<h1 class="account-area-container__title">Account</h1>
|
2019-07-09 16:04:51 +01:00
|
|
|
<TabNavigation
|
|
|
|
class="account-area-container__navigation"
|
2019-10-02 10:42:12 +01:00
|
|
|
:navigation="navigation"
|
|
|
|
/>
|
|
|
|
<router-view/>
|
2018-11-14 14:00:01 +00:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
2019-09-09 11:33:39 +01:00
|
|
|
import { Component, Vue } from 'vue-property-decorator';
|
2018-11-14 14:00:01 +00:00
|
|
|
|
2019-09-09 11:33:39 +01:00
|
|
|
import TabNavigation from '@/components/navigation/TabNavigation.vue';
|
|
|
|
|
|
|
|
import { RouteConfig } from '@/router';
|
|
|
|
import { NavigationLink } from '@/types/navigation';
|
|
|
|
|
|
|
|
@Component({
|
|
|
|
components: {
|
|
|
|
TabNavigation,
|
|
|
|
},
|
|
|
|
})
|
|
|
|
export default class AccountArea extends Vue {
|
|
|
|
public navigation: NavigationLink[] = [
|
|
|
|
RouteConfig.Account.with(RouteConfig.Profile),
|
|
|
|
RouteConfig.Account.with(RouteConfig.Billing),
|
|
|
|
RouteConfig.Account.with(RouteConfig.PaymentMethods),
|
|
|
|
];
|
|
|
|
}
|
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;
|
|
|
|
z-index: 99;
|
|
|
|
background-color: #F5F6FA;
|
|
|
|
}
|
|
|
|
|
2019-09-20 11:21:22 +01:00
|
|
|
&__title {
|
2019-07-10 10:55:40 +01:00
|
|
|
position: absolute;
|
|
|
|
left: 55px;
|
|
|
|
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-09-20 11:21:22 +01:00
|
|
|
|
|
|
|
@media screen and (max-width: 1024px) {
|
|
|
|
.account-area-container {
|
|
|
|
padding: 44px 40px 55px 40px;
|
|
|
|
|
|
|
|
&__navigation {
|
|
|
|
right: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__title {
|
|
|
|
left: 40px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-04-25 16:06:19 +01:00
|
|
|
</style>
|