diff --git a/client/package.json b/client/package.json
index 20f600e..0f3575a 100644
--- a/client/package.json
+++ b/client/package.json
@@ -17,6 +17,7 @@
"eslintConfig": {
"extends": "react-app"
},
+ "proxy": "http://localhost:5000",
"browserslist": {
"production": [
">0.2%",
diff --git a/client/src/App.js b/client/src/App.js
index 33b771d..5cc7ef6 100644
--- a/client/src/App.js
+++ b/client/src/App.js
@@ -1,80 +1,19 @@
-import React from "react";
-import { BrowserRouter as Router, Route, Link } from "react-router-dom";
+import React, { Component } from 'react';
+import './App.css';
+import { BrowserRouter as Router, Route, Switch } from 'react-router-dom';
+import Home from './scenes/Home';
+import NotFound from './scenes/NotFound';
-function App() {
- return (
-
-
-
- -
- Home
-
- -
- About
-
- -
- Topics
-
-
-
-
-
-
-
-
-
-
- );
+class App extends Component {
+ render() {
+ return (
+
+
+
+
+
+
+ );
+ }
}
-
-function Home() {
- return (
-
-
Home
-
- );
-}
-
-function About() {
- return (
-
-
About
-
- );
-}
-
-function Topics({ match }) {
- return (
-
-
Topics
-
- -
- Rendering with React
-
- -
- Components
-
- -
- Props v. State
-
-
-
-
-
Please select a topic.
}
- />
-
- );
-}
-
-function Topic({ match }) {
- return (
-
-
{match.params.topicId}
-
- );
-}
-
export default App;
diff --git a/client/src/scenes/Home/index.js b/client/src/scenes/Home/index.js
new file mode 100644
index 0000000..1bb114a
--- /dev/null
+++ b/client/src/scenes/Home/index.js
@@ -0,0 +1,9 @@
+import React from 'react';
+
+export default function Home () {
+ return (
+
+
Sima Space - CRM Integration
+
+ );
+}
diff --git a/client/src/scenes/NotFound/index.js b/client/src/scenes/NotFound/index.js
new file mode 100644
index 0000000..650f551
--- /dev/null
+++ b/client/src/scenes/NotFound/index.js
@@ -0,0 +1,9 @@
+import React from 'react';
+
+export default function NotFound () {
+ return (
+
+
Page not found
+
+ );
+}