diff --git a/client/.eslintcache b/client/.eslintcache index d63023c..2353555 100644 --- a/client/.eslintcache +++ b/client/.eslintcache @@ -1 +1 @@ -[{"D:\\programming\\projects\\Chat_Go\\client\\src\\reportWebVitals.js":"1"},{"size":362,"mtime":1606405189943,"results":"2","hashOfConfig":"3"},{"filePath":"4","messages":"5","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1eo9dih","D:\\programming\\projects\\Chat_Go\\client\\src\\reportWebVitals.js",[]] \ No newline at end of file +[{"D:\\programming\\projects\\Chat_Go\\client\\src\\reportWebVitals.js":"1","D:\\programming\\projects\\Chat_Go\\client\\src\\index.js":"2","D:\\programming\\projects\\Chat_Go\\client\\src\\App.js":"3","D:\\programming\\projects\\Chat_Go\\client\\src\\Containers\\Homepage.js":"4"},{"size":362,"mtime":1606405189943,"results":"5","hashOfConfig":"6"},{"size":500,"mtime":1606405189943,"results":"7","hashOfConfig":"6"},{"size":129,"mtime":1610362912173,"results":"8","hashOfConfig":"6"},{"size":179,"mtime":1610362822956,"results":"9","hashOfConfig":"6"},{"filePath":"10","messages":"11","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1eo9dih",{"filePath":"12","messages":"13","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"14","messages":"15","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"16","messages":"17","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"D:\\programming\\projects\\Chat_Go\\client\\src\\reportWebVitals.js",[],"D:\\programming\\projects\\Chat_Go\\client\\src\\index.js",[],"D:\\programming\\projects\\Chat_Go\\client\\src\\App.js",[],"D:\\programming\\projects\\Chat_Go\\client\\src\\Containers\\Homepage.js",[]] \ No newline at end of file diff --git a/client/public/favicon.ico b/client/public/favicon.ico deleted file mode 100644 index a11777c..0000000 Binary files a/client/public/favicon.ico and /dev/null differ diff --git a/client/public/index.html b/client/public/index.html index aa069f2..8f2600c 100644 --- a/client/public/index.html +++ b/client/public/index.html @@ -2,14 +2,14 @@ - + - + - React App + Chat Go diff --git a/client/public/logo192.png b/client/public/logo192.png deleted file mode 100644 index fc44b0a..0000000 Binary files a/client/public/logo192.png and /dev/null differ diff --git a/client/public/logo512.png b/client/public/logo512.png deleted file mode 100644 index a4e47a6..0000000 Binary files a/client/public/logo512.png and /dev/null differ diff --git a/client/src/App.js b/client/src/App.js index 3784575..dbda3e3 100644 --- a/client/src/App.js +++ b/client/src/App.js @@ -1,25 +1,7 @@ -import logo from './logo.svg'; -import './App.css'; - +import "./App.css"; +import Homepage from "./Containers/Homepage"; function App() { - return ( -
-
- logo -

- Edit src/App.js and save to reload. -

- - Learn React - -
-
- ); + return ; } export default App; diff --git a/client/src/Components/Loading.js b/client/src/Components/Loading.js new file mode 100644 index 0000000..44725d2 --- /dev/null +++ b/client/src/Components/Loading.js @@ -0,0 +1,9 @@ +import React from "react"; + +export default function Loading() { + return ( +
+

Loading...

+
+ ); +} diff --git a/client/src/Containers/Homepage.js b/client/src/Containers/Homepage.js new file mode 100644 index 0000000..4883d8c --- /dev/null +++ b/client/src/Containers/Homepage.js @@ -0,0 +1,9 @@ +import React from "react"; +import "../Styles/homepage.css"; +export default function Homepage() { + return ( +
+

Welcome to Chat-GO

+
+ ); +} diff --git a/client/src/Context/demo.js b/client/src/Context/demo.js new file mode 100644 index 0000000..702f428 --- /dev/null +++ b/client/src/Context/demo.js @@ -0,0 +1 @@ +console.log("hello"); diff --git a/client/src/Routes/Routes.js b/client/src/Routes/Routes.js new file mode 100644 index 0000000..e69de29 diff --git a/client/src/Styles/homepage.css b/client/src/Styles/homepage.css new file mode 100644 index 0000000..5fb52ef --- /dev/null +++ b/client/src/Styles/homepage.css @@ -0,0 +1,11 @@ +body { + display: flex; + justify-content: center; + align-items: center; + height: 100vh; + font-size: xx-large; + background-color: #121212fa; +} +h1 { + text-shadow: 2px 2px blueviolet; +} diff --git a/client/src/Utils/demo.js b/client/src/Utils/demo.js new file mode 100644 index 0000000..e69de29 diff --git a/client/src/logo.svg b/client/src/logo.svg deleted file mode 100644 index 9dfc1c0..0000000 --- a/client/src/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file