-
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #91 from hotosm/enhance/home
Enhanced Home Landing Page
- Loading branch information
Showing
5 changed files
with
87 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,75 @@ | ||
import React from 'react' | ||
import React from "react"; | ||
import { useNavigate, Link } from "react-router-dom"; | ||
import Button from "@mui/material/Button"; | ||
import Typography from "@mui/material/Typography"; | ||
import Grid from "@mui/material/Grid"; | ||
|
||
const Home = props => { | ||
const GetStarted = () => { | ||
const navigate = useNavigate(); | ||
|
||
return <> | ||
<div style={{height: "600px", width:"500px"}} > | ||
<p>Home page content</p> | ||
|
||
return ( | ||
<div | ||
style={{ | ||
background: "#FFFFFF", | ||
padding: "50px", | ||
textAlign: "center", | ||
}} | ||
> | ||
<Typography | ||
variant="h3" | ||
component="h1" | ||
style={{ color: "#E53E3E", fontWeight: "bold", marginBottom: "30px" }} | ||
> | ||
Welcome to fAIr | ||
</Typography> | ||
<Typography | ||
variant="body1" | ||
style={{ color: "#3D3D3D", fontSize: "18px", marginBottom: "50px" }} | ||
> | ||
fAIr is an open AI-assisted mapping service developed by the | ||
Humanitarian OpenStreetMap Team (HOT) that aims to improve the | ||
efficiency and accuracy of mapping efforts for humanitarian purposes. | ||
The service uses AI models, specifically computer vision techniques, to | ||
detect objects such as buildings, roads, waterways, and trees from | ||
satellite and UAV imagery. The name fAIr is derived from the following | ||
terms: | ||
<br /> | ||
<br /> | ||
<ul style={{ listStyleType: "none", paddingLeft: 0 }}> | ||
<li>f: for freedom and free and open-source software</li> | ||
<li>AI: for Artificial Intelligence</li> | ||
<li> | ||
r: for resilience and our responsibility for our communities and the | ||
role we play within humanitarian mapping | ||
</li> | ||
</ul> | ||
</Typography> | ||
<div | ||
style={{ | ||
display: "flex", | ||
alignItems: "center", | ||
justifyContent: "center", | ||
}} | ||
> | ||
<Button | ||
variant="contained" | ||
color="secondary" | ||
sx={{ marginRight: "30px" }} | ||
onClick={() => navigate("/training-datasets")} | ||
> | ||
Start Creating Dataset | ||
</Button> | ||
<Button | ||
variant="contained" | ||
color="secondary" | ||
component={Link} | ||
to="/learn" | ||
> | ||
Tutorial | ||
</Button> | ||
</div> | ||
</div> | ||
</>; | ||
} | ||
export default Home | ||
); | ||
}; | ||
|
||
export default GetStarted; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import React from "react"; | ||
|
||
const Learn = (props) => { | ||
return ( | ||
<> | ||
<div style={{ height: "600px", width: "500px" }}>Learn Componenet</div> | ||
</> | ||
); | ||
}; | ||
|
||
export default Learn; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters