Skip to content

Commit

Permalink
Merge pull request #104 from Mandakini-S/About
Browse files Browse the repository at this point in the history
Add about section
  • Loading branch information
mohitparmar1 authored May 14, 2024
2 parents 974d36c + 93f32c5 commit a6886b1
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import Login from "./Pages/Login";
import Product from "./Pages/Product";
import Shop from "./Pages/Shop";
import ShopCategory from "./Pages/ShopCategory";
import About from "./Pages/About";

import "./index.css";
import Signup from "./Pages/Signup";
Expand All @@ -27,6 +28,7 @@ const App = () => {
<Route path="/kids" element={<ShopCategoryWithFooter banner={kids_banner} category="kid" />} />
<Route path="/product/:productId" element={<ProductWithFooter />} />
<Route path="/cart" element={<CartWithFooter />} />
<Route path="/about" element={<About/>} />
</Routes>
</Router>
);
Expand Down
2 changes: 1 addition & 1 deletion src/Components/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const Footer = () => {
<a href="#" className="block p-2">Products</a>
</button>
<button className="hover:bg-orange-400 hover:text-white focus:outline-none">
<a href="#" className="block p-2">About Us</a>
<a href="/about" className="block p-2">About Us</a>
</button>
<button className="hover:bg-orange-400 hover:text-white focus:outline-none">
<a href="#" className="block p-2">Contact</a>
Expand Down
2 changes: 1 addition & 1 deletion src/Components/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const Navbar = () => {
</li>
</ul>
</div>
<a href="#" className="hover:text-orange-400">
<a href="/about" className="hover:text-orange-400">
About Us
</a>
<a href="#" className="hover:text-orange-400">
Expand Down
53 changes: 53 additions & 0 deletions src/Pages/About.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
import React from "react";
import Store from "../assets/store.png";

const About = () => {
return (
<>
<div className="flex flex-col md:flex-col xl:flex-row w-full mx-auto mt-20 sm:w-11/12 md:w-3/4 lg:w-3/4 xl:w-3/4 px-4 py-8 sm:px-6 md:px-8 lg:px-10 rounded-3xl bg-gradient-to-b from-purple-200 to-blue-300">
<div className="flex flex-col justify-center px-4 py-6 md:px-8 lg:px-2 text-gray-700">
<h1 className="text-3xl sm:text-4xl md:text-5xl mb-4 font-Poppins">
We are team Shopy
</h1>
<p className="text-base sm:text-lg md:text-xl mb-4">
Your ultimate fashion destination for the whole family. With a
curated selection of clothing for men, women, and kids, we blend
timeless sophistication with contemporary flair to ensure you make
a statement wherever you go.
</p>
<h2 className="text-2xl sm:text-3xl mb-2">Why Us?</h2>
<ul className="list-disc list-inside">
<li className="mb-2">
<span className="font-bold">Diverse Selection:</span> Wide range
for all.
</li>
<li className="mb-2">
<span className="font-bold">Quality Assurance:</span> Durability,
comfort, style.
</li>
<li className="mb-2">
<span className="font-bold">Seamless Shopping:</span> Easy,
secure, fast.
</li>
<li className="mb-2">
<span className="font-bold">Fashion Expertise:</span> Trendy,
latest styles.
</li>
</ul>
</div>
<div className="flex justify-center items-center w-full md:w-35">
<img
src={Store}
alt="Illustration for store"
className="w-full md:w-auto max-w-lg "
/>
</div>

</div>

</>
);
};

export default About;

Binary file added src/assets/store.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a6886b1

Please sign in to comment.