temporarily use siasky.net emails on portal landing page (#1843)
This commit is contained in:
parent
a5834539f2
commit
7da5a24c6e
|
@ -2,9 +2,13 @@ import * as React from "react";
|
||||||
import { LogoWhiteText } from "../Icons";
|
import { LogoWhiteText } from "../Icons";
|
||||||
import Link from "../Link";
|
import Link from "../Link";
|
||||||
|
|
||||||
const hostname = typeof window !== "undefined" ? window.location.hostname : "";
|
// const hostname = typeof window !== "undefined" ? window.location.hostname : "";
|
||||||
const domain = hostname.substring(hostname.lastIndexOf(".", hostname.lastIndexOf(".") - 1) + 1);
|
// const domain = hostname.substring(hostname.lastIndexOf(".", hostname.lastIndexOf(".") - 1) + 1);
|
||||||
const emails = domain ? [`hello@${domain}`, `abuse@${domain}`] : [];
|
// const emails = domain ? [`hello@${domain}`, `report@${domain}`] : [];
|
||||||
|
|
||||||
|
// temporary hardcode siasky.net emails until we have environment
|
||||||
|
// variables for them and we can reflect that in the terms of service
|
||||||
|
const emails = ["hello@siasky.net", "report@siasky.net"];
|
||||||
|
|
||||||
const Footer = () => {
|
const Footer = () => {
|
||||||
return (
|
return (
|
||||||
|
|
Reference in New Issue