Skip to content

Commit 29e9d93

Browse files
authored
Merge pull request #18 from SyncfusionExamples/EJ2-946605-hotel-mas
946605: Need to implement UI team suggested changes in hotel booking
2 parents affb10e + b0fd72b commit 29e9d93

File tree

23 files changed

+533
-579
lines changed

23 files changed

+533
-579
lines changed
File renamed without changes.

Hotel-booking-App/index.html

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<!DOCTYPE html>
2+
<html>
3+
4+
<head>
5+
<meta charset="UTF-8" />
6+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
7+
<meta name="description" content="Essential JS 2 for React - Samples template">
8+
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
9+
<title>Essential JS 2 for React - Hotel room booking application</title>
10+
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" />
11+
<link rel="preconnect" href="https://fonts.googleapis.com">
12+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
13+
<link
14+
href="https://fonts.googleapis.com/css2?family=Jersey+15&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Rubik+Vinyl&display=swap"
15+
rel="stylesheet">
16+
</head>
17+
18+
<body>
19+
<div id="content-area"></div>
20+
</body>
21+
22+
</html>

Hotel-booking-App/package.json

Lines changed: 30 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,41 @@
11
{
2-
"name": "react-app",
3-
"version": "0.1.0",
4-
"private": true,
5-
"homepage": ".",
2+
"name": "@syncfusion/ej2-react-hotel-room-reserve",
3+
"version": "1.0.0",
4+
"description": "Essential JS 2 - Hotel room booking application",
5+
"author": "Syncfusion Inc.",
6+
"license": "SEE LICENSE IN license",
7+
"scripts": {
8+
"start": "webpack-dev-server --open --mode development",
9+
"build": "webpack --mode production",
10+
"ci-publish": "gulp publish-sample"
11+
},
12+
"devDependencies": {
13+
"@types/node": "^20.4.1",
14+
"@types/react": "^18.2.14",
15+
"@types/react-dom": "^18.2.6",
16+
"@types/react-router-dom": "^5.3.3",
17+
"css-loader": "^6.8.1",
18+
"html-webpack-plugin": "^5.5.3",
19+
"mini-css-extract-plugin": "^2.7.6",
20+
"terser-webpack-plugin": "^5.3.9",
21+
"ts-loader": "^9.4.4",
22+
"typescript": "^5.1.6",
23+
"webpack": "^5.88.1",
24+
"webpack-cli": "^5.1.4",
25+
"webpack-dev-server": "^4.15.1",
26+
"copy-webpack-plugin": "^12.0.2"
27+
},
628
"dependencies": {
7-
"@babel/plugin-transform-runtime": "^7.23.4",
8-
"@babel/preset-env": "^7.23.3",
9-
"@babel/preset-react": "^7.23.3",
10-
"@babel/preset-typescript": "^7.23.3",
11-
"@headlessui/react": "^1.7.15",
12-
"@heroicons/react": "^2.0.18",
29+
"react": "^18.2.0",
30+
"react-dom": "^18.2.0",
31+
"react-router-dom": "^6.14.1",
1332
"@syncfusion/ej2-react-grids": "*",
1433
"@syncfusion/ej2-react-calendars": "*",
1534
"@syncfusion/ej2-react-buttons": "*",
1635
"@syncfusion/ej2-react-popups": "*",
1736
"@syncfusion/ej2-react-inputs": "*",
1837
"@syncfusion/ej2-react-dropdowns": "*",
1938
"@syncfusion/ej2-react-navigations": "*",
20-
"@syncfusion/ej2-react-maps": "*",
21-
"@testing-library/jest-dom": "^5.16.5",
22-
"@testing-library/react": "^13.4.0",
23-
"@testing-library/user-event": "^13.5.0",
24-
"@types/jest": "^27.5.2",
25-
"@types/node": "^16.18.23",
26-
"@types/numeral": "^2.0.2",
27-
"@types/react": "^18.0.37",
28-
"@types/react-dom": "^18.0.11",
29-
"axios": "^1.4.0",
30-
"babel-plugin-inline-react-svg": "^2.0.2",
31-
"babel-plugin-transform-decorators": "^6.24.1",
32-
"buffer": "^6.0.3",
33-
"formik": "^2.4.2",
34-
"moment": "^2.29.4",
35-
"numeral": "^2.0.6",
36-
"react": "^18.2.0",
37-
"react-dom": "^18.2.0",
38-
"react-inject-env": "^2.1.0",
39-
"react-number-format": "^5.3.1",
40-
"react-router-dom": "^6.11.1",
41-
"react-scripts": "5.0.1",
42-
"typescript": "^4.9.5",
43-
"web-vitals": "^2.1.4",
44-
"yup": "^1.2.0"
45-
},
46-
"scripts": {
47-
"start": "react-scripts start",
48-
"build": "react-scripts build",
49-
"test": "react-scripts test",
50-
"eject": "react-scripts eject",
51-
"format": "prettier --write \"./src/**/*.{js,jsx,ts,tsx,json,css,scss,md}\"",
52-
"prepare": "husky install"
53-
},
54-
"eslintConfig": {
55-
"extends": [
56-
"react-app",
57-
"react-app/jest"
58-
]
59-
},
60-
"browserslist": {
61-
"production": [
62-
">0.2%",
63-
"not dead",
64-
"not op_mini all"
65-
],
66-
"development": [
67-
"last 1 chrome version",
68-
"last 1 firefox version",
69-
"last 1 safari version"
70-
]
71-
},
72-
"devDependencies": {
73-
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
74-
"autoprefixer": "^10.4.14",
75-
"husky": "^8.0.3",
76-
"postcss": "^8.4.22",
77-
"prettier": "2.8.8",
78-
"tailwindcss": "^3.3.1"
39+
"@syncfusion/ej2-react-maps": "*"
7940
}
8041
}
-3.08 KB
Binary file not shown.

Hotel-booking-App/public/index.html

Lines changed: 0 additions & 17 deletions
This file was deleted.
-5.22 KB
Binary file not shown.
-9.44 KB
Binary file not shown.

Hotel-booking-App/public/manifest.json

Lines changed: 0 additions & 25 deletions
This file was deleted.

Hotel-booking-App/public/robots.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import * as React from "react";
2+
import { createRoot } from 'react-dom/client';
3+
import HotelBook from "../components/HotelBook/HotelBook";
4+
import "../../styles/index.css";
5+
6+
const root = createRoot(document.getElementById("content-area") as HTMLElement);
7+
root.render(
8+
<HotelBook />
9+
);

0 commit comments

Comments
 (0)