diff --git a/frontend/src/assets/Icons.tsx b/frontend/src/assets/Icons.tsx index fefe834..daa22eb 100644 --- a/frontend/src/assets/Icons.tsx +++ b/frontend/src/assets/Icons.tsx @@ -104,6 +104,20 @@ export const SvgCopyAll: Component> = (props) => ( ); +export const SvgOpenInNew: Component> = (props) => ( + + + + +); + export const SvgNavigateBefore: Component> = (props) => ( = (props) => { const ipPort = () => `${props.match.gameServer.ip}:${props.match.gameServer.port}`; + const steamUrl = () => `steam://connect/${ipPort()}?appid=730/${props.match.serverPassword}`; const command = () => (props.match.serverPassword ? `password "${props.match.serverPassword}"; ` : '') + `connect ${ipPort()}`; @@ -17,6 +18,10 @@ export const GameServerCard: Component<{

{t('Game Server')}

+ + {steamUrl()} + +
{command()}