Add a LBRY status card to help page with links to new FAQ page and status page

This commit is contained in:
eatdostacos 2020-07-11 00:11:47 -07:00 committed by Sean Yesmunt
parent fa7f74f979
commit 9b10b775cd
4 changed files with 32 additions and 0 deletions

View file

@ -1266,5 +1266,9 @@
"There was an error with LBRY first publishing.": "There was an error with LBRY first publishing.",
"Automagically upload to your youtube channel.": "Automagically upload to your youtube channel.",
"Your file was published to LBRY, but the YouTube upload failed.": "Your file was published to LBRY, but the YouTube upload failed.",
"LBRY Status": "LBRY Status",
"Check the status of various LBRY services.": "Check the status of various LBRY services.",
"Check Status": "Check Status",
"Monitor Explanation FAQ": "Monitor Explanation FAQ",
"--end--": "--end--"
}

View file

@ -694,4 +694,11 @@ export const icons = {
<circle cx="12" cy="13" r="4" />
</g>
),
[ICONS.LBRY_STATUS]: buildIcon(
<g>
<line x1="18" y1="20" x2="18" y2="10" />
<line x1="12" y1="20" x2="12" y2="4" />
<line x1="6" y1="20" x2="6" y2="14" />
</g>
),
};

View file

@ -109,3 +109,4 @@ export const RECEIVE = 'Receive';
export const CAMERA = 'Camera';
export const OPEN_LOG = 'FilePlus';
export const OPEN_LOG_FOLDER = 'Folder';
export const LBRY_STATUS = 'BarChart';

View file

@ -148,6 +148,26 @@ class HelpPage extends React.PureComponent<Props, State> {
}
/>
<Card
title={__('LBRY Status')}
subtitle={__('Check the status of various LBRY services.')}
actions={
<div className="section__actions">
<Button
href="https://status.lbry.com/"
label={__('Check Status')}
icon={ICONS.LBRY_STATUS}
button="secondary"
/>
<Button
href="https://lbry.com/faq/services-monitor"
label={__('Monitor Explanation FAQ')}
icon={ICONS.HELP}
button="secondary"
</div>
}
/>
<Card
title={__('Find Assistance')}
subtitle={