Skip to content

Commit

Permalink
redirect file created
Browse files Browse the repository at this point in the history
  • Loading branch information
Souviksamanta34 committed Oct 6, 2024
1 parent 6767243 commit 8faf61c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
1 change: 1 addition & 0 deletions public/_redirects
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/* /index.html 200
18 changes: 5 additions & 13 deletions src/Footer.js
Original file line number Diff line number Diff line change
@@ -1,33 +1,25 @@
// Footer.js
import React from 'react';
import './Footer.css'; // We will style the footer in a separate CSS file
import './Footer.css';
import { Link } from "react-router-dom";

function Footer() {
return (
<div className="footer">
<div className="footer__container">
{/* Section 1: About the Company */}
<div className="footer__section">
<h3><a href="/about">About Us</a></h3>
<h3><Link to="/about">About Us</Link></h3>
</div>

{/* Section 2: Customer Service Links */}
<div className="footer__section">
<h3><a href="/orders">Returns & Orders</a></h3>
<h3><Link to="/orders">Returns & Orders</Link></h3>
</div>

<div className="footer__section">
<h3><a href="/contact">Contact Us</a></h3>
<h3><Link to="/contact">Contact Us</Link></h3>
</div>


{/* Section 4: Social Media Icons */}
<div className="footer__section">
<h3><a href="https://www.facebook.com" target="_blank" rel="noreferrer">Follow Us</a></h3>
</div>
</div>

{/* Copyright */}
<div className="footer__copyright">
<p>&copy; 2024 GruhamStore. All rights reserved.</p>
</div>
Expand Down

0 comments on commit 8faf61c

Please sign in to comment.