Skip to content
This repository was archived by the owner on Jul 13, 2021. It is now read-only.

Commit 0784cc7

Browse files
author
Alfredo Miranda
committed
Add custom footer to the Home page
1 parent 9d515bc commit 0784cc7

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

home/Page.js

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
import React, { Fragment } from 'react';
2+
import Grid from '@material-ui/core/Grid';
3+
4+
import { Link, HomeBox, NavBar } from 'ot-ui';
5+
import CustomFooter from '../common/CustomFooter';
6+
7+
import Splash from './Splash';
8+
import Search from './Search';
9+
import { externalLinks } from '../../constants';
10+
11+
const HomePage = () => {
12+
return (
13+
<Fragment>
14+
<Grid container justify="center" alignItems="center">
15+
<Splash />
16+
<NavBar name="platform" homepage />
17+
<HomeBox name="Platform">
18+
<Search />
19+
<Grid container justify="space-around" style={{ marginTop: '12px' }}>
20+
<Link to="/target/ENSG00000091831">ESR1</Link>
21+
<Link to="/disease/EFO_0000384">Crohn's disease</Link>
22+
<Link to="/drug/CHEMBL2111100">MIFAMURTIDE</Link>
23+
<Link to="/evidence/ENSG00000091831/EFO_0000305">
24+
Evidence page
25+
</Link>
26+
</Grid>
27+
</HomeBox>
28+
</Grid>
29+
<CustomFooter externalLinks={externalLinks} />
30+
</Fragment>
31+
);
32+
};
33+
34+
export default HomePage;

0 commit comments

Comments
 (0)