delint
This commit is contained in:
parent
7cde32ed2e
commit
4b5b0e9244
3 changed files with 12 additions and 12 deletions
|
@ -71,7 +71,7 @@ const CompatibilityView: React.FC<IProps> = ({ onAccept }) => {
|
||||||
android = [];
|
android = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
let mobileHeader = <h2 id="step2_heading">{_t("Use %(brand)s on mobile", { brand })}</h2>;
|
let mobileHeader = <h2 id="step2_heading">{ _t("Use %(brand)s on mobile", { brand }) }</h2>;
|
||||||
if (!android.length && !ios) {
|
if (!android.length && !ios) {
|
||||||
mobileHeader = null;
|
mobileHeader = null;
|
||||||
}
|
}
|
||||||
|
@ -102,11 +102,11 @@ const CompatibilityView: React.FC<IProps> = ({ onAccept }) => {
|
||||||
'or <safariLink>Safari</safariLink> for the best experience.',
|
'or <safariLink>Safari</safariLink> for the best experience.',
|
||||||
{},
|
{},
|
||||||
{
|
{
|
||||||
'chromeLink': (sub) => <a href="https://www.google.com/chrome">{sub}</a>,
|
'chromeLink': (sub) => <a href="https://www.google.com/chrome">{ sub }</a>,
|
||||||
'firefoxLink': (sub) => <a href="https://firefox.com">{sub}</a>,
|
'firefoxLink': (sub) => <a href="https://firefox.com">{ sub }</a>,
|
||||||
'safariLink': (sub) => <a href="https://apple.com/safari">{sub}</a>,
|
'safariLink': (sub) => <a href="https://apple.com/safari">{ sub }</a>,
|
||||||
},
|
},
|
||||||
)}
|
) }
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
{ _t(
|
{ _t(
|
||||||
|
@ -124,9 +124,9 @@ const CompatibilityView: React.FC<IProps> = ({ onAccept }) => {
|
||||||
<div className="mx_HomePage_col">
|
<div className="mx_HomePage_col">
|
||||||
<div className="mx_HomePage_row">
|
<div className="mx_HomePage_row">
|
||||||
<div>
|
<div>
|
||||||
{mobileHeader}
|
{ mobileHeader }
|
||||||
{ios}
|
{ ios }
|
||||||
{android}
|
{ android }
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -40,9 +40,9 @@ const ErrorView: React.FC<IProps> = ({ title, messages }) => {
|
||||||
<div className="mx_HomePage_row">
|
<div className="mx_HomePage_row">
|
||||||
<div>
|
<div>
|
||||||
<h2 id="step1_heading">{ title }</h2>
|
<h2 id="step1_heading">{ title }</h2>
|
||||||
{messages && messages.map(msg => <p key={msg}>
|
{ messages && messages.map(msg => <p key={msg}>
|
||||||
{ msg }
|
{ msg }
|
||||||
</p>)}
|
</p>) }
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -35,14 +35,14 @@ const VectorAuthFooter = () => {
|
||||||
for (const linkEntry of links) {
|
for (const linkEntry of links) {
|
||||||
authFooterLinks.push(
|
authFooterLinks.push(
|
||||||
<a href={linkEntry.url} key={linkEntry.text} target="_blank" rel="noreferrer noopener">
|
<a href={linkEntry.url} key={linkEntry.text} target="_blank" rel="noreferrer noopener">
|
||||||
{linkEntry.text}
|
{ linkEntry.text }
|
||||||
</a>,
|
</a>,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="mx_AuthFooter">
|
<div className="mx_AuthFooter">
|
||||||
{authFooterLinks}
|
{ authFooterLinks }
|
||||||
<a href="https://matrix.org" target="_blank" rel="noreferrer noopener">{ _t('Powered by Matrix') }</a>
|
<a href="https://matrix.org" target="_blank" rel="noreferrer noopener">{ _t('Powered by Matrix') }</a>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue