Skip to content
Source
Sign inSign up
samwillis/one-million-boxes
Open History to see the last commit

Footer.tsx

39 lines1.2 KB

1import { MoveDial } from "../ui/MoveDial"
2import "./Footer.css"
3​
4export function Footer() {
5 return (
6 <footer className="footer" data-testid="footer">
7 <div className="footer-left">
8 <MoveDial className="footer-move-dial" testId="quota-meter" />
9 </div>
10 <a
11 href="https://github.com/samwillis/one-million-boxes"
12 target="_blank"
13 rel="noopener noreferrer"
14 className="footer-link"
15 aria-label="Learn how we built this with Neon Realtime"
16 >
17 <span className="footer-link-desktop">
18 Learn how we built this{` `}
19 <span className="footer-link-extra">with Neon Realtime</span>
20 </span>
21 <span className="footer-link-mobile">How we built it</span>
22 <svg
23 width="14"
24 height="14"
25 viewBox="0 0 24 24"
26 fill="none"
27 stroke="currentColor"
28 strokeWidth="2"
29 strokeLinecap="round"
30 strokeLinejoin="round"
31 >
32 <path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" />
33 <polyline points="15 3 21 3 21 9" />
34 <line x1="10" y1="14" x2="21" y2="3" />
35 </svg>
36 </a>
37 </footer>
38 )