All files / packages/design-system-2-site/src/components Footer.tsx

100% Statements 3/3
100% Branches 0/0
100% Functions 2/2
100% Lines 3/3

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    2x                   4x               24x                                        
import Link from 'next/link';
 
const EXTERNAL_LINKS = [
  { href: 'https://www.salesforce.com/company/legal/', text: 'Terms of Service' },
  { href: 'https://www.salesforce.com/company/privacy/', text: 'Privacy' },
  { href: 'https://www.salesforce.com/company/security/', text: 'Responsible Disclosure' },
  { href: 'https://trust.salesforce.com/', text: 'Trust' },
  { href: 'https://www.salesforce.com/company/privacy/full_privacy/', text: 'Your Privacy Choices' },
  { href: 'https://www.salesforce.com/company/legal/', text: 'Salesforce Legal' },
];
 
export function Footer() {
  return (
    <footer className="site-footer text-body-sm">
      <div className="site-footer__inner">
        <nav className="site-footer__links" aria-label="Footer">
          <Link href="/general/get-started" className="site-footer__link">
            Get Started
          </Link>
          {EXTERNAL_LINKS.map((link) => (
            <a
              key={link.text}
              href={link.href}
              target="_blank"
              rel="noopener noreferrer"
              className="site-footer__link"
            >
              {link.text}
            </a>
          ))}
        </nav>
        <p className="site-footer__copyright">
          &copy; Copyright 2015-present Salesforce, Inc. All rights reserved. Various trademarks held by their
          respective owners. Salesforce, Inc. Salesforce Tower, 415 Mission Street, 3rd Floor, San Francisco,
          CA 94105, United States
        </p>
      </div>
    </footer>
  );
}