├── public ├── _redirects ├── robots.txt ├── favicon.ico ├── logo192.png ├── logo512.png ├── images │ ├── image.png │ ├── carosel │ │ ├── 1.jpg │ │ ├── 3.jpg │ │ ├── 4.jpg │ │ ├── 5.jpg │ │ └── 2.jpeg │ ├── mamber-1.png │ ├── mamber-2.jpeg │ └── mamber-3.png ├── manifest.json └── index.html ├── src ├── Component │ ├── Dashboard │ │ ├── CheckoutForm.js │ │ ├── Laptop.js │ │ ├── Dashboard.js │ │ ├── Payment.js │ │ ├── AllUsers.js │ │ ├── Profile.js │ │ ├── AddProduct.js │ │ ├── ManageProduct.js │ │ ├── Orders.js │ │ └── AllOrders.js │ ├── RequireAuth │ │ ├── RequireAdmin.js │ │ └── RequireAuth.js │ ├── Images │ │ ├── banner.jpg │ │ ├── loader.gif │ │ └── person.png │ ├── Shared │ │ ├── ConfirmMoadl.js │ │ └── useDate.js │ ├── Loading │ │ └── Loading.js │ ├── Hook │ │ └── useUser.js │ ├── Firebase │ │ └── firebase.init.js │ ├── Product │ │ ├── ProductCard.js │ │ ├── LaptopCard.js │ │ ├── AllProduct.js │ │ ├── Product.js │ │ ├── ProductDetails.js │ │ └── Order.js │ ├── Review │ │ ├── ReviewCard.js │ │ ├── Reviews.js │ │ └── AddReview.js │ ├── Portfolio │ │ ├── PortfolioCard.js │ │ └── Portfolio.js │ ├── Team │ │ └── Team.js │ ├── Footer │ │ └── Footer.js │ ├── User │ │ ├── Social.js │ │ ├── Login.js │ │ └── Register.js │ ├── Home │ │ ├── Slider.js │ │ └── Home.js │ ├── Blog │ │ └── Blog.js │ ├── About │ │ └── About.js │ ├── Contact │ │ └── Contact.js │ └── Navbar │ │ └── Navbar.js ├── setupTests.js ├── App.test.js ├── index.css ├── reportWebVitals.js ├── App.css ├── index.js ├── logo.svg └── App.js ├── README.md ├── tailwind.config.js ├── .gitignore └── package.json /public/_redirects: -------------------------------------------------------------------------------- 1 | /* /index.html 200 -------------------------------------------------------------------------------- /src/Component/Dashboard/CheckoutForm.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Component/RequireAuth/RequireAdmin.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | robotstxt 5 | -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazrat-Ali9/Institutional-Development-Plan/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazrat-Ali9/Institutional-Development-Plan/HEAD/public/logo192.png -------------------------------------------------------------------------------- /public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazrat-Ali9/Institutional-Development-Plan/HEAD/public/logo512.png -------------------------------------------------------------------------------- /public/images/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazrat-Ali9/Institutional-Development-Plan/HEAD/public/images/image.png -------------------------------------------------------------------------------- /public/images/carosel/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazrat-Ali9/Institutional-Development-Plan/HEAD/public/images/carosel/1.jpg -------------------------------------------------------------------------------- /public/images/carosel/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazrat-Ali9/Institutional-Development-Plan/HEAD/public/images/carosel/3.jpg -------------------------------------------------------------------------------- /public/images/carosel/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazrat-Ali9/Institutional-Development-Plan/HEAD/public/images/carosel/4.jpg -------------------------------------------------------------------------------- /public/images/carosel/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazrat-Ali9/Institutional-Development-Plan/HEAD/public/images/carosel/5.jpg -------------------------------------------------------------------------------- /public/images/mamber-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazrat-Ali9/Institutional-Development-Plan/HEAD/public/images/mamber-1.png -------------------------------------------------------------------------------- /public/images/mamber-2.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazrat-Ali9/Institutional-Development-Plan/HEAD/public/images/mamber-2.jpeg -------------------------------------------------------------------------------- /public/images/mamber-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazrat-Ali9/Institutional-Development-Plan/HEAD/public/images/mamber-3.png -------------------------------------------------------------------------------- /public/images/carosel/2.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazrat-Ali9/Institutional-Development-Plan/HEAD/public/images/carosel/2.jpeg -------------------------------------------------------------------------------- /src/Component/Images/banner.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazrat-Ali9/Institutional-Development-Plan/HEAD/src/Component/Images/banner.jpg -------------------------------------------------------------------------------- /src/Component/Images/loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazrat-Ali9/Institutional-Development-Plan/HEAD/src/Component/Images/loader.gif -------------------------------------------------------------------------------- /src/Component/Images/person.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazrat-Ali9/Institutional-Development-Plan/HEAD/src/Component/Images/person.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Project Name : Mobile Shop 2 | 3 | # Live Site : hazrat-ali-mobileshop.vercel.app 4 | 5 | # Hazrat Ali 6 | 7 | # Dept of CSE 8 | 9 | # 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/Component/Shared/ConfirmMoadl.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | 3 | const ConfirmMoadl = () => { 4 | return ( 5 |
Price : ${price}
15 |Quantity : {quantity} p
16 |{description.length > 100 ? description.slice(0, 100) + "...." : description}
17 |{review?.date}
21 |{review?.desc?.length > 110 ? review.desc.slice(0,230)+'....' : review.desc}
24 |Price : ${price}
15 |Quantity : {quantity} p
16 |{description.length > 100 ? description.slice(0, 100) + "...." : description}
17 |Price : ${data.price}
36 |Quantity : {data.quantity} p
37 |Min Order : {data.quantity > 300 ? 300 : data.quantity} p
38 |{data.description}
39 | 40 | 41 |
13 | I am Hazrat Ali. I am studied BSC in CSE
*/} 40 |41 | Hello I'm Hazrat Ali.I am currently pursuing BSC in CSE. I want to 42 | be a Software Engineer in near future.Now I am currently a MERN 43 | Stack Developer and I have passion in Web technologies. I am a fast 44 | learner and I am confident about myself.I believe I can face 45 | chanllenges of this always changing tech industry.I am looking 46 | forward to face the upcoming challenges. Talking about my hobby I 47 | love to read books related to programming and I love to develop 48 | things with programming languages.Thanks for visiting my profile. 49 | 50 |
51 | 52 |41 | We Provide All Type Of Mobile Parts And Accessories 42 |
43 | 46 | 47 |If you’re benchmarking or experiencing performance problems in your React apps, make sure you’re testing with the minified production build.
9 |10 | By default, React includes many helpful warnings. These warnings are very useful in development. However, they make React larger and slower so you should make sure to use the production version when you deploy the app. 11 |
12 |23 | Every object with its methods and properties contains an internal and hidden property known as [[Prototype]]. The Prototypal Inheritance is a feature in javascript used to add methods and properties in objects. It is a method by which an object can inherit the properties and methods of another object. Traditionally, in order to get and set the [[Prototype]] of an object, we use Object.getPrototypeOf and Object.setPrototypeOf. Nowadays, in modern language, it is being set using __proto__ 24 |
25 | 26 |30 | { 31 | ` 32 | he state starts as { count: 0 }, and we increment state.count when the user clicks a button by calling this.setState(). We’ll use snippets from this class throughout the page. 33 | ` 34 | } 35 |
37 |
38 | {
39 | `
40 | const [count, setCount] = useState(0)
41 | //For Changer This Value of Count !
42 | we Can Use setCount(4545)
43 | Now value Of Count is 4545
44 | `
45 | }
46 |
47 | 9 | MT-Bike's-Accesories.com is a new breed of motorcycle community. Providing the best experience of today's online shopping mall enhanced with useful features and categories tailored to motorcycle enthusiasts of all types, MT-Bike's-Accesories.com is an open platform for the exchange of everything related to motorcycle. 10 |
11 |12 | The MT-Bike's-Accesories.com team is made up of passionate motorcyclists with a lust for technology. Both having unlimited power to enrich our lives, there was never a question as to whether or not it makes sense to combine our love of motorcycles with technology. 13 |
14 |15 | At the heart of MT-Bike's-Accesories.com is a platform developed from the ground up to provide a community environment where the spread of daily maintenance needs, upgrades, gears and accessories, useful informational support, integration ideas and technological knowledge sharing is paramount. The spirit of MT-Bike's-Accesories.com lives in the community, so making connections with other like-minded riders is easy and the more you interact, the more that wealth of information, integration, ideas and knowledge grows and becomes more and more relevant to your own interests. 16 |
17 |18 | You don't have to buy anything to enjoy MT-Bike's-Accesories.com, but we do encourage participation from everyone and know that you'll get more out of the experience if you do. 19 |
20 |21 | You don't have to own or even ride a motorcycle to participate in MT-Bike's-Accesories.com, but of course we advocate that everyone should get out there and do it. You know when you want to and it's always everything you think 22 |
23 |Vision
24 |A united, integrated, enlightened, passionate, empowered and liberated community of motorcyclists – basically a Republic of Bikers
25 |Mission
26 |To develop a community of passionate motorcycle users with a view to
27 |{user?.email}
53 || 61 | | Avater | 62 |Name | 63 |Make Admin | 65 |Remove User | 66 ||
|---|---|---|---|---|---|
| {index + 1} | 73 |
74 |
75 |
79 |
76 |
78 | |
80 | {user.name} | 81 |{user.email} | 82 |83 | 84 | | 85 |86 | 87 | | 88 |
| Avater | 115 |Name | 116 |Make Admin | 118 |Remove User | 119 ||
|---|---|---|---|---|
|
127 |
128 |
132 |
129 |
131 | |
133 | {user.name} | 134 |{user.email} | 135 |136 | 137 | | 138 |139 | 140 | | 141 |
| 40 | | Image | 41 |Name | 42 |Price Per Product | 43 |Quantity | 44 |Actions | 45 |
|---|---|---|---|---|---|
| {index + 1} | 52 |
53 |
54 |
58 |
55 |
57 | |
59 | {product.name} | 60 |${product.price} | 61 |{product.quantity}p | 62 |
63 |
64 |
69 |
72 |
73 | |
74 |
| 66 | | Image | 67 |Name | 68 |Price Per Product | 69 |Price Total | 70 |Quantity | 71 |Phone | 73 |Actions | 74 ||
|---|---|---|---|---|---|---|---|---|
| {index + 1} | 81 |
82 |
83 |
87 |
84 |
86 | |
88 | {product.name.slice(0,30)} | 89 |${product.price} | 90 |${product.totalPrice} | 91 |{product.quantity}p | 92 |{product.email} | 93 |{product.phone} | 94 |
95 |
96 | {
97 | product.position === "paid" ?
98 |
111 | Processing.. 99 | : 100 | 104 | 105 | } 106 | { 107 | product.position === "paid" ?Trans Id : {product.paymentInfo.transactionId} 108 | : 109 | } 110 | |
112 |
| 84 | | Image | 85 |Name | 86 |Price Per Product | 87 |Price Total | 88 |Quantity | 89 |Phone | 91 |Actions | 92 ||
|---|---|---|---|---|---|---|---|---|
| {index + 1} | 99 |
100 |
101 |
105 |
102 |
104 | |
106 | {product.name.slice(0,30)} | 107 |${product.price} | 108 |${product.totalPrice} | 109 |{product.quantity}p | 110 |{product.email} | 111 |{product.phone} | 112 |
113 |
114 | {
115 | product.position !== "shipped" ?
116 | <>
117 | {
118 | product.position === "paid" ?
119 | <>
148 | Processing.. 120 |Trans Id : {product.paymentInfo.transactionId} 121 | 122 | > 123 | 124 | : 125 | <> 126 | Buy Now 127 | {/* */} 131 | 132 | > 133 | 134 | } 135 | 136 | { 137 | product.position === "paid" ? <>> 138 | : 139 | } 140 | > 141 | : 142 | <> 143 | 144 | > 145 | } 146 | 147 | |
149 |