Footer.jsx 1.1 KB
import React from 'react';

const Footer = () => {
  return (
    <footer style={footerStyle}>
      <div style={containerStyle}>
        <div style={contentStyle}>
          <p>&copy; 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;