Skip to content

Commit

Permalink
Merge pull request #28 from kevintamakuwala/#27-pagination
Browse files Browse the repository at this point in the history
#27-pagination
  • Loading branch information
Rushi0508 authored Oct 18, 2023
2 parents f951c00 + 6b31925 commit a5cba6c
Show file tree
Hide file tree
Showing 19 changed files with 194 additions and 43 deletions.
7 changes: 6 additions & 1 deletion components.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
"url" :"react/build/?slider",
"authorName" : "kevintamakuwala",
"imgUrl" : "./images/slider.png"
},
{
"name" : "Pagination",
"url" :"react/build/?pagination",
"authorName" : "kevintamakuwala",
"imgUrl" : "./images/pagination.png"
}

]
26 changes: 0 additions & 26 deletions components/react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,30 +13,4 @@
1. Always explicitly, **build the react project, every-time before committing** `npm run build`. Only then your changes will be reflected in static build.
2. Make sure the Urls in package.json and Layout.jsx are production friendly, as mentioned earlier. (Refer code for more understanding).

## Use "npm start" in react-components directory to start the react project.
## This React Project contains all the react based components. This project can be viewed [http://localhost:3000](http://localhost:3000) followed by the SLUG (Endpoint) of the components.
## Multiple other components can be created in the pages directory of this project. The "Layout" page holds the list of components made in react.
## Error page holds error message for invalid request.
## Routes are present in app.js file.
------------------------------------------------------------------

# Getting Started with Create React App

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

## Available Scripts

In the project directory, you can run:

### `npm start`

Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.

The page will reload when you make changes.\
You may also see any lint errors in the console.

### `npm test`

Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
12 changes: 6 additions & 6 deletions components/react/build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"files": {
"main.css": "/Frontend-Treasure/components/react/build/static/css/main.7c33173d.css",
"main.js": "/Frontend-Treasure/components/react/build/static/js/main.02646e9a.js",
"main.css": "/Frontend-Treasure/components/react/build/static/css/main.693f2cad.css",
"main.js": "/Frontend-Treasure/components/react/build/static/js/main.7087bd13.js",
"index.html": "/Frontend-Treasure/components/react/build/index.html",
"main.7c33173d.css.map": "/Frontend-Treasure/components/react/build/static/css/main.7c33173d.css.map",
"main.02646e9a.js.map": "/Frontend-Treasure/components/react/build/static/js/main.02646e9a.js.map"
"main.693f2cad.css.map": "/Frontend-Treasure/components/react/build/static/css/main.693f2cad.css.map",
"main.7087bd13.js.map": "/Frontend-Treasure/components/react/build/static/js/main.7087bd13.js.map"
},
"entrypoints": [
"static/css/main.7c33173d.css",
"static/js/main.02646e9a.js"
"static/css/main.693f2cad.css",
"static/js/main.7087bd13.js"
]
}
2 changes: 1 addition & 1 deletion components/react/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"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="React Components"/><link rel="manifest" href="/Frontend-Treasure/components/react/build/manifest.json"/><title>React Components</title><script defer="defer" src="/Frontend-Treasure/components/react/build/static/js/main.02646e9a.js"></script><link href="/Frontend-Treasure/components/react/build/static/css/main.7c33173d.css" rel="stylesheet"></head><body><noscript>React Based Components</noscript><div id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="React Components"/><link rel="manifest" href="/Frontend-Treasure/components/react/build/manifest.json"/><title>React Components</title><script defer="defer" src="/Frontend-Treasure/components/react/build/static/js/main.7087bd13.js"></script><link href="/Frontend-Treasure/components/react/build/static/css/main.693f2cad.css" rel="stylesheet"></head><body><noscript>React Based Components</noscript><div id="root"></div></body></html>

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions components/react/build/static/css/main.693f2cad.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a5cba6c

Please sign in to comment.