All files / components/Nav Footer.jsx

100% Statements 1/1
100% Branches 2/2
100% Functions 1/1
100% Lines 1/1

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        85x                                  
import { Container } from "react-bootstrap";
 
export default function Footer({ systemInfo }) {
  const sourceRepo =
    systemInfo?.sourceRepo || "https://github.com/ucsb-cs156/proj-dining";
 
  return (
    <footer className="bg-light pt-3 pt-md-4 pb-4 pb-md-5" data-testid="Footer">
      <Container>
        <p>
          This app is a class project of{" "}
          <a href="https://ucsb-cs156.github.io/">CMPSC 156</a> at{" "}
          <a href="https://ucsb.edu/">UCSB</a>. Check out the source code on{" "}
          <a href={sourceRepo}>GitHub</a>! This is not an official source of
          UCSB dining commons information. An official source can be found{" "}
          <a href="https://apps.dining.ucsb.edu/menu/day">here</a>.
        </p>
      </Container>
    </footer>
  );
}