dydx-v4-web/src/components/ComingSoon.tsx
James Jia - Test 4b86068d8f
Initial commit
2023-09-08 13:52:13 -07:00

27 lines
656 B
TypeScript

import styled, { type AnyStyledComponent } from 'styled-components';
import { STRING_KEYS } from '@/constants/localization';
import { useStringGetter } from '@/hooks';
import { layoutMixins } from '@/styles/layoutMixins';
export const ComingSoon = () => {
const stringGetter = useStringGetter();
return <h1>{stringGetter({ key: STRING_KEYS.COMING_SOON })}</h1>;
};
export const ComingSoonSpace = () => (
<Styled.FullPageContainer>
<ComingSoon />
</Styled.FullPageContainer>
);
const Styled: Record<string, AnyStyledComponent> = {};
Styled.FullPageContainer = styled.div`
${layoutMixins.centered}
h1 {
padding-bottom: 2rem;
}
`;