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

Translation2 #54

Open
wants to merge 17 commits into
base: develop
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
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"destructuring": "all"
}
],
"arrow-body-style": [2, "as-needed"],
// "arrow-body-style": [2, "as-needed"],
"no-unused-expressions": [
2,
{
Expand Down
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,24 @@
"private": true,
"dependencies": {
"@material-ui/core": "^4.11.0",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "^4.0.0-alpha.56",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/user-event": "^7.1.2",
"autoprefixer": "^9.8.6",
"firebase": "^8.0.1",
"i18next": "^19.8.3",
"i18next-browser-languagedetector": "^6.0.1",
"material-ui-icons": "^1.0.0-beta.36",
"node-sass": "4.14.1",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-elastic-carousel": "^0.9.1",
"react-i18next": "^9.0.10",
"react-i18next": "^11.7.3",
"react-router-dom": "^5.2.0",
"react-scripts": "3.4.3",
"react-scroll-up-button": "^1.6.4",
"react-spring": "^8.0.27",
"styled-components": "^5.2.0",
"tailwindcss": "^1.9.5"
},
Expand Down
39 changes: 22 additions & 17 deletions src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,26 +1,31 @@
import React from 'react';
import React, { Suspense } from 'react';
import './styles/main.css';
import ContacUs from './containers/ContactUs/ContactUsContainer';
import RouterPage from './router/RouterPages';

// import ContacUs from './containers/ContactUs/ContactUsContainer';
import Footer from './containers/Home/FooterSection';
import Navbar from './components/navbar/NavBar';
import SliderCards from './containers/Home/SliderCards';
import WebsiteDescription from './containers/WebsiteDescription/WebsiteDescription';
import MissingPeople from './containers/HomePage/MissingPeople';
import Statistics from './components/Statistics/Statistics.js';
import info from './components/Statistics/data';
// import SliderCards from './containers/Home/SliderCards';
// import WebsiteDescription from './containers/WebsiteDescription/WebsiteDescription';
// import MissingPeople from './containers/HomePage/MissingPeople';
// import Statistics from './components/Statistics/Statistics.js';
// import info from './components/Statistics/data';

function App() {
return (
<div className="App bg-findMe">
<Navbar />
<hr />
<SliderCards />
// test pages
// import C from './pages/Contactus';

<Statistics info={info} />
<WebsiteDescription />
<MissingPeople />
/* <Navbar />
<Router />
<Footer />
</div>
*/

function App() {
return (
<Suspense fallback="loading">
<div className="App bg-findMe">
<RouterPage />
</div>
</Suspense>
);
}

Expand Down
Loading