Skip to content

Commit 3abb574

Browse files
[starts #187900329] Start User-view-single-product (#11)
* [starts #187900329] Start User-view-single-product * add functionalities * Added layout * Added single asset view * added styling * added-styling * added-stylings
1 parent c571121 commit 3abb574

30 files changed

+987
-11
lines changed

.eslintrc.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,18 @@
4747
"namedComponents": "arrow-function"
4848
}
4949
],
50-
"eol-last": ["warn", "always"],
50+
"eol-last": "off",
5151
"@typescript-eslint/comma-dangle": ["warn", {
5252
"arrays": "only-multiline",
5353
"objects": "only-multiline",
5454
"imports": "only-multiline",
5555
"exports": "only-multiline",
5656
"functions": "only-multiline"
5757
}],
58-
"linebreak-style": ["warn", "unix"],
58+
"linebreak-style": "off",
5959
"no-param-reassign": "off",
60-
"arrow-body-style": ["warn", "as-needed"],
60+
"arrow-body-style": "off",
61+
"@typescript-eslint/semi": "off",
6162
"jsx-a11y/no-static-element-interactions": "off",
6263
"max-len": "off",
6364
"jsx-a11y/label-has-associated-control": ["error", {

build/index.html

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!doctype html><html><head><meta charset="utf-8"/><title>E-Commerce Ninjas FrontEnd</title><script defer="defer" src="main.c05cff687073893a108e.js"></script></head><body><div id="root"></div></body></html>

build/main.c05cff687073893a108e.js

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
/**
2+
* @license React
3+
* react-dom.production.min.js
4+
*
5+
* Copyright (c) Facebook, Inc. and its affiliates.
6+
*
7+
* This source code is licensed under the MIT license found in the
8+
* LICENSE file in the root directory of this source tree.
9+
*/
10+
11+
/**
12+
* @license React
13+
* react.production.min.js
14+
*
15+
* Copyright (c) Facebook, Inc. and its affiliates.
16+
*
17+
* This source code is licensed under the MIT license found in the
18+
* LICENSE file in the root directory of this source tree.
19+
*/
20+
21+
/**
22+
* @license React
23+
* scheduler.production.min.js
24+
*
25+
* Copyright (c) Facebook, Inc. and its affiliates.
26+
*
27+
* This source code is licensed under the MIT license found in the
28+
* LICENSE file in the root directory of this source tree.
29+
*/
30+
31+
/**
32+
* @license React
33+
* use-sync-external-store-with-selector.production.min.js
34+
*
35+
* Copyright (c) Facebook, Inc. and its affiliates.
36+
*
37+
* This source code is licensed under the MIT license found in the
38+
* LICENSE file in the root directory of this source tree.
39+
*/

package-lock.json

+95-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
"ts-jest": "^29.1.5",
8989
"ts-node": "^10.9.2",
9090
"typescript": "^5.5.2",
91+
"url-loader": "^4.1.1",
9192
"webpack": "^5.92.1",
9293
"webpack-cli": "^5.1.4",
9394
"webpack-dev-server": "^5.0.4"

public/assets/0.png

391 KB
Loading

public/assets/1.png

19.6 KB
Loading

public/assets/2.png

14.9 KB
Loading

public/assets/3.png

18.1 KB
Loading

public/assets/4.png

16.6 KB
Loading

public/assets/5.png

16.8 KB
Loading

public/assets/images/user.png

12.1 KB
Loading

src/App.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
@import "./assets/styles/Product.scss";
1717
@import "./assets/styles/Loader.scss";
1818
@import "./assets/styles/reset-password.scss";
19-
19+
@import "./assets/styles/SingleProduct.scss";

src/User.tsx

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/* eslint-disable */
2+
import React from 'react'
3+
import { Outlet } from 'react-router-dom'
4+
import Header from './components/layout/Header'
5+
import Footer from './components/layout/Footer'
6+
7+
const User = () => {
8+
return (
9+
<>
10+
<Header />
11+
<Outlet />
12+
<Footer />
13+
</>
14+
15+
16+
)
17+
}
18+
19+
export default User

0 commit comments

Comments
 (0)