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 | 1x 1x 1x 53x 53x 53x 53x 53x 53x 52x 52x 52x 52x 52x 52x 52x 52x 53x 53x | import { Container } from "react-bootstrap";
import { useSystemInfo } from "main/utils/systemInfo";
export default function Footer() {
const { data: systemInfo } = useSystemInfo();
return (
<footer className="bg-light pt-3 pt-md-4 pb-4 pb-md-5" data-testid="Footer">
<Container>
<p>
This is a sample webapp using React with a Spring Boot backend.
{systemInfo.sourceRepo ? (
<span data-testid="footer-see-source-code">
{" "}
See the source code on{" "}
<a
href={`${systemInfo.sourceRepo}`}
target="_blank"
rel="noopener noreferrer"
>
Github.
</a>
</span>
) : (
<span data-testid="footer-see-source-code" />
)}
</p>
</Container>
</footer>
);
}
|