diff --git a/src/components/PostList.js b/src/components/PostList.js index 2219cc0..14cedd8 100644 --- a/src/components/PostList.js +++ b/src/components/PostList.js @@ -1,11 +1,11 @@ import React from 'react'; import Post from './Post'; -const PostList = ({ posts, twoColumns }) => { +const PostList = ({ posts, threeColumns }) => { return (
{posts.map((post) => ( diff --git a/src/components/Twitter.js b/src/components/Twitter.js deleted file mode 100644 index 635b305..0000000 --- a/src/components/Twitter.js +++ /dev/null @@ -1,25 +0,0 @@ -import React from 'react'; - -import '../scss/style.scss'; - -const Twitter = () => ( -
- - Tweets by python_es - - -
-); - -export default Twitter; diff --git a/src/pages/index.js b/src/pages/index.js index 9363ce5..23b00b1 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -3,7 +3,6 @@ import { graphql } from 'gatsby'; import Helmet from 'react-helmet'; import SEO from '../components/SEO'; import Layout from '../components/Layout'; -import Twitter from '../components/Twitter'; import PostList from '../components/PostList'; import HeroImage from '../components/HeroImage'; import FeaturesHome from '../components/FeaturesHome'; @@ -55,12 +54,9 @@ const Home = (props) => {
-
+

Ăšltimos posts

- -
-
- +
@@ -115,7 +111,7 @@ export const query = graphql` posts: allMarkdownRemark( filter: { fileAbsolutePath: { regex: "/posts/.*/" } } sort: { fields: [frontmatter___date], order: DESC } - limit: 2 + limit: 3 ) { edges { node {