banned.tsx 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. import getConfig from "next/config";
  2. import Link from "next/link";
  3. import React from "react";
  4. import AppWrapper from "../components/AppWrapper";
  5. import { H2, H4, Span } from "../components/Text";
  6. import Footer from "../components/Footer";
  7. import ALink from "../components/ALink";
  8. import { Col } from "../components/Layout";
  9. const { publicRuntimeConfig } = getConfig();
  10. const BannedPage = () => {
  11. return (
  12. <AppWrapper>
  13. <Col flex="1 1 100%" alignItems="center">
  14. <H2 textAlign="center" my={3} normal>
  15. Link has been banned and removed because of{" "}
  16. <Span style={{ borderBottom: "1px dotted rgba(0, 0, 0, 0.4)" }} bold>
  17. malware or scam
  18. </Span>
  19. .
  20. </H2>
  21. <H4 textAlign="center" normal>
  22. If you noticed a malware/scam link shortened by{" "}
  23. {publicRuntimeConfig.SITE_NAME},{" "}
  24. <Link href="/report">
  25. <ALink title="Send report">send us a report</ALink>
  26. </Link>
  27. .
  28. </H4>
  29. </Col>
  30. <Footer />
  31. </AppWrapper>
  32. );
  33. };
  34. export default BannedPage;