-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.tsx
38 lines (35 loc) · 1.21 KB
/
index.tsx
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
import React from "react";
import { Text, Box } from "rebass";
import { NextPage } from "next";
import BlogList, { BlogListProps } from "../components/BlogList";
import { Header } from "../components/Header";
import { getBlogs } from "../utils/blogs";
const HomePage: NextPage<BlogListProps> = ({ blogs }) => {
return (
<>
<Box as="section" mt={2}>
<Header>About me:</Header>
<Box as="ul" px={[2, 4]}>
<Text as="li">
Previously worked at Reify Health, Viasat, Charles River
Development, NAVSEA, and with the RIPPLES group at my alma mater,
the University of Massachusetts Amherst.
</Text>
<Text as="li">
Enjoy working with JavaScript, TypeScript, Clojure(Script), React,
React Native, Java, REST, GraphQL, APIs, SQL, MongoDB, and more.
</Text>
<Text as="li">
I love photography; hiking and camping; cheering on Liverpool, Red
Sox, Patriots; and playing soccer.
</Text>
</Box>
</Box>
<BlogList blogs={blogs} />
</>
);
};
export const getStaticProps = async () => {
return { props: { blogs: await getBlogs() } };
};
export default HomePage;