Skip to content

Commit ceca245

Browse files
committed
1st proposal for a description in the 'blog posts' page
1 parent f5d01e3 commit ceca245

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

src/pages/blog.tsx

+22-1
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,13 @@ import PageHeader from '../theme/components/PageHeader';
1919
import Footer from '../theme/components/Footer';
2020
import Section from '../theme/components/Section';
2121
import { PAGE, SECTION } from '../theme/utils/constants';
22-
import { Heading } from 'rebass/styled-components';
22+
import { Heading, Text } from 'rebass/styled-components';
2323
import Triangle from '../theme/components/Triangle';
2424
import { PostContainer } from '../theme/sections/Blog';
25+
// import { Fade } from 'react-awesome-reveal';
26+
27+
// TODO duplicated from Landing.tsx
28+
const centerHorizontally = { marginRight: 'auto', marginLeft: 'auto' };
2529

2630
const BlogPage = (): JSX.Element => (
2731
<Layout title={PAGE.blog}>
@@ -37,6 +41,23 @@ const BlogPage = (): JSX.Element => (
3741
>
3842
{SECTION.blog}
3943
</Heading>
44+
{/*TODO manage responsiveness (3 media instead of just 2)*/}
45+
<Heading
46+
as="h2"
47+
color="primary"
48+
fontSize={[2, 4]}
49+
mb={[3, 5]}
50+
textAlign="center"
51+
style={centerHorizontally}
52+
>
53+
<Text width={[300, 700]} key="presentation">
54+
{/*TODO move to content */}
55+
Here you will find all the blog posts written about the Process
56+
Analytics project. They are about how to use the libraries and tools
57+
developed by the project, how we use some tools or external technical
58+
components, ...
59+
</Text>
60+
</Heading>
4061
<PostContainer />
4162
</Section.Container>
4263
<Footer />

0 commit comments

Comments
 (0)