This repository has been archived by the owner on Mar 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
c060dc8
commit 52ada3e
Showing
5 changed files
with
206 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
.BillingSummary { | ||
background-color: var(--sys-center-channel-bg); | ||
border: 1px solid rgba(var(--sys-center-channel-color-rgb), 0.08); | ||
box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.08); | ||
border-radius: 4px; | ||
width: 332px; | ||
margin-left: 20px; | ||
padding: 28px 32px; | ||
} | ||
|
||
.BillingSummary__noBillingHistory { | ||
display: flex; | ||
align-items: flex-start; | ||
flex-direction: column; | ||
justify-content: flex-start; | ||
} | ||
|
||
.BillingSummary__noBillingHistory-graphic { | ||
align-self: center; | ||
} | ||
|
||
.BillingSummary__noBillingHistory-title { | ||
font-size: 16px; | ||
line-height: 24px; | ||
margin-top: 32px; | ||
font-weight: 600; | ||
} | ||
|
||
.BillingSummary__noBillingHistory-message { | ||
margin-top: 8px; | ||
font-size: 14px; | ||
line-height: 20px; | ||
color: var(--sys-center-channel-color); | ||
} | ||
|
||
.BillingSummary__noBillingHistory-link { | ||
font-weight: 600; | ||
font-size: 12px; | ||
color: var(--sys-button-bg); | ||
margin-top: 16px; | ||
margin-bottom: 24px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. | ||
// See LICENSE.txt for license information. | ||
|
||
import React from 'react'; | ||
import {FormattedMessage} from 'react-intl'; | ||
|
||
import noBillingHistoryGraphic from 'images/no_billing_history_graphic.svg'; | ||
|
||
import './billing_summary.scss'; | ||
|
||
const noBillingHistory = ( | ||
<div className='BillingSummary__noBillingHistory'> | ||
<img | ||
className='BillingSummary__noBillingHistory-graphic' | ||
src={noBillingHistoryGraphic} | ||
/> | ||
<div className='BillingSummary__noBillingHistory-title'> | ||
<FormattedMessage | ||
id='admin.billing.subscriptions.billing_summary.noBillingHistory.title' | ||
defaultMessage='No billing history yet' | ||
/> | ||
</div> | ||
<div className='BillingSummary__noBillingHistory-message'> | ||
<FormattedMessage | ||
id='admin.billing.subscriptions.billing_summary.noBillingHistory.description' | ||
defaultMessage='In the future, this is where your most recent bill summary will show.' | ||
/> | ||
</div> | ||
<a | ||
target='_blank' | ||
rel='noopener noreferrer' | ||
href='http:https://www.google.com' | ||
className='BillingSummary__noBillingHistory-link' | ||
> | ||
<FormattedMessage | ||
id='admin.billing.subscriptions.billing_summary.noBillingHistory.link' | ||
defaultMessage='See how billing works' | ||
/> | ||
</a> | ||
</div> | ||
); | ||
|
||
const BillingSummary: React.FC = () => { | ||
return ( | ||
<div className='BillingSummary'> | ||
{noBillingHistory} | ||
</div> | ||
); | ||
}; | ||
|
||
export default BillingSummary; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.