Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User Dashboard 2 #18

Open
wants to merge 1 commit into
base: Profile-2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ build/Release
# Dependency directories
node_modules/
jspm_packages/
/node_modules

# TypeScript v1 declaration files
typings/
Expand Down
33 changes: 9 additions & 24 deletions app.properties
Original file line number Diff line number Diff line change
@@ -1,27 +1,12 @@
# the product
name: EmpowerFarmer
sdgs: Zero Hunger
repos: https://github.com/BuildForSDG/Team-037-Product
app.urls: http://localhost:1234
codacy.urls: https://app.codacy.com/gh/BuildForSDG/Team-037-Product/dashboard
app.forCOVID19: NO
app.industries:
project.name:
project.repo:
project.sdgs:
project.app.url:
project.codacy.url:

# the codebase
code.languages: javascript
code.frameworks: react,jest,express
code.opensource.facebook: react, jest
code.opensource.contributions: https://github.com/BuildForSDG/Team-037-Product
project.team.members:
project.team.slackname:

# the team
team.name: EmpowerFarmer
team.ttls: ore kolade
team.mentors: Joshua Lugada
team.slackchannel: team-037
project.fb.opensource:

# == DO NOT EDIT ==
# about the program
# =================
program.cohort:1
program.name:BuildforSDG
program.community:https://github.com/BuildForSDG
program.cohort:1
106 changes: 3 additions & 103 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,8 @@
},
"license": "MIT",
"dependencies": {
"formik": "^2.1.4",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-router-dom": "^5.1.2",
"yup": "^0.29.0"
"react-dom": "^16.13.1"
},
"devDependencies": {
"@babel/core": "^7.9.0",
Expand Down
49 changes: 16 additions & 33 deletions src/app.js
Original file line number Diff line number Diff line change
@@ -1,41 +1,24 @@
import React from "react";
import Sidebar from "./components/sidebar";
import Navbar from "./components/navbar";
import NavB2 from "./components/navbar2";
import Container from "./components/container";
import "./app.css";

import {BrowserRouter as Router, Route} from 'react-router-dom';
import PageWrapper from './component/PageWrapper';
import HomePage from './component/Pages/HomePage';
import About from './component/Pages/About';
import SignIn from './component/SignIn/Login'
import SignUp from './component/SignUp/SignUp';
import './style.css';

const App = () => {

return (

<Router>
<PageWrapper>
<Route
path = '/'
exact
component = {HomePage}
/>

<Route
path ='/about'
component = {About}
/>
<Route
path ='/login'
component = {SignIn}
/>
<Route
path ='/signup'
component = {SignUp}
/>
</PageWrapper>
</Router>

<div className='app'>
<Navbar />
<NavB2 />
<div style={{display:'flex'}}>
<Sidebar />
<Container />
</div>


</div>
)
}

export default App;
export default App;
26 changes: 0 additions & 26 deletions src/component/About/About1.js

This file was deleted.

34 changes: 0 additions & 34 deletions src/component/About/Team.js

This file was deleted.

16 changes: 0 additions & 16 deletions src/component/About/TeamInfo.js

This file was deleted.

Loading