This commit is contained in:
Luke Berndt
2023-07-09 10:32:29 -04:00
parent 3a7ec72aab
commit 16f74cdb17
5 changed files with 31 additions and 10 deletions

View File

@@ -3,7 +3,7 @@ import {
Modal,
Button,
Icon,
Label,
List,
Form,
Grid
} from "semantic-ui-react";
@@ -35,7 +35,7 @@ function ContactModal(props) {
setName(false);
setEmail(false);
setMessage(false);
//onClose();
onClose();
} catch (submitError) {
console.error(error)
setError(submitError);
@@ -55,7 +55,17 @@ function ContactModal(props) {
<Grid columns={2} divided>
<Grid.Row>
<Grid.Column width={6}>
Stuf about what to do
<p>The radio systems on OpenMHz are contributed by people from around the world.</p> <p>Use this form to contact the contributer for the <span style={{fontWeight: "bold"}}>{system.name}</span> system regarding:
<List as='ul'>
<List.Item as='li'>Outages</List.Item>
<List.Item as='li'>Audio quality</List.Item>
<List.Item as='li'>Talkgroup updates</List.Item>
<List.Item as='li'>Thanks & appreciation</List.Item>
</List>
</p>
<p>If you have general questions about OpenMHz send me an email, </p>
<p> - Luke <a href="mailto:luke@robotastic.com?Subject=OpenMHz" target="_top">luke@robotastic.com</a> </p>
</Grid.Column>
<Grid.Column width={10}>
<Form>

View File

@@ -95,7 +95,7 @@ function SystemCard (props) {
<Grid.Row>
<Grid.Column >
{system.screenName && <Label size="mini"><Icon name='user' /> {system.screenName}</Label>}
<Label size="mini" onClick={handleContactClick}><Icon name='mail' />Mail</Label>
{/*system.allowContact && <Label size="mini" onClick={handleContactClick}><Icon name='mail' />Message</Label>*/}
</Grid.Column>
</Grid.Row>
<Grid.Row>