import * as React from "react"; import { FunctionComponent } from "react"; // A titled block of the home page; children are laid out as a grid of cards. const HomeSection: FunctionComponent<{ title: string, subtitle: string, emptyText?: string }> = (props) => { const isEmpty = React.Children.count(props.children) === 0; return ( <>
{props.emptyText}
: