Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | 53x 1x | import GiveLogo from "@assets/images/GiveLogo.png";
import { memo } from "react";
import { TosForm } from "./TosForm";
import { TermsOfServiceProps } from "./types";
import TermsOfServiceContentGeneral from "./TermsOfServiceContentGeneral";
import {
Container,
Footer,
Header,
MainContainer,
Title,
Wrapper,
} from "./styles";
const TermsOfServicePage = ({
...props
}: Omit<TermsOfServiceProps, "customStyles">) => {
// Temporarily pinned to the hardcoded copy (AGR001): the published document
// must NOT show here until the customer clarifies which version the public
// pages should carry. Restore the usePublicLegalDocument/DocumentViewer
// rendering once confirmed.
return (
<TosForm>
<Container>
<Wrapper>
<Header>
<img src={GiveLogo} alt="Give Logo" style={{ height: "100%" }} />
</Header>
<MainContainer>
<Title>GiveCorporation Terms of Service - United States</Title>
<TermsOfServiceContentGeneral {...props} isPage />
</MainContainer>
<Footer>© {new Date().getFullYear()} GiveCorporation, Inc.</Footer>
</Wrapper>
</Container>
</TosForm>
);
};
export default memo(TermsOfServicePage);
|