summaryrefslogtreecommitdiff
path: root/src/components/Footer.tsx
blob: 1569f5bd6c52e20562290eb174eb5b17e6da683a (plain)
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
import React from 'react';
import { Link } from 'react-router';

interface FooterProps {
  currentPage?: 'home' | 'chart';
}

const Footer: React.FC<FooterProps> = () => {
  return (
    <footer className="footer">
      <div className="footer-unified">
        <div className="footer-sections">
          <div className="footer-section">
            <h3>About Morse Code</h3>
            <p>Morse code is a method of transmitting text as a series of on-off tones, lights, or clicks that can be understood by a skilled listener without specialized equipment.</p>
          </div>
          <div className="footer-section">
            <h3>Quick Links</h3>
            <ul>
              <li><Link to="/">Game</Link></li>
              <li><Link to="/chart">Reference Chart</Link></li>
              <li><a href="https://www.mastercw.com">Learn Morse Code</a></li>
            </ul>
          </div>
          <div className="footer-section">
            <h3>Resources</h3>
            <p>Created with <a href="https://www.mastercw.com/cw.js/">CW.js</a>. For a complete Morse Code training solution visit <a href="https://www.mastercw.com">Master CW</a>.</p>
            <p>&copy; {new Date().getFullYear()} Morse Hero</p>
          </div>
        </div>
      </div>
    </footer>
  );
};

export default Footer;