Hey is a decentralized and permissionless social media app built with Lens Protocol 馃尶
at main 37 lines 1.1 kB view raw
1import { Link } from "react-router"; 2 3const currentYear = new Date().getFullYear(); 4 5const links = [ 6 { href: "/terms", label: "Terms" }, 7 { href: "/privacy", label: "Privacy" }, 8 { href: "/guidelines", label: "Guidelines" }, 9 { href: "https://hey.xyz/discord", label: "Discord" }, 10 { href: "/u/hey", label: "Hey" }, 11 { href: "https://github.com/heyverse/hey", label: "GitHub" }, 12 { href: "/support", label: "Support" }, 13 { href: "https://hey.xyz/status", label: "Status" } 14]; 15 16const Footer = () => { 17 return ( 18 <footer className="flex flex-wrap gap-x-[12px] gap-y-2 px-3 text-sm lg:px-0"> 19 <span className="font-bold text-gray-500 dark:text-gray-200"> 20 &copy; {currentYear} Hey.xyz 21 </span> 22 {links.map(({ href, label }) => ( 23 <Link 24 className="outline-offset-4" 25 key={href} 26 rel="noreferrer noopener" 27 target={href.startsWith("http") ? "_blank" : undefined} 28 to={href} 29 > 30 {label} 31 </Link> 32 ))} 33 </footer> 34 ); 35}; 36 37export default Footer;