Skip to content

Commit 8d6f3e4

Browse files
authored
Merge pull request #26 from codeuino/improveHome
New UI - Homepage
2 parents de79aef + 52b590e commit 8d6f3e4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+2758
-11596
lines changed

.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
REACT_APP_GRAPHQL_API_ENDPOINT = "http://127.0.0.1:8000/graphql"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# community-forum-frontend
1+
# Spansberry Frontend

package-lock.json

Lines changed: 95 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
11
{
2-
"name": "community-forum-frontend",
2+
"name": "spansberry-frontend",
33
"version": "0.1.0",
44
"private": true,
55
"dependencies": {
66
"@material-ui/core": "^4.10.2",
7+
"@material-ui/icons": "^4.9.1",
8+
"@reduxjs/toolkit": "^1.4.0",
79
"@testing-library/jest-dom": "^4.2.4",
810
"@testing-library/react": "^9.3.2",
911
"@testing-library/user-event": "^7.1.2",
1012
"@tinymce/tinymce-react": "^3.6.0",
13+
"axios": "^0.21.0",
14+
"bootstrap": "^4.5.3",
15+
"dotenv": "^8.2.0",
1116
"draft-js": "^0.11.6",
1217
"html-react-parser": "^0.13.0",
18+
"jwt-decode": "^3.1.1",
1319
"node-sass": "^4.14.1",
1420
"react": "^16.13.1",
1521
"react-beautiful-dnd": "^13.0.0",
@@ -18,9 +24,14 @@
1824
"react-html-parser": "^2.0.2",
1925
"react-icons": "^3.10.0",
2026
"react-markdown-renderer": "^1.4.0",
27+
"react-redux": "^7.2.2",
2128
"react-router-dom": "^5.2.0",
29+
"react-router-hash-link": "^2.2.2",
2230
"react-scripts": "3.4.1",
2331
"react-tagsinput": "^3.19.0",
32+
"react-tooltip": "^4.2.10",
33+
"redux": "^4.0.5",
34+
"redux-thunk": "^2.3.0",
2435
"remarkable": "^2.0.1",
2536
"socket.io-client": "^2.3.0"
2637
},

public/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1" />
77
<meta name="theme-color" content="#000000" />
88
<meta
9-
name="description"
10-
content="Web site created using create-react-app"
9+
name="Spansberry"
10+
content="A community-oriented discussion platform that comes with an intelligent dashboard mechanism that helps manage the ongoing discussions in organized and structural ways."
1111
/>
1212
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
1313
<!--

public/logo192.png

-5.22 KB
Binary file not shown.

public/logo512.png

-9.44 KB
Binary file not shown.

src/App.css

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

src/App.js

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
import React from "react";
2-
import "./App.css";
32
import Router from "./router";
3+
import { useDispatch } from "react-redux";
4+
import { getCurrentUser } from "./reducers/authSlice";
45

56
function App() {
7+
const dispatch = useDispatch();
8+
dispatch(getCurrentUser());
69
return (
710
<React.Fragment>
8-
<link
9-
rel="stylesheet"
10-
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
11-
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"
12-
crossorigin="anonymous"
13-
/>
1411
<Router />
1512
</React.Fragment>
1613
);

src/App.test.js

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

0 commit comments

Comments
 (0)