design nitpicks

This commit is contained in:
Jorik Schellekens
2020-09-16 13:58:14 +01:00
parent 0a8685360f
commit 1352feca21
14 changed files with 69 additions and 33 deletions
+10 -2
View File
@@ -22,6 +22,8 @@ import InvitingClientTile from '../components/InvitingClientTile';
import { parseHash } from '../parser/parser';
import { LinkKind } from '../parser/types';
/* eslint-disable no-restricted-globals */
interface IProps {
link: string;
}
@@ -36,8 +38,14 @@ const LinkRouter: React.FC<IProps> = ({ link }: IProps) => {
case LinkKind.ParseFailed:
feedback = (
<Tile>
<h1>Invalid matrix.to link</h1>
<p>{link}</p>
<p>
That URL doesn't seem right. Links should be in the
format:
</p>
<br />
<p>
{location.host}/#/{'<'}matrix-resourceidentifier{'>'}
</p>
</Tile>
);
break;