Footer.jsx
1.1 KB
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
import React from 'react';
const Footer = () => {
  return (
    <footer style={footerStyle}>
      <div style={containerStyle}>
        <div style={contentStyle}>
          <p>© 2024 Ecommerce Store. All rights reserved.</p>
          <div style={linksStyle}>
            <a href="/about" style={linkStyle}>About</a>
            <a href="/contact" style={linkStyle}>Contact</a>
            <a href="/privacy" style={linkStyle}>Privacy Policy</a>
            <a href="/terms" style={linkStyle}>Terms of Service</a>
          </div>
        </div>
      </div>
    </footer>
  );
};
const footerStyle = {
  backgroundColor: '#f8f9fa',
  padding: '2rem 0',
  borderTop: '1px solid #e9ecef',
  marginTop: 'auto',
};
const containerStyle = {
  maxWidth: '1200px',
  margin: '0 auto',
  padding: '0 1rem',
};
const contentStyle = {
  display: 'flex',
  justifyContent: 'space-between',
  alignItems: 'center',
  flexWrap: 'wrap',
  gap: '1rem',
};
const linksStyle = {
  display: 'flex',
  gap: '1.5rem',
};
const linkStyle = {
  color: '#6c757d',
  textDecoration: 'none',
  fontSize: '0.9rem',
};
export default Footer;