temporarily use siasky.net emails on portal landing page (#1843)

This commit is contained in:
Karol Wypchło 2022-03-07 19:58:38 +01:00 committed by GitHub
parent a5834539f2
commit 7da5a24c6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 3 deletions

View File

@ -2,9 +2,13 @@ import * as React from "react";
import { LogoWhiteText } from "../Icons";
import Link from "../Link";
const hostname = typeof window !== "undefined" ? window.location.hostname : "";
const domain = hostname.substring(hostname.lastIndexOf(".", hostname.lastIndexOf(".") - 1) + 1);
const emails = domain ? [`hello@${domain}`, `abuse@${domain}`] : [];
// const hostname = typeof window !== "undefined" ? window.location.hostname : "";
// const domain = hostname.substring(hostname.lastIndexOf(".", hostname.lastIndexOf(".") - 1) + 1);
// 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 = () => {
return (