Skip to content

Commit

Permalink
lazy load added
Browse files Browse the repository at this point in the history
  • Loading branch information
SDE-ADNAN committed Jan 6, 2024
1 parent d44d7b3 commit 1099480
Show file tree
Hide file tree
Showing 18 changed files with 136 additions and 21 deletions.
6 changes: 3 additions & 3 deletions admin-client/build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"files": {
"main.css": "/static/css/main.4e78bcf6.css",
"main.js": "/static/js/main.f604a3ab.js",
"main.js": "/static/js/main.7fc3fc03.js",
"static/media/bgfinallight.jpg": "/static/media/bgfinallight.f4b3d7b46e1bc093a76a.jpg",
"static/media/bgfinaldark.jpg": "/static/media/bgfinaldark.4f35c02c1183787aaea8.jpg",
"static/media/add.png": "/static/media/add.90b950d171bb0b3986d1.png",
Expand All @@ -14,10 +14,10 @@
"static/media/subtask.svg": "/static/media/subtask.0aee0a3293406f3c959e65a1925a9502.svg",
"static/media/rightarrow.svg": "/static/media/rightarrow.87f8be47de5397f44ad09947d6186828.svg",
"main.4e78bcf6.css.map": "/static/css/main.4e78bcf6.css.map",
"main.f604a3ab.js.map": "/static/js/main.f604a3ab.js.map"
"main.7fc3fc03.js.map": "/static/js/main.7fc3fc03.js.map"
},
"entrypoints": [
"static/css/main.4e78bcf6.css",
"static/js/main.f604a3ab.js"
"static/js/main.7fc3fc03.js"
]
}
2 changes: 1 addition & 1 deletion admin-client/build/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="manifest" href="/manifest.json"/><title>Todo App</title><script defer="defer" src="/static/js/main.f604a3ab.js"></script><link href="/static/css/main.4e78bcf6.css" rel="stylesheet"></head><body><div id="root"></div><div id="modal-root"></div><div id="loader"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="manifest" href="/manifest.json"/><title>Todo App</title><script defer="defer" src="/static/js/main.7fc3fc03.js"></script><link href="/static/css/main.4e78bcf6.css" rel="stylesheet"></head><body><div id="root"></div><div id="modal-root"></div><div id="loader"></div></body></html>

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions admin-client/build/static/js/main.7fc3fc03.js.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion admin-client/build/static/js/main.f604a3ab.js.map

This file was deleted.

