Skip to content

Commit

Permalink
Update contact and about pages
Browse files Browse the repository at this point in the history
  • Loading branch information
prasukjain07 committed Jan 20, 2024
1 parent 4b7df9a commit 0f656ff
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 2 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"githubPullRequests.ignoredPullRequestBranches": [
"master",
"master"
]
}
4 changes: 4 additions & 0 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import Footer from './Components/Footer/Footer';
import men_banner from './Components/Assets/banner_mens.png'
import women_banner from './Components/Assets/banner_women.png'
import kids_banner from './Components/Assets/banner_kids.png'
import About from './Pages/About';
import Contact from './Pages/Contact';

function App() {
return (
Expand All @@ -27,6 +29,8 @@ function App() {
</Route>
<Route path='/cart' element={<Cart/>} />
<Route path='/login' element={<LoginSignup/>} />
<Route path='/about' element={<About/>} />
<Route path='/contact' element={<Contact/>} />
</Routes>
<Footer/>
</BrowserRouter>
Expand Down
4 changes: 2 additions & 2 deletions src/Components/Footer/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ const Footer = () => {
<li>Company</li>
<li>Products</li>
<li>Offices</li>
<li>About</li>
<li>Contact</li>
<li> <Link className="link" to='/about'>About</Link></li>
<li> <Link className="link" to='/contact'>Contact Us</Link></li>
</ul>
<div className="footer-social-icon">
<div className="footer-icons-container">
Expand Down
21 changes: 21 additions & 0 deletions src/Pages/Contact.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import React from 'react';
import './CSS/Contact.css'

const Contact = () => {
return (
<div className="container-my">
<h1 id="myheading">
Contact Us
</h1>
<p>
This is the official page of Shopnix, where you can share all your queries, feedback, complaints, or any concern you may have about our products.
</p>
<p>
In Case of any grievance, don't hesitate to get in touch with us on our official contact number xxxxxxxxxx. Or you can write to us at xyz@gmail.com.
</p>

</div>
);
};

export default Contact;

0 comments on commit 0f656ff

Please sign in to comment.