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 | import { APP_NAME, APP_ROUTES } from "@/routes/const";
import React from "react";
const Footer: React.FC = () => {
const footerLink = (link: string, title: string) => {
return (
<a className="text-blue underline" href={link}>
{title}
</a>
);
};
return (
<footer>
© {new Date().getFullYear()} {APP_NAME}. All rights reserved. ·{" "}
{footerLink(APP_ROUTES.LEGAL.privacy_policy, "Privacy Policy")} ·{" "}
{footerLink(APP_ROUTES.LEGAL.terms_of_service, "Terms Of Service")} ·{" "}
{footerLink(APP_ROUTES.LEGAL.legal_docs, "Policy Documents")}
</footer>
);
};
export default Footer;
|