forked from M-Labs/web2019
14 lines
464 B
React
14 lines
464 B
React
|
import React from "react";
|
||
|
import {DOMAIN} from "./utils";
|
||
|
|
||
|
|
||
|
export function DomainedEmail({address}) {
|
||
|
const target = `${address}@${DOMAIN}`;
|
||
|
return <a href={"mailto:" + target}>{target}</a>
|
||
|
}
|
||
|
|
||
|
export const DomainedRFQMessages = {
|
||
|
OK: <>We've received your request and will be in contact soon.</>,
|
||
|
ERROR: <>We cannot receive your request. Try using the export by coping the configuration and send it to us at <DomainedEmail address="sales"/></>
|
||
|
}
|