All files / components/Nav Footer.js

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

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 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79    17x       209x                                                                                                                                                
import { Container } from "react-bootstrap";
 
export const space = " ";
 
export default function Footer(systemInfo) {
 
  return (
    <footer className="bg-light pt-3 pt-md-4 pb-4 pb-md-5">
      <Container>
        <p>
          This app is a class project of{space}
          <a
            data-testid="footer-class-website-link"
            href="https://ucsb-cs156.github.io"
            target="_blank"
            rel="noopener noreferrer"
          >
            CMPSC 156
          </a>
          {space}
          at
          {space}
          <a data-testid="footer-ucsb-link" href="https://ucsb.edu" target="_blank" rel="noopener noreferrer">
            UCSB
          </a>
          . Check out the source code on
          {space}
 
          {systemInfo.systemInfo && (
            <a
              data-testid="footer-source-code-link"
              href={systemInfo.systemInfo.sourceRepo}
              target="_blank"
              rel="noopener noreferrer"
            >
              GitHub
            </a>
          )}
 
          {!systemInfo.systemInfo && (
            <a
              data-testid="footer-source-code-link"
              href={"https://github.com/ucsb-cs156-f22/f22-5pm-courses"}
              target="_blank"
              rel="noopener noreferrer"
            >
              GitHub
            </a>
          )}
        
 
          !
          This is not an official source of UCSB course information. An official
          source can be found
          {space}
          <a
            data-testid="footer-course-search-link"
            href="https://my.sa.ucsb.edu/public/curriculum/coursesearch.aspx"
            target="_blank"
            rel="noopener noreferrer"
          >
            here
          </a>
          .
        </p>
        <p>
          The cartoon Storke Tower images in the brand logo and favicon for this site were
          developed by Chelsea Lyon-Hayden, Art Director for UCSB Associate Students, and are
          used here by permission of the Executive Director of UCSB Associated Students.
          These images are Copyright © 2021 UCSB Associated Students, and may not be reused
          without express written permission of the Executive Director of UCSB Associated Students.  For more info, visit:
          {space}
          <a data-testid="footer-sticker-link" href="https://www.as.ucsb.edu/sticker-packs">www.as.ucsb.edu/sticker-packs/</a>
        </p>
      </Container>
    </footer>
  );
}