Added content to FAQ page for audio sharing

This commit is contained in:
Mitchell McCaffrey
2020-04-09 21:56:02 +10:00
parent 85f4a9b41b
commit e6658324de
5 changed files with 51 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
import React, { useState } from "react";
import { IconButton, Box, Text, Button, Label, Flex } from "theme-ui";
import { IconButton, Box, Text, Button, Label, Flex, Link } from "theme-ui";
import adapter from "webrtc-adapter";
import Modal from "./Modal";
@@ -16,24 +16,24 @@ function StartStreamButton({ onStreamStart, onStreamEnd, stream }) {
const unavailableMessage = (
<Box p={2} bg="hsla(230, 20%, 0%, 20%)">
<Text as="p">
Browser not supported.
<Text as="p" variant="body2">
Browser not supported for audio sharing.
<br />
<br />
See FAQ for more information.
See <Link href="#/faq">FAQ</Link> for more information.
</Text>
</Box>
);
const noAudioMessage = (
<Box p={2} bg="hsla(230, 20%, 0%, 20%)">
<Text as="p">
<Text as="p" variant="body2">
No audio found in screen share.
<br />
Ensure "Share audio" is selected when sharing.
<br />
<br />
See FAQ for more information.
See <Link href="#/faq">FAQ</Link> for more information.
</Text>
</Box>
);