diff --git a/src/App.jsx b/src/App.jsx index a06e88e..bcff737 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -67,6 +67,7 @@ const App = () => { } /> } /> } /> + } /> diff --git a/src/components/categories/CategoryList.jsx b/src/components/categories/CategoryList.jsx index 7715b7c..727a8e7 100644 --- a/src/components/categories/CategoryList.jsx +++ b/src/components/categories/CategoryList.jsx @@ -8,10 +8,10 @@ const CategoryList = () => { // Updated categories array with names and specifications const categories = [ - { name: 'Shirts', image: 'https://img.freepik.com/premium-photo/blue-shirt-white-isolated_267651-1565.jpg?w=740', description: 'shirts' }, + { name: 'Shirts', image: 'https://brooksbingham.com/51-large_default/light-blue-jetstream.jpg', description: 'shirts' }, { name: 'Suits', image: 'https://img.freepik.com/free-psd/realistic-suit-illustration_23-2151236757.jpg?t=st=1722512180~exp=1722515780~hmac=79030884ba3866ce8461b252477505e74e625c63012705c110eced45b59c63fb&w=740', description: 'suits' }, { name: 'Tuxedos', image: 'https://img.freepik.com/premium-vector/businessman-suit_98292-5674.jpg?w=740', description: 'tuxedos' }, - { name: 'Jackets', image: 'https://img.freepik.com/free-photo/still-life-rendering-jackets-display_23-2149745027.jpg?t=st=1722512352~exp=1722515952~hmac=ac34ad84d45b411fb64951e7324277994ed07ec0357b343ad4e5db09ea55e67f&w=360', description: 'jackets' }, + { name: 'Jackets', image: 'https://i5.walmartimages.com/seo/Lmtime-Clearance-Men-s-Casual-Blazer-Suit-Jackets-Slim-Fit-Lightweight-Sport-Coat-Business-Coat-Suit-Tops-Jacket-One-Button-Grey-XXL_4277f765-9e49-4ed1-a4b1-c70c71d3d1f0.5c005fe2c8e9d110bfb00216fb52f77b.jpeg?odnHeight=768&odnWidth=768&odnBg=FFFFFF', description: 'jackets' }, ]; const handleClick = (category) => { diff --git a/src/components/categories/JacketsProductList.jsx b/src/components/categories/JacketsProductList.jsx index 0bb97f6..df1fd7a 100644 --- a/src/components/categories/JacketsProductList.jsx +++ b/src/components/categories/JacketsProductList.jsx @@ -5,12 +5,12 @@ import ProductRow from './ProductRow'; import '../../styles/ProductList.css'; const products = [ - { id: 1, name: 'red bomber jacket', price: 129, image: 'https://img.freepik.com/premium-psd/mens-bomber-jacket-mockup_1119-1729.jpg?w=996' }, - { id: 2, name: 'green utility jacket', price: 149, image: 'https://img.freepik.com/premium-psd/mens-bomber-jacket-mockup_1119-1729.jpg?w=996' }, - { id: 3, name: 'black leather jacket', price: 199, image: 'https://img.freepik.com/premium-psd/mens-bomber-jacket-mockup_1119-1729.jpg?w=996' }, - { id: 4, name: 'blue aces', price: 99, image: 'https://img.freepik.com/premium-psd/mens-bomber-jacket-mockup_1119-1729.jpg?w=996' }, - { id: 5, name: 'blue birdseye', price: 99, image: 'https://img.freepik.com/premium-psd/mens-bomber-jacket-mockup_1119-1729.jpg?w=996' }, - { id: 6, name: 'blue hydrangea', price: 99, image: 'https://img.freepik.com/premium-psd/mens-bomber-jacket-mockup_1119-1729.jpg?w=996' }, + { id: 1, name: 'red bomber jacket', price: 129, image: 'https://i5.walmartimages.com/seo/Lmtime-Clearance-Men-s-Casual-Blazer-Suit-Jackets-Slim-Fit-Lightweight-Sport-Coat-Business-Coat-Suit-Tops-Jacket-One-Button-Grey-XXL_4277f765-9e49-4ed1-a4b1-c70c71d3d1f0.5c005fe2c8e9d110bfb00216fb52f77b.jpeg?odnHeight=768&odnWidth=768&odnBg=FFFFFF' }, + { id: 2, name: 'green utility jacket', price: 149, image: 'https://i5.walmartimages.com/seo/Lmtime-Clearance-Men-s-Casual-Blazer-Suit-Jackets-Slim-Fit-Lightweight-Sport-Coat-Business-Coat-Suit-Tops-Jacket-One-Button-Grey-XXL_4277f765-9e49-4ed1-a4b1-c70c71d3d1f0.5c005fe2c8e9d110bfb00216fb52f77b.jpeg?odnHeight=768&odnWidth=768&odnBg=FFFFFF' }, + { id: 3, name: 'black leather jacket', price: 199, image: 'https://i5.walmartimages.com/seo/Lmtime-Clearance-Men-s-Casual-Blazer-Suit-Jackets-Slim-Fit-Lightweight-Sport-Coat-Business-Coat-Suit-Tops-Jacket-One-Button-Grey-XXL_4277f765-9e49-4ed1-a4b1-c70c71d3d1f0.5c005fe2c8e9d110bfb00216fb52f77b.jpeg?odnHeight=768&odnWidth=768&odnBg=FFFFFF' }, + { id: 4, name: 'blue aces', price: 99, image: 'https://i5.walmartimages.com/seo/Lmtime-Clearance-Men-s-Casual-Blazer-Suit-Jackets-Slim-Fit-Lightweight-Sport-Coat-Business-Coat-Suit-Tops-Jacket-One-Button-Grey-XXL_4277f765-9e49-4ed1-a4b1-c70c71d3d1f0.5c005fe2c8e9d110bfb00216fb52f77b.jpeg?odnHeight=768&odnWidth=768&odnBg=FFFFFF' }, + { id: 5, name: 'blue birdseye', price: 99, image: 'https://i5.walmartimages.com/seo/Lmtime-Clearance-Men-s-Casual-Blazer-Suit-Jackets-Slim-Fit-Lightweight-Sport-Coat-Business-Coat-Suit-Tops-Jacket-One-Button-Grey-XXL_4277f765-9e49-4ed1-a4b1-c70c71d3d1f0.5c005fe2c8e9d110bfb00216fb52f77b.jpeg?odnHeight=768&odnWidth=768&odnBg=FFFFFF' }, + { id: 6, name: 'blue hydrangea', price: 99, image: 'https://i5.walmartimages.com/seo/Lmtime-Clearance-Men-s-Casual-Blazer-Suit-Jackets-Slim-Fit-Lightweight-Sport-Coat-Business-Coat-Suit-Tops-Jacket-One-Button-Grey-XXL_4277f765-9e49-4ed1-a4b1-c70c71d3d1f0.5c005fe2c8e9d110bfb00216fb52f77b.jpeg?odnHeight=768&odnWidth=768&odnBg=FFFFFF' }, ]; const JacketsProductList = () => { diff --git a/src/components/categories/ProductRow.jsx b/src/components/categories/ProductRow.jsx index f4b34d2..6206920 100644 --- a/src/components/categories/ProductRow.jsx +++ b/src/components/categories/ProductRow.jsx @@ -2,7 +2,7 @@ import React, { useMemo } from 'react'; import PropTypes from 'prop-types'; import '../../styles/ProductList.css'; -const ProductRow = ({ className = "", image17, shirts, onClick, propLeft, propTop }) => { +const ProductRow = ({ className = "", image17, shirts, price, onClick, propLeft, propTop }) => { const productRowStyle = useMemo(() => { return { left: propLeft, @@ -12,7 +12,7 @@ const ProductRow = ({ className = "", image17, shirts, onClick, propLeft, propTo return (
{shirts} -
-
+
+
{shirts}
+
+ ${price} +
- {/* Customize Button */} + + edit measurements + + + +
- - - Back to Measurements +
); }; diff --git a/src/components/customize/Customize.jsx b/src/components/customize/Customize.jsx index fa763fd..7c1abe1 100644 --- a/src/components/customize/Customize.jsx +++ b/src/components/customize/Customize.jsx @@ -128,7 +128,7 @@ const Customize = () => { {productImage ? ( Product ) : ( -

Loading image...

+

Loading image...

)} diff --git a/src/components/customize/SetMeasurements.jsx b/src/components/customize/SetMeasurements.jsx index f53e914..1d38e1c 100644 --- a/src/components/customize/SetMeasurements.jsx +++ b/src/components/customize/SetMeasurements.jsx @@ -1,9 +1,8 @@ import React, { useState } from 'react'; -import { useNavigate, Link } from 'react-router-dom'; // Add Link here +import { useNavigate, Link } from 'react-router-dom'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { faChevronLeft } from '@fortawesome/free-solid-svg-icons'; import Sidebar from '../sidebar/Sidebar'; -// import '../../styles/Measurements.css'; const SetMeasurements = () => { const [selectedOption, setSelectedOption] = useState('standard'); @@ -26,13 +25,13 @@ const SetMeasurements = () => {
- + -

Set Measurements

+

set measurements

-
-
+
+
diff --git a/src/components/customize/StandardMeasurements.jsx b/src/components/customize/StandardMeasurements.jsx index 98a8b05..cd80f26 100644 --- a/src/components/customize/StandardMeasurements.jsx +++ b/src/components/customize/StandardMeasurements.jsx @@ -27,7 +27,7 @@ const StandardMeasurements = () => { Product

blue aces

diff --git a/src/components/order/OrderList.jsx b/src/components/order/OrderList.jsx new file mode 100644 index 0000000..e69de29 diff --git a/src/components/order/ViewOrders.jsx b/src/components/order/ViewOrders.jsx deleted file mode 100644 index e570761..0000000 --- a/src/components/order/ViewOrders.jsx +++ /dev/null @@ -1,7 +0,0 @@ -import React from 'react'; - -const ViewOrders = () => { - return
View Orders Page
; -}; - -export default ViewOrders; diff --git a/src/components/sidebar/EmployeeSidebar.jsx b/src/components/sidebar/EmployeeSidebar.jsx index 5c31da8..28491ba 100644 --- a/src/components/sidebar/EmployeeSidebar.jsx +++ b/src/components/sidebar/EmployeeSidebar.jsx @@ -47,10 +47,10 @@ const EmployeeSidebar = () => { Add Customer - + Orders - + Profile
diff --git a/src/styles/AdminDashboard.css b/src/styles/AdminDashboard.css index 4c32157..02e5afe 100644 --- a/src/styles/AdminDashboard.css +++ b/src/styles/AdminDashboard.css @@ -40,7 +40,7 @@ .dashboard-main-content { width: 100%; - max-width: 768px; + max-width: 400px; text-align: center; } diff --git a/src/styles/EmployeeDashboard.css b/src/styles/EmployeeDashboard.css index 4c32157..02e5afe 100644 --- a/src/styles/EmployeeDashboard.css +++ b/src/styles/EmployeeDashboard.css @@ -40,7 +40,7 @@ .dashboard-main-content { width: 100%; - max-width: 768px; + max-width: 400px; text-align: center; }