-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathHome.tsx
More file actions
53 lines (51 loc) · 1.45 KB
/
Home.tsx
File metadata and controls
53 lines (51 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import AlgoliaBadge from "./AlgoliaBadge";
import Container from "@material-ui/core/Container";
import { Grid } from "@material-ui/core";
import { Helmet } from "react-helmet";
import HomeButtons from "./HomeButtons";
import React from "react";
import SearchForm from "./SearchForm";
import { useTranslation } from "react-i18next";
const Home = () => {
const { t } = useTranslation(["footer", "home"]);
return (
<Container>
<Helmet>
<title>{t("title", { ns: "home" })}</title>
<meta name="description" content={t("description", { ns: "home" })} />
</Helmet>
<Grid
alignItems="stretch"
container
direction="column"
justify="space-evenly"
spacing={3}
>
<Grid item>
<SearchForm />
</Grid>
<Grid item>
<HomeButtons />
</Grid>
<Grid item>
<Grid alignItems="center" container justify="center" spacing={4}>
<Grid item>
<a href="https://www.netlify.com">
<img
src="https://www.netlify.com/img/global/badges/netlify-light.svg"
alt={t("deploysByNetlify")}
/>
</a>
</Grid>
<Grid item>
<a href="https://www.algolia.com/">
<AlgoliaBadge />
</a>
</Grid>
</Grid>
</Grid>
</Grid>
</Container>
);
};
export default Home;