storj/web/satellite/src/components/infoBars/PaidTierBar.vue
Vitalii Shpital 9773197c61 web/satellite: new nav account area and vertical layout fixes
Added account area and dropdown for new navigation sidebar.
Fixed vertical layout for new and old nav structures depending on top info bars amount.

Change-Id: I238ba1f899d27d7fd9b865b0c17b0bfd7cff47ad
2021-10-20 13:57:14 +00:00

44 lines
1.0 KiB
Vue

// Copyright (C) 2021 Storj Labs, Inc.
// See LICENSE for copying information.
<template>
<div class="pt-bar">
<p>
Upload up to 75TB by upgrading to a Storj Pro Account.
</p>
<p class="pt-bar__functional" @click.stop="openAddPMModal">
Upgrade now.
</p>
</div>
</template>
<script lang="ts">
import { Component, Prop, Vue } from 'vue-property-decorator';
// @vue/component
@Component
export default class PaidTierBar extends Vue {
@Prop({default: () => false})
public readonly openAddPMModal: () => void;
}
</script>
<style scoped lang="scss">
.pt-bar {
font-family: 'font_regular', sans-serif;
display: flex;
align-items: center;
justify-content: space-between;
background: #0047ff;
font-size: 14px;
line-height: 18px;
color: #eee;
padding: 5px 30px;
&__functional {
font-family: 'font_bold', sans-serif;
cursor: pointer;
}
}
</style>