* wip * feat: first draft of auth.config * chore: auth methodS * chore: styling * styling, styling, styling * feat: Auth notices * chore: Remove server-rendered pages, move shared/components -> components * lint * cleanup * cleanup * fix: Remove unused component * fix: Ensure env variables in prod too * style tweaks * fix: Entering SSO email into login form fails fix: Tweak language around guest signin
31 lines
578 B
JavaScript
31 lines
578 B
JavaScript
// @flow
|
|
import * as React from "react";
|
|
import { times } from "lodash";
|
|
import styled from "styled-components";
|
|
import Mask from "components/Mask";
|
|
import Fade from "components/Fade";
|
|
import Flex from "components/Flex";
|
|
|
|
type Props = {
|
|
count?: number,
|
|
};
|
|
|
|
const ListPlaceHolder = ({ count }: Props) => {
|
|
return (
|
|
<Fade>
|
|
{times(count || 2, index => (
|
|
<Item key={index} column auto>
|
|
<Mask header />
|
|
<Mask />
|
|
</Item>
|
|
))}
|
|
</Fade>
|
|
);
|
|
};
|
|
|
|
const Item = styled(Flex)`
|
|
padding: 10px 0;
|
|
`;
|
|
|
|
export default ListPlaceHolder;
|