diff --git a/public/favicon.ico b/public/favicon.ico deleted file mode 100644 index a11777c..0000000 Binary files a/public/favicon.ico and /dev/null differ diff --git a/public/icon.png b/public/icon.png new file mode 100644 index 0000000..4097279 Binary files /dev/null and b/public/icon.png differ diff --git a/public/index.html b/public/index.html index aa069f2..b81f32b 100644 --- a/public/index.html +++ b/public/index.html @@ -2,14 +2,14 @@ - + - + - React App + Graviti diff --git a/public/logo192.png b/public/logo192.png deleted file mode 100644 index fc44b0a..0000000 Binary files a/public/logo192.png and /dev/null differ diff --git a/public/logo512.png b/public/logo512.png deleted file mode 100644 index a4e47a6..0000000 Binary files a/public/logo512.png and /dev/null differ diff --git a/public/manifest.json b/public/manifest.json index 080d6c7..3955ef7 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,19 +1,19 @@ { - "short_name": "React App", - "name": "Create React App Sample", + "short_name": "Graviti", + "name": "Graviti - Push management system and pull customers", "icons": [ { - "src": "favicon.ico", + "src": "icon.png", "sizes": "64x64 32x32 24x24 16x16", "type": "image/x-icon" }, { - "src": "logo192.png", + "src": "icon.png", "type": "image/png", "sizes": "192x192" }, { - "src": "logo512.png", + "src": "icon.png", "type": "image/png", "sizes": "512x512" } diff --git a/public/robots.txt b/public/robots.txt deleted file mode 100644 index e9e57dc..0000000 --- a/public/robots.txt +++ /dev/null @@ -1,3 +0,0 @@ -# https://www.robotstxt.org/robotstxt.html -User-agent: * -Disallow: diff --git a/src/App.css b/src/App.css deleted file mode 100644 index 74b5e05..0000000 --- a/src/App.css +++ /dev/null @@ -1,38 +0,0 @@ -.App { - text-align: center; -} - -.App-logo { - height: 40vmin; - pointer-events: none; -} - -@media (prefers-reduced-motion: no-preference) { - .App-logo { - animation: App-logo-spin infinite 20s linear; - } -} - -.App-header { - background-color: #282c34; - min-height: 100vh; - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - font-size: calc(10px + 2vmin); - color: white; -} - -.App-link { - color: #61dafb; -} - -@keyframes App-logo-spin { - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -} diff --git a/src/Components/Common/Contacts.jsx b/src/Components/Common/Contacts.jsx index 6172625..d3f7e73 100644 --- a/src/Components/Common/Contacts.jsx +++ b/src/Components/Common/Contacts.jsx @@ -3,7 +3,17 @@ import React from 'react' const Contacts = () => { return (
- Contact Us +

Created by:

+

Saee Chormunge

+

Jholline Jepson

+

Cibi Sri Balaji

+

Balaji Senthilkumar

+

Lakshmi Sowmya

+

Sadhana

+

Spoorthy Pateel

+

Bhavya Sri

+

Mohammed Zaid Farooki

+

Om Prakash Gupta

) } diff --git a/src/Components/Common/Navbar.jsx b/src/Components/Common/Navbar.jsx deleted file mode 100644 index 7233861..0000000 --- a/src/Components/Common/Navbar.jsx +++ /dev/null @@ -1,25 +0,0 @@ -import React from "react"; -import { AppBar, Toolbar, Typography, IconButton, Avatar, SvgIcon, Box } from "@mui/material"; -import Logo from '../../Icons/Logo' - -const Navbar = () => { - return ( - theme.zIndex.drawer + 1, // Ensures it stays above the sidebar - }} - > - - - {/* This Box pushes all content to the right */} - - - - - - ); -}; - -export default Navbar; diff --git a/src/Components/Common/Sidebar.jsx b/src/Components/Common/Sidebar.jsx deleted file mode 100644 index 958b28a..0000000 --- a/src/Components/Common/Sidebar.jsx +++ /dev/null @@ -1,64 +0,0 @@ -import React from "react"; -import { Drawer, List, ListItem, ListItemText, ListItemIcon, Box, Divider } from "@mui/material"; -import { Link } from "react-router-dom"; -import { Home, LocalOffer, Sell, Mail, ConfirmationNumber } from "@mui/icons-material"; - -const Sidebar = ({ appBarHeight }) => { - return ( - - - {/* Top Section of Sidebar */} - - - - - - - - - - - - - - - - - - - - - - - {/* Divider and Contact Us Section */} - - - - - - - - - - - - ); -}; - -export default Sidebar; diff --git a/src/Components/Coupons/AddCoupon.jsx b/src/Components/Coupons/AddCoupon.jsx index 9338df6..0580308 100644 --- a/src/Components/Coupons/AddCoupon.jsx +++ b/src/Components/Coupons/AddCoupon.jsx @@ -11,8 +11,7 @@ import { FormControlLabel, Box, Typography, - Paper, - Divider, + Divider } from "@mui/material"; import { Container } from "@mui/system"; diff --git a/src/Components/Coupons/CouponsList.jsx b/src/Components/Coupons/CouponsList.jsx index 7a3e2f6..93d3216 100644 --- a/src/Components/Coupons/CouponsList.jsx +++ b/src/Components/Coupons/CouponsList.jsx @@ -1,7 +1,5 @@ import React from "react"; -import { List, ListItem, ListItemText, ListItemIcon } from "@mui/material"; -import { Link as RouterLink } from "react-router-dom"; -import { ToggleButton, ToggleButtonGroup } from "@mui/material"; +import { List, ListItem } from "@mui/material"; import Switch from "@mui/material/Switch"; const CouponsList = ({ coupons = [], onStatusToggle }) => { diff --git a/src/Components/Coupons/CouponsPage.jsx b/src/Components/Coupons/CouponsPage.jsx index 95f7d34..cea0fe0 100644 --- a/src/Components/Coupons/CouponsPage.jsx +++ b/src/Components/Coupons/CouponsPage.jsx @@ -1,5 +1,5 @@ import React, { useState, useEffect } from "react"; -import { Paper, Button, Typography, Box, Container } from "@mui/material"; +import { Button, Typography, Box, Container } from "@mui/material"; import AddCircleOutlineIcon from "@mui/icons-material/AddCircleOutline"; import CouponsList from "./CouponsList"; import { useNavigate } from "react-router-dom"; diff --git a/src/Components/Offers/AddOffers.jsx b/src/Components/Offers/AddOffers.jsx index a0df5fa..ad205af 100644 --- a/src/Components/Offers/AddOffers.jsx +++ b/src/Components/Offers/AddOffers.jsx @@ -11,8 +11,7 @@ import { FormControlLabel, Box, Typography, - Paper, - Divider, + Divider } from "@mui/material"; import { Container } from "@mui/system"; diff --git a/src/Components/Offers/OffersList.jsx b/src/Components/Offers/OffersList.jsx index c1c0454..4c6fd44 100644 --- a/src/Components/Offers/OffersList.jsx +++ b/src/Components/Offers/OffersList.jsx @@ -1,6 +1,5 @@ import React from "react"; -import { List, ListItem, ListItemText, ListItemIcon } from "@mui/material"; -import { Link as RouterLink } from "react-router-dom"; +import { List, ListItem, ListItemText, ListItemIcon, Switch } from "@mui/material"; const OffersList = ({ offers = [], onStatusToggle }) => { if (offers.length === 0) { @@ -12,8 +11,6 @@ const OffersList = ({ offers = [], onStatusToggle }) => { {offers.map((offer) => ( @@ -39,15 +36,15 @@ const OffersList = ({ offers = [], onStatusToggle }) => { } />
- +
))} diff --git a/src/Components/Offers/OffersPage.jsx b/src/Components/Offers/OffersPage.jsx index 980527b..c35cbe4 100644 --- a/src/Components/Offers/OffersPage.jsx +++ b/src/Components/Offers/OffersPage.jsx @@ -1,6 +1,5 @@ import React, { useState , useEffect} from "react"; import { - Paper, Button, Typography, Box, diff --git a/src/logo.svg b/src/logo.svg deleted file mode 100644 index 9dfc1c0..0000000 --- a/src/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file