React JS
23
.gitignore
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
||||
|
||||
# dependencies
|
||||
/node_modules
|
||||
/.pnp
|
||||
.pnp.js
|
||||
|
||||
# testing
|
||||
/coverage
|
||||
|
||||
# production
|
||||
/build
|
||||
|
||||
# misc
|
||||
.DS_Store
|
||||
.env.local
|
||||
.env.development.local
|
||||
.env.test.local
|
||||
.env.production.local
|
||||
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
68
README.md
Normal file
@ -0,0 +1,68 @@
|
||||
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.<br />
|
||||
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
|
||||
|
||||
The page will reload if you make edits.<br />
|
||||
You will also see any lint errors in the console.
|
||||
|
||||
### `npm test`
|
||||
|
||||
Launches the test runner in the interactive watch mode.<br />
|
||||
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
|
||||
|
||||
### `npm run build`
|
||||
|
||||
Builds the app for production to the `build` folder.<br />
|
||||
It correctly bundles React in production mode and optimizes the build for the best performance.
|
||||
|
||||
The build is minified and the filenames include the hashes.<br />
|
||||
Your app is ready to be deployed!
|
||||
|
||||
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
|
||||
|
||||
### `npm run eject`
|
||||
|
||||
**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
|
||||
|
||||
If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
|
||||
|
||||
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
|
||||
|
||||
You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
|
||||
|
||||
## Learn More
|
||||
|
||||
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
|
||||
|
||||
To learn React, check out the [React documentation](https://reactjs.org/).
|
||||
|
||||
### Code Splitting
|
||||
|
||||
This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting
|
||||
|
||||
### Analyzing the Bundle Size
|
||||
|
||||
This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size
|
||||
|
||||
### Making a Progressive Web App
|
||||
|
||||
This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app
|
||||
|
||||
### Advanced Configuration
|
||||
|
||||
This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration
|
||||
|
||||
### Deployment
|
||||
|
||||
This section has moved here: https://facebook.github.io/create-react-app/docs/deployment
|
||||
|
||||
### `npm run build` fails to minify
|
||||
|
||||
This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify
|
15322
package-lock.json
generated
Normal file
37
package.json
Normal file
@ -0,0 +1,37 @@
|
||||
{
|
||||
"name": "reactjs",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@testing-library/jest-dom": "^4.2.4",
|
||||
"@testing-library/react": "^9.5.0",
|
||||
"@testing-library/user-event": "^7.2.1",
|
||||
"react": "^16.13.1",
|
||||
"react-dom": "^16.13.1",
|
||||
"react-scripts": "3.4.1"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "react-scripts start",
|
||||
"build": "react-scripts build",
|
||||
"test": "react-scripts test",
|
||||
"eject": "react-scripts eject"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"extends": "react-app"
|
||||
},
|
||||
"browserslist": {
|
||||
"production": [
|
||||
">0.2%",
|
||||
"not dead",
|
||||
"not op_mini all"
|
||||
],
|
||||
"development": [
|
||||
"last 1 chrome version",
|
||||
"last 1 firefox version",
|
||||
"last 1 safari version"
|
||||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
"http-proxy-middleware": "^1.0.3"
|
||||
}
|
||||
}
|
324
public/css/style.css
Normal file
@ -0,0 +1,324 @@
|
||||
|
||||
|
||||
.card-product:after {
|
||||
content: "";
|
||||
display: table;
|
||||
clear: both;
|
||||
visibility: hidden; }
|
||||
.card-product .price-new, .card-product .price {
|
||||
|
||||
margin-right: 5px; }
|
||||
.card-product .price-old {
|
||||
color: #999; }
|
||||
.card-product .img-wrap {
|
||||
border-radius: 3px 3px 0 0;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
height: 220px;
|
||||
text-align: center; }
|
||||
.card-product .img-wrap img {
|
||||
max-height: 100%;
|
||||
max-width: 100%;
|
||||
object-fit: cover; }
|
||||
|
||||
.card-product .info-wrap {
|
||||
overflow: hidden;
|
||||
padding: 15px;
|
||||
border-top: 1px solid #eee; }
|
||||
.card-product .action-wrap {
|
||||
padding-top: 4px;
|
||||
margin-top: 4px; }
|
||||
.card-product .bottom-wrap {
|
||||
padding: 15px;
|
||||
border-top: 1px solid #eee; }
|
||||
.card-product .title {
|
||||
margin-top: 0; }
|
||||
#flipkart-navbar {
|
||||
background-color: #2874f0;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.row1{
|
||||
padding-top: 10px;
|
||||
padding-right: 50px;
|
||||
}
|
||||
|
||||
.row2 {
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
.flipkart-navbar-input {
|
||||
padding: 11px 16px;
|
||||
border-radius: 2px 0 0 2px;
|
||||
border: 0 none;
|
||||
outline: 0 none;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.flipkart-navbar-button {
|
||||
background-color: #ffe11b;
|
||||
border: 1px solid #ffe11b;
|
||||
border-radius: 0 2px 2px 0;
|
||||
color: #565656;
|
||||
padding: 10px 0;
|
||||
height: 43px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.cart-button {
|
||||
background-color: #2469d9;
|
||||
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .23), inset 1px 1px 0 0 hsla(0, 0%, 100%, .2);
|
||||
padding: 10px 0;
|
||||
text-align: center;
|
||||
height: 41px;
|
||||
border-radius: 2px;
|
||||
font-weight: 500;
|
||||
width: 120px;
|
||||
display: inline-block;
|
||||
color: #FFFFFF;
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
border: none;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.cart-button:hover{
|
||||
text-decoration: none;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.cart-svg {
|
||||
display: inline-block;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
vertical-align: middle;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.item-number {
|
||||
border-radius: 3px;
|
||||
background-color: rgba(0, 0, 0, .1);
|
||||
height: 20px;
|
||||
padding: 3px 6px;
|
||||
font-weight: 500;
|
||||
display: inline-block;
|
||||
color: #fff;
|
||||
line-height: 12px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.upper-links {
|
||||
display: inline-block;
|
||||
padding: 0 11px;
|
||||
line-height: 23px;
|
||||
font-family: 'Roboto', sans-serif;
|
||||
letter-spacing: 0;
|
||||
color: inherit;
|
||||
border: none;
|
||||
outline: none;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.dropdown {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
.dropdown:hover {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.dropdown:hover .links {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.dropdown:hover .dropdown-menu {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.dropdown .dropdown-menu {
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
display: none;
|
||||
background-color: #fff;
|
||||
color: #333;
|
||||
left: 0px;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
box-shadow: 0 4px 8px -3px #555454;
|
||||
margin: 0;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.links {
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.links:hover {
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.profile-links {
|
||||
font-size: 12px;
|
||||
font-family: 'Roboto', sans-serif;
|
||||
border-bottom: 1px solid #e9e9e9;
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
padding: 0 11px;
|
||||
line-height: 23px;
|
||||
}
|
||||
|
||||
.profile-li{
|
||||
padding-top: 2px;
|
||||
}
|
||||
|
||||
.largenav {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.smallnav{
|
||||
display: block;
|
||||
}
|
||||
|
||||
.smallsearch{
|
||||
margin-left: 15px;
|
||||
margin-top: 15px;
|
||||
|
||||
}
|
||||
|
||||
.menu{
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 768px) {
|
||||
.largenav {
|
||||
display: block;
|
||||
}
|
||||
.smallnav{
|
||||
display: none;
|
||||
}
|
||||
.smallsearch{
|
||||
margin: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
/*Sidenav*/
|
||||
.sidenav {
|
||||
height: 100%;
|
||||
width: 0;
|
||||
position: fixed;
|
||||
z-index: 1;
|
||||
top: 0;
|
||||
left: 0;
|
||||
background-color: #fff;
|
||||
overflow-x: hidden;
|
||||
transition: 0.5s;
|
||||
box-shadow: 0 4px 8px -3px #555454;
|
||||
padding-top: 0px;
|
||||
}
|
||||
|
||||
.sidenav a {
|
||||
padding: 8px 8px 8px 32px;
|
||||
text-decoration: none;
|
||||
font-size: 25px;
|
||||
color: #818181;
|
||||
display: block;
|
||||
transition: 0.3s
|
||||
}
|
||||
|
||||
.sidenav .closebtn {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 25px;
|
||||
font-size: 36px;
|
||||
margin-left: 50px;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
@media screen and (max-height: 450px) {
|
||||
.sidenav a {font-size: 18px;}
|
||||
}
|
||||
|
||||
.sidenav-heading{
|
||||
font-size: 36px;
|
||||
color: #fff;
|
||||
}
|
||||
/* Footer */
|
||||
@import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');
|
||||
section {
|
||||
padding: 60px 0;
|
||||
}
|
||||
|
||||
section .section-title {
|
||||
text-align: center;
|
||||
color: #2874f0;
|
||||
margin-bottom: 50px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
#footer {
|
||||
background: #2874f0 !important;
|
||||
}
|
||||
#footer h5{
|
||||
padding-left: 10px;
|
||||
border-left: 3px solid #eeeeee;
|
||||
padding-bottom: 6px;
|
||||
margin-bottom: 20px;
|
||||
color:#ffffff;
|
||||
}
|
||||
#footer a {
|
||||
color: #ffffff;
|
||||
text-decoration: none !important;
|
||||
background-color: transparent;
|
||||
-webkit-text-decoration-skip: objects;
|
||||
}
|
||||
#footer ul.social li{
|
||||
padding: 3px 0;
|
||||
}
|
||||
#footer ul.social li a i {
|
||||
margin-right: 5px;
|
||||
font-size:25px;
|
||||
-webkit-transition: .5s all ease;
|
||||
-moz-transition: .5s all ease;
|
||||
transition: .5s all ease;
|
||||
}
|
||||
#footer ul.social li:hover a i {
|
||||
font-size:30px;
|
||||
margin-top:-10px;
|
||||
}
|
||||
#footer ul.social li a,
|
||||
#footer ul.quick-links li a{
|
||||
color:#ffffff;
|
||||
}
|
||||
#footer ul.social li a:hover{
|
||||
color:#eeeeee;
|
||||
}
|
||||
#footer ul.quick-links li{
|
||||
padding: 3px 0;
|
||||
-webkit-transition: .5s all ease;
|
||||
-moz-transition: .5s all ease;
|
||||
transition: .5s all ease;
|
||||
}
|
||||
#footer ul.quick-links li:hover{
|
||||
padding: 3px 0;
|
||||
margin-left:5px;
|
||||
font-weight:700;
|
||||
}
|
||||
#footer ul.quick-links li a i{
|
||||
margin-right: 5px;
|
||||
}
|
||||
#footer ul.quick-links li:hover a i {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
@media (max-width:767px){
|
||||
#footer h5 {
|
||||
padding-left: 0;
|
||||
border-left: transparent;
|
||||
padding-bottom: 0px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
}
|
BIN
public/favicon.ico
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
public/img/1.jpg
Normal file
After Width: | Height: | Size: 146 KiB |
BIN
public/img/2020-04-29WIN_20200228_17_05_06_Pro.jpg
Normal file
After Width: | Height: | Size: 143 KiB |
BIN
public/img/2020-04-29javaagent_sample.png
Normal file
After Width: | Height: | Size: 60 KiB |
After Width: | Height: | Size: 7.5 KiB |
BIN
public/img/2020-04-30800px-ChoeungEk-Darter-8.jpg
Normal file
After Width: | Height: | Size: 148 KiB |
BIN
public/img/2020-04-30800px-Choeungek2.JPG
Normal file
After Width: | Height: | Size: 125 KiB |
After Width: | Height: | Size: 233 KiB |
BIN
public/img/2020-04-30800px-Khmer_rouge_clothing.jpg
Normal file
After Width: | Height: | Size: 88 KiB |
BIN
public/img/2020-04-30Panthéon_May_12,_1960.jpg
Normal file
After Width: | Height: | Size: 319 KiB |
BIN
public/img/2020-05-01800px-ChoeungEk-Darter-8.jpg
Normal file
After Width: | Height: | Size: 148 KiB |
BIN
public/img/bg-light.jpg
Normal file
After Width: | Height: | Size: 45 KiB |
BIN
public/img/burger-bg.jpg
Normal file
After Width: | Height: | Size: 134 KiB |
BIN
public/img/cheff.jpg
Normal file
After Width: | Height: | Size: 45 KiB |
41
public/img/curl-brn.svg
Normal file
@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg version="1.1" id="Objects" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 41.2 13.7" enable-background="new 0 0 41.2 13.7" xml:space="preserve">
|
||||
<g>
|
||||
<path fill="#410A00" d="M11.8,9.4c0,0,0,0-0.1,0.1c-0.1,0.1-0.2,0.1-0.3,0.3c-0.3,0.2-0.7,0.5-1.3,0.8c-0.3,0.1-0.7,0.2-1.1,0.3
|
||||
C8.5,10.9,8.1,11,7.6,11c-0.5,0-1-0.1-1.5-0.3C5.6,10.5,5,10.2,4.6,9.9C4.1,9.5,3.6,9,3.2,8.5C3.1,8.2,2.9,7.9,2.8,7.6
|
||||
C2.7,7.4,2.6,7.3,2.6,7.1l0-0.1l0,0l0,0c0,0,0,0,0,0l0-0.1l0-0.2C2.3,5.8,2.4,5,2.6,4.3c0.1-0.4,0.3-0.7,0.5-1.1
|
||||
c0.1-0.2,0.2-0.3,0.4-0.5l0.2-0.2l0.2-0.2c0.6-0.6,1.3-1,2.2-1.2l0.1,0l0,0l0.1,0l0,0l0.1,0L6.6,1c0.2,0,0.4-0.1,0.7-0.1
|
||||
c0.4,0,0.8,0,1.2,0.1c0.8,0.1,1.6,0.4,2.3,0.7c0.7,0.3,1.4,0.7,2.1,1.1c0.3,0.2,0.6,0.4,1,0.6c0.3,0.2,0.6,0.4,0.9,0.6
|
||||
c0.6,0.4,1.2,0.8,1.8,1.3c0.6,0.4,1.2,0.9,1.8,1.3c0.6,0.4,1.2,0.8,1.7,1.2c1.1,0.8,2.2,1.5,3.3,2.2c0.3,0.2,0.5,0.3,0.8,0.5
|
||||
c0.3,0.2,0.5,0.3,0.8,0.4c0.5,0.3,1,0.5,1.5,0.7c0.2,0.1,0.5,0.1,0.7,0.2c0.1,0,0.1,0,0.2,0c0.1,0,0.1,0,0.2,0c0.1,0,0.1,0,0.2,0
|
||||
c0.1,0,0.1,0,0.2,0c0.5,0,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svg
Normal file
@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg version="1.1" id="Objects" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 41.2 13.7" enable-background="new 0 0 41.2 13.7" xml:space="preserve">
|
||||
<g>
|
||||
<path fill="#F6BC13" d="M11.8,9.4c0,0,0,0-0.1,0.1c-0.1,0.1-0.2,0.1-0.3,0.3c-0.3,0.2-0.7,0.5-1.3,0.8c-0.3,0.1-0.7,0.2-1.1,0.3
|
||||
C8.5,10.9,8.1,11,7.6,11c-0.5,0-1-0.1-1.5-0.3C5.6,10.5,5,10.2,4.6,9.9C4.1,9.5,3.6,9,3.2,8.5C3.1,8.2,2.9,7.9,2.8,7.6
|
||||
C2.7,7.4,2.6,7.3,2.6,7.1l0-0.1l0,0l0,0c0,0,0,0,0,0l0-0.1l0-0.2C2.3,5.8,2.4,5,2.6,4.3c0.1-0.4,0.3-0.7,0.5-1.1
|
||||
c0.1-0.2,0.2-0.3,0.4-0.5l0.2-0.2l0.2-0.2c0.6-0.6,1.3-1,2.2-1.2l0.1,0l0,0l0.1,0l0,0l0.1,0L6.6,1c0.2,0,0.4-0.1,0.7-0.1
|
||||
c0.4,0,0.8,0,1.2,0.1c0.8,0.1,1.6,0.4,2.3,0.7c0.7,0.3,1.4,0.7,2.1,1.1c0.3,0.2,0.6,0.4,1,0.6c0.3,0.2,0.6,0.4,0.9,0.6
|
||||
c0.6,0.4,1.2,0.8,1.8,1.3c0.6,0.4,1.2,0.9,1.8,1.3c0.6,0.4,1.2,0.8,1.7,1.2c1.1,0.8,2.2,1.5,3.3,2.2c0.3,0.2,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.9-0.3-1.3-0.4c-0.9-0.1-1.6,0-2.2,0.1c-0.6,0.2-1.1,0.4-1.4,0.5c-0.2,0.1-0.3,0.1-0.4,0.2
|
||||
C29.4,4.3,29.4,4.3,29.4,4.3z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 4.2 KiB |
BIN
public/img/default.jpg
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
public/img/dessert.jpg
Normal file
After Width: | Height: | Size: 235 KiB |
BIN
public/img/drinks.jpg
Normal file
After Width: | Height: | Size: 246 KiB |
BIN
public/img/event1.jpg
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
public/img/event2.jpg
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
public/img/event3.jpg
Normal file
After Width: | Height: | Size: 72 KiB |
BIN
public/img/happy-hour.jpg
Normal file
After Width: | Height: | Size: 415 KiB |
111
public/img/logo-light.svg
Normal file
@ -0,0 +1,111 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 199 85" enable-background="new 0 0 199 85" xml:space="preserve">
|
||||
<g>
|
||||
<g>
|
||||
<path fill="#FFFFFF" d="M69.2,31.8c0-0.2,0-0.4,0-0.6c-0.2,0-0.5,0-0.7,0L69.2,31.8z"/>
|
||||
<polygon fill="#FFFFFF" points="99.3,10.3 99.3,10.3 99.3,10.3 "/>
|
||||
<path fill="#FFFFFF" d="M124.6,30.8c-0.7,0-1.5,0-2.2,0l-7.7,0.1l-3.8,0.1c-1.3,0-2.6,0.1-3.8,0.1l-7.7,0.2l-3.8,0.1
|
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36.2
|
||||
c1,0,1.1,1.1,1.1,1.8c0,2.3-2.1,4.9-5.1,4.9C168.2,39.8,169.7,36.2,171.5,36.2z"/>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#F6BC13" d="M90.1,19.8c0,0.6-0.6-0.1-1.8-0.1c-1.2,0-1.8,0.7-1.8,0.1c0-0.5,0.8-0.9,1.8-0.8
|
||||
C89.3,18.9,90.2,19.2,90.1,19.8z"/>
|
||||
<path fill="#F6BC13" d="M90.1,19.8c0,0.6-0.6-0.1-1.8-0.1c-1.2,0-1.8,0.7-1.8,0.1c0-0.5,0.8-0.9,1.8-0.8
|
||||
C89.3,18.9,90.2,19.2,90.1,19.8z"/>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#F6BC13" d="M101.1,15.8c0,0.6-0.6-0.1-1.8-0.1c-1.2,0-1.8,0.7-1.8,0.1c0-0.5,0.8-0.9,1.8-0.8
|
||||
C100.3,14.9,101.1,15.2,101.1,15.8z"/>
|
||||
<path fill="#F6BC13" d="M101.1,15.8c0,0.6-0.6-0.1-1.8-0.1c-1.2,0-1.8,0.7-1.8,0.1c0-0.5,0.8-0.9,1.8-0.8
|
||||
C100.3,14.9,101.1,15.2,101.1,15.8z"/>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#F6BC13" d="M101.1,22.6c0,0.6-0.6-0.1-1.8-0.1c-1.2,0-1.8,0.7-1.8,0.1c0-0.5,0.8-0.9,1.8-0.8
|
||||
C100.3,21.7,101.1,22,101.1,22.6z"/>
|
||||
<path fill="#F6BC13" d="M101.1,22.6c0,0.6-0.6-0.1-1.8-0.1c-1.2,0-1.8,0.7-1.8,0.1c0-0.5,0.8-0.9,1.8-0.8
|
||||
C100.3,21.7,101.1,22,101.1,22.6z"/>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#F6BC13" d="M111.8,19.8c0,0.6-0.6-0.1-1.8-0.1c-1.2,0-1.8,0.7-1.8,0.1c0-0.5,0.8-0.9,1.8-0.8
|
||||
C110.9,18.9,111.8,19.2,111.8,19.8z"/>
|
||||
<path fill="#F6BC13" d="M111.8,19.8c0,0.6-0.6-0.1-1.8-0.1c-1.2,0-1.8,0.7-1.8,0.1c0-0.5,0.8-0.9,1.8-0.8
|
||||
C110.9,18.9,111.8,19.2,111.8,19.8z"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 10 KiB |
BIN
public/img/menu-main.jpg
Normal file
After Width: | Height: | Size: 243 KiB |
5
public/img/preload.svg
Normal file
@ -0,0 +1,5 @@
|
||||
<svg width="50px" height="50px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid" class="lds-dual-ring" style="background: none;">
|
||||
<circle cx="50" cy="50" ng-attr-r="{{config.radius}}" ng-attr-stroke-width="{{config.width}}" ng-attr-stroke="{{config.stroke}}" ng-attr-stroke-dasharray="{{config.dasharray}}" fill="none" stroke-linecap="round" r="40" stroke-width="4" stroke="#f6bc13" stroke-dasharray="62.83185307179586 62.83185307179586" transform="rotate(18 50 50)">
|
||||
<animateTransform attributeName="transform" type="rotate" calcMode="linear" values="0 50 50;360 50 50" keyTimes="0;1" dur="1s" begin="0s" repeatCount="indefinite"></animateTransform>
|
||||
</circle>
|
||||
</svg>
|
After Width: | Height: | Size: 724 B |
BIN
public/img/profile.jpg
Normal file
After Width: | Height: | Size: 158 KiB |
BIN
public/img/slider-1.jpg
Normal file
After Width: | Height: | Size: 37 KiB |
BIN
public/img/slider-2.jpg
Normal file
After Width: | Height: | Size: 126 KiB |
BIN
public/img/slider-3.jpg
Normal file
After Width: | Height: | Size: 74 KiB |
1
public/img/undraw_posting_photo.svg
Normal file
After Width: | Height: | Size: 36 KiB |
BIN
public/img/user.png
Normal file
After Width: | Height: | Size: 5.8 KiB |
50
public/index.html
Normal file
@ -0,0 +1,50 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="icon" href="%PUBLIC_URL%/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 Bootstrap to internet -->
|
||||
<link rel="stylesheet" href="/css/style.css">
|
||||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
|
||||
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
|
||||
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
|
||||
|
||||
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
|
||||
<!--
|
||||
manifest.json provides metadata used when your web app is installed on a
|
||||
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
||||
-->
|
||||
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
||||
<!--
|
||||
Notice the use of %PUBLIC_URL% in the tags above.
|
||||
It will be replaced with the URL of the `public` folder during the build.
|
||||
Only files inside the `public` folder can be referenced from the HTML.
|
||||
|
||||
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
|
||||
work correctly both with client-side routing and a non-root public URL.
|
||||
Learn how to configure a non-root public URL by running `npm run build`.
|
||||
-->
|
||||
<title>React App</title>
|
||||
</head>
|
||||
<body>
|
||||
<noscript>You need to enable JavaScript to run this app.</noscript>
|
||||
<div id="root" class="container"></div>
|
||||
<!--
|
||||
This HTML file is a template.
|
||||
If you open it directly in the browser, you will see an empty page.
|
||||
|
||||
You can add webfonts, meta tags, or analytics to this file.
|
||||
The build step will place the bundled scripts into the <body> tag.
|
||||
|
||||
To begin the development, run `npm start` or `yarn start`.
|
||||
To create a production bundle, use `npm run build` or `yarn build`.
|
||||
-->
|
||||
</body>
|
||||
</html>
|
BIN
public/logo192.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
public/logo512.png
Normal file
After Width: | Height: | Size: 9.4 KiB |
25
public/manifest.json
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
"short_name": "React App",
|
||||
"name": "Create React App Sample",
|
||||
"icons": [
|
||||
{
|
||||
"src": "favicon.ico",
|
||||
"sizes": "64x64 32x32 24x24 16x16",
|
||||
"type": "image/x-icon"
|
||||
},
|
||||
{
|
||||
"src": "logo192.png",
|
||||
"type": "image/png",
|
||||
"sizes": "192x192"
|
||||
},
|
||||
{
|
||||
"src": "logo512.png",
|
||||
"type": "image/png",
|
||||
"sizes": "512x512"
|
||||
}
|
||||
],
|
||||
"start_url": ".",
|
||||
"display": "standalone",
|
||||
"theme_color": "#000000",
|
||||
"background_color": "#ffffff"
|
||||
}
|
3
public/robots.txt
Normal file
@ -0,0 +1,3 @@
|
||||
# https://www.robotstxt.org/robotstxt.html
|
||||
User-agent: *
|
||||
Disallow:
|
38
src/App.css
Normal file
@ -0,0 +1,38 @@
|
||||
.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);
|
||||
}
|
||||
}
|
26
src/App.js
Normal file
@ -0,0 +1,26 @@
|
||||
import React from 'react';
|
||||
import logo from './logo.svg';
|
||||
import './App.css';
|
||||
|
||||
function App() {
|
||||
return (
|
||||
<div className="App">
|
||||
<header className="App-header">
|
||||
<img src={logo} className="App-logo" alt="logo" />
|
||||
<p>
|
||||
Edit <code>src/App.js</code> and save to reload.
|
||||
</p>
|
||||
<a
|
||||
className="App-link"
|
||||
href="https://reactjs.org"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
Learn React
|
||||
</a>
|
||||
</header>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default App;
|
9
src/App.test.js
Normal file
@ -0,0 +1,9 @@
|
||||
import React from 'react';
|
||||
import { render } from '@testing-library/react';
|
||||
import App from './App';
|
||||
|
||||
test('renders learn react link', () => {
|
||||
const { getByText } = render(<App />);
|
||||
const linkElement = getByText(/learn react/i);
|
||||
expect(linkElement).toBeInTheDocument();
|
||||
});
|
12
src/Button.js
Normal file
@ -0,0 +1,12 @@
|
||||
import React from 'react';
|
||||
|
||||
export default class Button extends React.Component{
|
||||
|
||||
render(){
|
||||
return (
|
||||
<button type='submit' id="btn" onClick={this.show} onMouseEnter={this.mouseOver}>
|
||||
Click Me
|
||||
</button>
|
||||
)
|
||||
}
|
||||
}
|
10
src/Footer.js
Normal file
@ -0,0 +1,10 @@
|
||||
// import React from 'react'
|
||||
// import Footer from ''
|
||||
|
||||
// export default class Footer extends React.Component{
|
||||
// render(){
|
||||
// return(
|
||||
|
||||
// )
|
||||
// }
|
||||
// }
|
29
src/Navbar.js
Normal file
@ -0,0 +1,29 @@
|
||||
import React from 'react';
|
||||
|
||||
export default class Navbar extends React.Component{
|
||||
|
||||
render(){
|
||||
|
||||
return (
|
||||
|
||||
<nav className="navbar navbar-expand-lg navbar-light bg-light" id="id">
|
||||
<a className="navbar-brand" href="www.facebook.com">
|
||||
<img src="/logo192.png" width="30" height="30" alt="" />
|
||||
</a>
|
||||
|
||||
<div className="collapse navbar-collapse" id="navbarSupportedContent">
|
||||
<ul className="navbar-nav mr-auto">
|
||||
<li className="nav-item active">
|
||||
<a className="nav-link" href="www.facebook.com">Home <span className="sr-only">(current)</span></a>
|
||||
</li>
|
||||
</ul>
|
||||
<form className="form-inline my-2 my-lg-0">
|
||||
<input className="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search" />
|
||||
<button className="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
|
||||
</form>
|
||||
</div>
|
||||
</nav>
|
||||
)
|
||||
|
||||
}
|
||||
}
|
25
src/NextPagePrevious.js
Normal file
@ -0,0 +1,25 @@
|
||||
import React from 'react';
|
||||
|
||||
export default class NextPagePrevious extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
<div className="text-center">
|
||||
<nav aria-label="..." style={{display: "inline-block"}}>
|
||||
<ul className="pagination">
|
||||
<li className="page-item disabled">
|
||||
<a className="page-link" href="#id" tabIndex="-1">Previous</a>
|
||||
</li>
|
||||
<li className="page-item"><a className="page-link" href="#id">1</a></li>
|
||||
<li className="page-item active">
|
||||
<a className="page-link" href="#id">2 <span className="sr-only">(current)</span></a>
|
||||
</li>
|
||||
<li className="page-item"><a className="page-link" href="#id">3</a></li>
|
||||
<li className="page-item">
|
||||
<a className="page-link" href="#id">Next</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
}
|
68
src/ProductCard.js
Normal file
@ -0,0 +1,68 @@
|
||||
import React from 'react';
|
||||
|
||||
export default class ProductCard extends React.Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
this.state = {
|
||||
error: null,
|
||||
isLoaded: false,
|
||||
items: []
|
||||
};
|
||||
}
|
||||
componentDidMount() {
|
||||
fetch('http://localhost:8081/api/product/findAll')
|
||||
.then(response => response.json())
|
||||
.then(json => {
|
||||
this.setState({
|
||||
isLoaded: true,
|
||||
items: json.data,
|
||||
})
|
||||
})
|
||||
}
|
||||
addRow=(e)=>{
|
||||
var obj={
|
||||
id: e.target.dataset.id,
|
||||
price: e.target.dataset.price,
|
||||
name: e.target.dataset.name,
|
||||
img: e.target.dataset.img
|
||||
}
|
||||
|
||||
alert(obj.id+" "+obj.name+" "+" $"+obj.price+" "+obj.img)
|
||||
}
|
||||
render() {
|
||||
var { isLoaded, items } = this.state;
|
||||
if (!isLoaded)
|
||||
return <p>Loading.......</p>
|
||||
else {
|
||||
return (
|
||||
<div className="row">
|
||||
{items.map(items => (
|
||||
<div className="col-md-3 col-sm-4 col-6" key={items.id}>
|
||||
<figure className="card card-product">
|
||||
<div className="img-wrap">
|
||||
<img src={"/img/" + items.img} alt="hello" />
|
||||
{/* <a className="btn-overlay" href="#id"><i class="fa fa-search-plus" ></i> Quick view</a> */}
|
||||
</div>
|
||||
<figcaption className="info-wrap">
|
||||
<h6 className="title text-dots"><a href="www.facebook.com">{items.name}</a></h6>
|
||||
<div className="action-wrap">
|
||||
{/* <button type="button" className="btn btn-primary btn-sm float-right"> Order </button> */}
|
||||
<button type="button" className="btn btn-primary btn-sm float-right"
|
||||
onClick={this.addRow} data-price={items.price} data-name={items.name} data-id={items.id} data-img={items.img}>Order </button>
|
||||
<div className="price-wrap h5">
|
||||
<span className="price-new">
|
||||
$ {items.price}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</figcaption>
|
||||
</figure>
|
||||
</div>
|
||||
))}
|
||||
|
||||
</div>
|
||||
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
35
src/Slider.js
Normal file
@ -0,0 +1,35 @@
|
||||
import React from 'react';
|
||||
|
||||
export default class Slider extends React.Component{
|
||||
|
||||
render(){
|
||||
return (
|
||||
<div id="carouselExampleIndicators" className="carousel slide" data-ride="carousel" style={{marginBottom:10+"px"}}>
|
||||
<ol className="carousel-indicators">
|
||||
<li data-target="#carouselExampleIndicators" data-slide-to="0" className="active"></li>
|
||||
<li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
|
||||
<li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
|
||||
</ol>
|
||||
<div className="carousel-inner">
|
||||
<div className="carousel-item active">
|
||||
<img className="d-block w-100" src="/img/slider-1.jpg" alt="First slide"/>
|
||||
</div>
|
||||
<div className="carousel-item">
|
||||
<img className="d-block w-100" src="/img/slider-2.jpg" alt="Second slide" />
|
||||
</div>
|
||||
<div className="carousel-item">
|
||||
<img className="d-block w-100" src="/img/slider-3.jpg" alt="Third slide" />
|
||||
</div>
|
||||
</div>
|
||||
<a className="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
|
||||
<span className="carousel-control-prev-icon" aria-hidden="true"></span>
|
||||
<span className="sr-only">Previous</span>
|
||||
</a>
|
||||
<a className="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
|
||||
<span className="carousel-control-next-icon" aria-hidden="true"></span>
|
||||
<span className="sr-only">Next</span>
|
||||
</a>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
}
|
13
src/index.css
Normal file
@ -0,0 +1,13 @@
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
|
||||
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
|
||||
sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
|
||||
monospace;
|
||||
}
|
23
src/index.js
Normal file
@ -0,0 +1,23 @@
|
||||
import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
import './index.css';
|
||||
import Narbar from './Navbar';
|
||||
import Slider from './Slider';
|
||||
import ProductCard from './ProductCard';
|
||||
import NextPagePrevious from './NextPagePrevious';
|
||||
import * as serviceWorker from './serviceWorker';
|
||||
|
||||
ReactDOM.render(
|
||||
<React.StrictMode>
|
||||
<Narbar />
|
||||
<Slider />
|
||||
<ProductCard />
|
||||
<NextPagePrevious />
|
||||
</React.StrictMode>,
|
||||
document.getElementById('root')
|
||||
);
|
||||
|
||||
// If you want your app to work offline and load faster, you can change
|
||||
// unregister() to register() below. Note this comes with some pitfalls.
|
||||
// Learn more about service workers: https://bit.ly/CRA-PWA
|
||||
serviceWorker.unregister();
|
7
src/logo.svg
Normal file
@ -0,0 +1,7 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 841.9 595.3">
|
||||
<g fill="#61DAFB">
|
||||
<path d="M666.3 296.5c0-32.5-40.7-63.3-103.1-82.4 14.4-63.6 8-114.2-20.2-130.4-6.5-3.8-14.1-5.6-22.4-5.6v22.3c4.6 0 8.3.9 11.4 2.6 13.6 7.8 19.5 37.5 14.9 75.7-1.1 9.4-2.9 19.3-5.1 29.4-19.6-4.8-41-8.5-63.5-10.9-13.5-18.5-27.5-35.3-41.6-50 32.6-30.3 63.2-46.9 84-46.9V78c-27.5 0-63.5 19.6-99.9 53.6-36.4-33.8-72.4-53.2-99.9-53.2v22.3c20.7 0 51.4 16.5 84 46.6-14 14.7-28 31.4-41.3 49.9-22.6 2.4-44 6.1-63.6 11-2.3-10-4-19.7-5.2-29-4.7-38.2 1.1-67.9 14.6-75.8 3-1.8 6.9-2.6 11.5-2.6V78.5c-8.4 0-16 1.8-22.6 5.6-28.1 16.2-34.4 66.7-19.9 130.1-62.2 19.2-102.7 49.9-102.7 82.3 0 32.5 40.7 63.3 103.1 82.4-14.4 63.6-8 114.2 20.2 130.4 6.5 3.8 14.1 5.6 22.5 5.6 27.5 0 63.5-19.6 99.9-53.6 36.4 33.8 72.4 53.2 99.9 53.2 8.4 0 16-1.8 22.6-5.6 28.1-16.2 34.4-66.7 19.9-130.1 62-19.1 102.5-49.9 102.5-82.3zm-130.2-66.7c-3.7 12.9-8.3 26.2-13.5 39.5-4.1-8-8.4-16-13.1-24-4.6-8-9.5-15.8-14.4-23.4 14.2 2.1 27.9 4.7 41 7.9zm-45.8 106.5c-7.8 13.5-15.8 26.3-24.1 38.2-14.9 1.3-30 2-45.2 2-15.1 0-30.2-.7-45-1.9-8.3-11.9-16.4-24.6-24.2-38-7.6-13.1-14.5-26.4-20.8-39.8 6.2-13.4 13.2-26.8 20.7-39.9 7.8-13.5 15.8-26.3 24.1-38.2 14.9-1.3 30-2 45.2-2 15.1 0 30.2.7 45 1.9 8.3 11.9 16.4 24.6 24.2 38 7.6 13.1 14.5 26.4 20.8 39.8-6.3 13.4-13.2 26.8-20.7 39.9zm32.3-13c5.4 13.4 10 26.8 13.8 39.8-13.1 3.2-26.9 5.9-41.2 8 4.9-7.7 9.8-15.6 14.4-23.7 4.6-8 8.9-16.1 13-24.1zM421.2 430c-9.3-9.6-18.6-20.3-27.8-32 9 .4 18.2.7 27.5.7 9.4 0 18.7-.2 27.8-.7-9 11.7-18.3 22.4-27.5 32zm-74.4-58.9c-14.2-2.1-27.9-4.7-41-7.9 3.7-12.9 8.3-26.2 13.5-39.5 4.1 8 8.4 16 13.1 24 4.7 8 9.5 15.8 14.4 23.4zM420.7 163c9.3 9.6 18.6 20.3 27.8 32-9-.4-18.2-.7-27.5-.7-9.4 0-18.7.2-27.8.7 9-11.7 18.3-22.4 27.5-32zm-74 58.9c-4.9 7.7-9.8 15.6-14.4 23.7-4.6 8-8.9 16-13 24-5.4-13.4-10-26.8-13.8-39.8 13.1-3.1 26.9-5.8 41.2-7.9zm-90.5 125.2c-35.4-15.1-58.3-34.9-58.3-50.6 0-15.7 22.9-35.6 58.3-50.6 8.6-3.7 18-7 27.7-10.1 5.7 19.6 13.2 40 22.5 60.9-9.2 20.8-16.6 41.1-22.2 60.6-9.9-3.1-19.3-6.5-28-10.2zM310 490c-13.6-7.8-19.5-37.5-14.9-75.7 1.1-9.4 2.9-19.3 5.1-29.4 19.6 4.8 41 8.5 63.5 10.9 13.5 18.5 27.5 35.3 41.6 50-32.6 30.3-63.2 46.9-84 46.9-4.5-.1-8.3-1-11.3-2.7zm237.2-76.2c4.7 38.2-1.1 67.9-14.6 75.8-3 1.8-6.9 2.6-11.5 2.6-20.7 0-51.4-16.5-84-46.6 14-14.7 28-31.4 41.3-49.9 22.6-2.4 44-6.1 63.6-11 2.3 10.1 4.1 19.8 5.2 29.1zm38.5-66.7c-8.6 3.7-18 7-27.7 10.1-5.7-19.6-13.2-40-22.5-60.9 9.2-20.8 16.6-41.1 22.2-60.6 9.9 3.1 19.3 6.5 28.1 10.2 35.4 15.1 58.3 34.9 58.3 50.6-.1 15.7-23 35.6-58.4 50.6zM320.8 78.4z"/>
|
||||
<circle cx="420.9" cy="296.5" r="45.7"/>
|
||||
<path d="M520.5 78.1z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.6 KiB |
141
src/serviceWorker.js
Normal file
@ -0,0 +1,141 @@
|
||||
// This optional code is used to register a service worker.
|
||||
// register() is not called by default.
|
||||
|
||||
// This lets the app load faster on subsequent visits in production, and gives
|
||||
// it offline capabilities. However, it also means that developers (and users)
|
||||
// will only see deployed updates on subsequent visits to a page, after all the
|
||||
// existing tabs open on the page have been closed, since previously cached
|
||||
// resources are updated in the background.
|
||||
|
||||
// To learn more about the benefits of this model and instructions on how to
|
||||
// opt-in, read https://bit.ly/CRA-PWA
|
||||
|
||||
const isLocalhost = Boolean(
|
||||
window.location.hostname === 'localhost' ||
|
||||
// [::1] is the IPv6 localhost address.
|
||||
window.location.hostname === '[::1]' ||
|
||||
// 127.0.0.0/8 are considered localhost for IPv4.
|
||||
window.location.hostname.match(
|
||||
/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/
|
||||
)
|
||||
);
|
||||
|
||||
export function register(config) {
|
||||
if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {
|
||||
// The URL constructor is available in all browsers that support SW.
|
||||
const publicUrl = new URL(process.env.PUBLIC_URL, window.location.href);
|
||||
if (publicUrl.origin !== window.location.origin) {
|
||||
// Our service worker won't work if PUBLIC_URL is on a different origin
|
||||
// from what our page is served on. This might happen if a CDN is used to
|
||||
// serve assets; see https://github.com/facebook/create-react-app/issues/2374
|
||||
return;
|
||||
}
|
||||
|
||||
window.addEventListener('load', () => {
|
||||
const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;
|
||||
|
||||
if (isLocalhost) {
|
||||
// This is running on localhost. Let's check if a service worker still exists or not.
|
||||
checkValidServiceWorker(swUrl, config);
|
||||
|
||||
// Add some additional logging to localhost, pointing developers to the
|
||||
// service worker/PWA documentation.
|
||||
navigator.serviceWorker.ready.then(() => {
|
||||
console.log(
|
||||
'This web app is being served cache-first by a service ' +
|
||||
'worker. To learn more, visit https://bit.ly/CRA-PWA'
|
||||
);
|
||||
});
|
||||
} else {
|
||||
// Is not localhost. Just register service worker
|
||||
registerValidSW(swUrl, config);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function registerValidSW(swUrl, config) {
|
||||
navigator.serviceWorker
|
||||
.register(swUrl)
|
||||
.then(registration => {
|
||||
registration.onupdatefound = () => {
|
||||
const installingWorker = registration.installing;
|
||||
if (installingWorker == null) {
|
||||
return;
|
||||
}
|
||||
installingWorker.onstatechange = () => {
|
||||
if (installingWorker.state === 'installed') {
|
||||
if (navigator.serviceWorker.controller) {
|
||||
// At this point, the updated precached content has been fetched,
|
||||
// but the previous service worker will still serve the older
|
||||
// content until all client tabs are closed.
|
||||
console.log(
|
||||
'New content is available and will be used when all ' +
|
||||
'tabs for this page are closed. See https://bit.ly/CRA-PWA.'
|
||||
);
|
||||
|
||||
// Execute callback
|
||||
if (config && config.onUpdate) {
|
||||
config.onUpdate(registration);
|
||||
}
|
||||
} else {
|
||||
// At this point, everything has been precached.
|
||||
// It's the perfect time to display a
|
||||
// "Content is cached for offline use." message.
|
||||
console.log('Content is cached for offline use.');
|
||||
|
||||
// Execute callback
|
||||
if (config && config.onSuccess) {
|
||||
config.onSuccess(registration);
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
})
|
||||
.catch(error => {
|
||||
console.error('Error during service worker registration:', error);
|
||||
});
|
||||
}
|
||||
|
||||
function checkValidServiceWorker(swUrl, config) {
|
||||
// Check if the service worker can be found. If it can't reload the page.
|
||||
fetch(swUrl, {
|
||||
headers: { 'Service-Worker': 'script' },
|
||||
})
|
||||
.then(response => {
|
||||
// Ensure service worker exists, and that we really are getting a JS file.
|
||||
const contentType = response.headers.get('content-type');
|
||||
if (
|
||||
response.status === 404 ||
|
||||
(contentType != null && contentType.indexOf('javascript') === -1)
|
||||
) {
|
||||
// No service worker found. Probably a different app. Reload the page.
|
||||
navigator.serviceWorker.ready.then(registration => {
|
||||
registration.unregister().then(() => {
|
||||
window.location.reload();
|
||||
});
|
||||
});
|
||||
} else {
|
||||
// Service worker found. Proceed as normal.
|
||||
registerValidSW(swUrl, config);
|
||||
}
|
||||
})
|
||||
.catch(() => {
|
||||
console.log(
|
||||
'No internet connection found. App is running in offline mode.'
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
export function unregister() {
|
||||
if ('serviceWorker' in navigator) {
|
||||
navigator.serviceWorker.ready
|
||||
.then(registration => {
|
||||
registration.unregister();
|
||||
})
|
||||
.catch(error => {
|
||||
console.error(error.message);
|
||||
});
|
||||
}
|
||||
}
|
11
src/setProxy.js
Normal file
@ -0,0 +1,11 @@
|
||||
const proxy=require('http-proxy-middleware');
|
||||
|
||||
module.exports=function(app){
|
||||
app.use(
|
||||
proxy("/findAll",{
|
||||
target:"http://localhost:8081/api/product",
|
||||
changeOrigin: true,
|
||||
secure:false
|
||||
})
|
||||
);
|
||||
};
|
5
src/setupTests.js
Normal file
@ -0,0 +1,5 @@
|
||||
// jest-dom adds custom jest matchers for asserting on DOM nodes.
|
||||
// allows you to do things like:
|
||||
// expect(element).toHaveTextContent(/react/i)
|
||||
// learn more: https://github.com/testing-library/jest-dom
|
||||
import '@testing-library/jest-dom/extend-expect';
|