Skip to content

Commit

Permalink
Merge pull request #1365 from Tanmay-Mirgal/main
Browse files Browse the repository at this point in the history
Bug fixed on main,contact and dashbaord page
  • Loading branch information
codervivek5 authored Jun 16, 2024
2 parents a1c85d1 + 981b26d commit cadb472
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 20 deletions.
16 changes: 13 additions & 3 deletions Front-with-React/VigyBag/src/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,22 @@ import {
createBrowserRouter,
createRoutesFromElements,
} from 'react-router-dom';
import Categories from './pages/Categories';
import Categories from './pages/Categories/Categories';
import Login from './pages/Login/Login';
import Toys from './pages/gifts/Toys';
import DecorativeItems from './pages/Category/DecorativeItems';
import AboutUs from './pages/About/AboutUs';
import Gifts from './pages/gifts/Gifts';
import Contact from './pages/Contact';
import Dashboard from './pages/Dashboard';
import Contact from './pages/Contacts/Contact';
import Dashboard from './pages/Dashboard/Dashboard';
import Home from './pages/Home/Home';
import Layout from './Layout';
import Team from './components/Team/Team';
import Confirmation from './pages/Confirmation/Confirmation'
import Cancellation from './pages/Cancellation/Cancellation'
import OrderDetails from './pages/Order/Orderdetails';
import MyOrders from './pages/Order/MyOrders';
import BambooProducts from './pages/ProductsPage/BambooProducts';

const router = createBrowserRouter(
createRoutesFromElements(
Expand All @@ -42,6 +47,11 @@ const router = createBrowserRouter(
<Route path="team" element={<Team />} />
<Route path="login" element={<Login />} />
<Route path="dashboard" element={<Dashboard />} />
<Route path="confirm" element={<Confirmation />} />
<Route path="cancel" element={<Cancellation />} />
<Route path="orderDetails" element={<OrderDetails/>} />
<Route path="myOrders" element={<MyOrders/>} />
<Route path="bambooProducts" element={<BambooProducts/>} />
</Route>,
),
);
Expand Down
2 changes: 1 addition & 1 deletion Front-with-React/VigyBag/src/pages/Contacts/Contact.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { FaEnvelope, FaPhone } from 'react-icons/fa';
import Logo from '../assets/offical_logo.png';
import Logo from '../../assets/offical_logo.png';

const ContactForm = () => {
return (
Expand Down
32 changes: 16 additions & 16 deletions Front-with-React/VigyBag/src/pages/Dashboard/Dashboard.jsx
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
import React, { useState } from 'react';
import granola from '../assets/granola.jpg';
import cuttery from '../assets/cuttery-set.jpg';
import basket from '../assets/basket.png';
import shawls from '../assets/shawals.jpg';
import notebooks from '../assets/eco-friendly-notebooks.jpeg';
import toothbrushes from '../assets/Bamboo-Toothbrush-Set.jpeg';
import towels from '../assets/Organic Cotton Towels.jpg';
import shoppingBags from '../assets/Reusable-Shopping-Bags.jpeg';
import phoneCase from '../assets/Biodegradable-Phone-Case.jpeg';
import journals from '../assets/Recycled-Paper-Journals.webp';
import waterBottle from '../assets/Glass-Water-Bottle.webp';
import teaSet from '../assets/Organic-Tea-Set.webp';
import granola from '../../assets/granola.jpg';
import cuttery from '../../assets/cuttery-set.jpg';
import basket from '../../assets/basket.png';
import shawls from '../../assets/shawals.jpg';
import notebooks from '../../assets/eco-friendly-notebooks.jpeg';
import toothbrushes from '../../assets/Bamboo-Toothbrush-Set.jpeg';
import towels from '../../assets/Organic Cotton Towels.jpg';
import shoppingBags from '../../assets/Reusable-Shopping-Bags.jpeg';
import phoneCase from '../../assets/Biodegradable-Phone-Case.jpeg';
import journals from '../../assets/Recycled-Paper-Journals.webp';
import waterBottle from '../../assets/Glass-Water-Bottle.webp';
import teaSet from '../../assets/Organic-Tea-Set.webp';
import { FaSearch } from 'react-icons/fa';
import carryBag from '../assets/vigybag-carry-bag.png';
import profile from '../assets/profile.png';
import ProductCard from '../components/ProductCard/ProductCard';
import Aside from '../components/Aside/Aside';
import carryBag from '../../assets/vigybag-carry-bag.png';
import profile from '../../assets/profile.png';
import ProductCard from '../../components/ProductCard/ProductCard';
import Aside from '../../components/Aside/Aside';

const Dashboard = () => {

Expand Down

0 comments on commit cadb472

Please sign in to comment.