2 changes: 1 addition & 1 deletion admin-client/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ const App: React.FC = () => {

return (
<div className={`main_container ${theme.dark ? 'dark_mode' : 'light_mode'}`}>
{theme.dark ? <div className="image_container"><img src={bgDark} alt='bg'></img></div> : <div className="image_container"><img src={bgLight} alt='bg'></img></div>}
{theme.dark ? <div className="image_container"><img src={bgDark} alt='bg' loading="lazy"></img></div> : <div className="image_container"><img src={bgLight} alt='bg' loading="lazy"></img></div>}
{/* <div className="image_backdrop"></div> */}

<Routes>
Expand Down
6 changes: 3 additions & 3 deletions server/dist/public/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"files": {
"main.css": "/static/css/main.4e78bcf6.css",
"main.js": "/static/js/main.f604a3ab.js",
"main.js": "/static/js/main.7fc3fc03.js",
"static/media/bgfinallight.jpg": "/static/media/bgfinallight.f4b3d7b46e1bc093a76a.jpg",
"static/media/bgfinaldark.jpg": "/static/media/bgfinaldark.4f35c02c1183787aaea8.jpg",
"static/media/add.png": "/static/media/add.90b950d171bb0b3986d1.png",
Expand All @@ -14,10 +14,10 @@
"static/media/subtask.svg": "/static/media/subtask.0aee0a3293406f3c959e65a1925a9502.svg",
"static/media/rightarrow.svg": "/static/media/rightarrow.87f8be47de5397f44ad09947d6186828.svg",
"main.4e78bcf6.css.map": "/static/css/main.4e78bcf6.css.map",
"main.f604a3ab.js.map": "/static/js/main.f604a3ab.js.map"
"main.7fc3fc03.js.map": "/static/js/main.7fc3fc03.js.map"
},
"entrypoints": [
"static/css/main.4e78bcf6.css",
"static/js/main.f604a3ab.js"
"static/js/main.7fc3fc03.js"
]
}
2 changes: 1 addition & 1 deletion server/dist/public/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="manifest" href="/manifest.json"/><title>Todo App</title><script defer="defer" src="/static/js/main.f604a3ab.js"></script><link href="/static/css/main.4e78bcf6.css" rel="stylesheet"></head><body><div id="root"></div><div id="modal-root"></div><div id="loader"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="manifest" href="/manifest.json"/><title>Todo App</title><script defer="defer" src="/static/js/main.7fc3fc03.js"></script><link href="/static/css/main.4e78bcf6.css" rel="stylesheet"></head><body><div id="root"></div><div id="modal-root"></div><div id="loader"></div></body></html>

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions server/dist/public/static/js/main.7fc3fc03.js.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion server/dist/public/static/js/main.f604a3ab.js.map

This file was deleted.

6 changes: 3 additions & 3 deletions server/public/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"files": {
"main.css": "/static/css/main.4e78bcf6.css",
"main.js": "/static/js/main.f604a3ab.js",
"main.js": "/static/js/main.7fc3fc03.js",
"static/media/bgfinallight.jpg": "/static/media/bgfinallight.f4b3d7b46e1bc093a76a.jpg",
"static/media/bgfinaldark.jpg": "/static/media/bgfinaldark.4f35c02c1183787aaea8.jpg",
"static/media/add.png": "/static/media/add.90b950d171bb0b3986d1.png",
Expand All @@ -14,10 +14,10 @@
"static/media/subtask.svg": "/static/media/subtask.0aee0a3293406f3c959e65a1925a9502.svg",
"static/media/rightarrow.svg": "/static/media/rightarrow.87f8be47de5397f44ad09947d6186828.svg",
"main.4e78bcf6.css.map": "/static/css/main.4e78bcf6.css.map",
"main.f604a3ab.js.map": "/static/js/main.f604a3ab.js.map"
"main.7fc3fc03.js.map": "/static/js/main.7fc3fc03.js.map"
},
"entrypoints": [
"static/css/main.4e78bcf6.css",
"static/js/main.f604a3ab.js"
"static/js/main.7fc3fc03.js"
]
}
2 changes: 1 addition & 1 deletion server/public/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="manifest" href="/manifest.json"/><title>Todo App</title><script defer="defer" src="/static/js/main.f604a3ab.js"></script><link href="/static/css/main.4e78bcf6.css" rel="stylesheet"></head><body><div id="root"></div><div id="modal-root"></div><div id="loader"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="manifest" href="/manifest.json"/><title>Todo App</title><script defer="defer" src="/static/js/main.7fc3fc03.js"></script><link href="/static/css/main.4e78bcf6.css" rel="stylesheet"></head><body><div id="root"></div><div id="modal-root"></div><div id="loader"></div></body></html>
3 changes: 3 additions & 0 deletions server/public/static/js/main.7fc3fc03.js

Large diffs are not rendered by default.

111 changes: 111 additions & 0 deletions server/public/static/js/main.7fc3fc03.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* use-sync-external-store-shim.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* use-sync-external-store-shim/with-selector.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @remix-run/router v1.14.1
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/

/**
* React Router DOM v6.21.1
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/

/**
* React Router v6.21.1
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/

/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
1 change: 1 addition & 0 deletions server/public/static/js/main.7fc3fc03.js.map

Large diffs are not rendered by default.

0 comments on commit 1099480

Please sign in to comment.