// @flow import * as React from "react"; import styled from "styled-components"; import Grid from "styled-components-grid"; import Hero from "./components/Hero"; import HeroText from "./components/HeroText"; import Button from "./components/Button"; import SigninButtons from "./components/SigninButtons"; import AuthNotices from "./components/AuthNotices"; import Centered from "./components/Centered"; import PageTitle from "./components/PageTitle"; import { Team } from "../models"; type Props = { team: Team, guest?: boolean, notice?: "google-hd" | "auth-error" | "hd-not-allowed" | "guest-success", lastSignedIn: string, googleSigninEnabled: boolean, slackSigninEnabled: boolean, hostname: string, }; function SubdomainSignin({ team, guest, lastSignedIn, notice, googleSigninEnabled, slackSigninEnabled, hostname, }: Props) { googleSigninEnabled = !!team.googleId && googleSigninEnabled; slackSigninEnabled = !!team.slackId && slackSigninEnabled; const guestSigninEnabled = team.guestSignin; const guestSigninForm = (
Trying to create or sign in to a different team?{" "} Head to the homepage.