diff --git a/packages/website/src/pages/news.js b/packages/website/src/pages/news.js index d68e5c77..002dbdef 100644 --- a/packages/website/src/pages/news.js +++ b/packages/website/src/pages/news.js @@ -1,15 +1,14 @@ import * as React from "react"; import { graphql } from "gatsby"; -import Layout, { Section, SectionTitle } from "../components/Layout"; +import Layout, { Section } from "../components/Layout"; import { Aside } from "../components/News"; import Link from "../components/Link"; import SEO from "../components/seo"; const NewsCard = ({ ...props }) => { - console.log(props); return (
- + {props.frontmatter.title} {props.frontmatter.title} diff --git a/packages/website/src/templates/news-post.js b/packages/website/src/templates/news-post.js index c084059e..827cd00d 100644 --- a/packages/website/src/templates/news-post.js +++ b/packages/website/src/templates/news-post.js @@ -4,14 +4,14 @@ import Layout, { Section, SectionTitle } from "../components/Layout"; import { Aside } from "../components/News"; import SEO from "../components/seo"; import { TwitterShareButton, LinkedinShareButton, FacebookShareButton } from "react-share"; -import { TwitterSmall, LinkedinSmall, FacebookSmall } from "../components/Icons"; +import { TwitterSmall, LinkedinSmall } from "../components/Icons"; const BlogPostTemplate = ({ data, location }) => { const post = data.markdownRemark; const siteTitle = data.site.siteMetadata?.title || `Title`; // const { previous, next } = data; - console.log(post); + // console.log(post); return ( @@ -31,13 +31,21 @@ const BlogPostTemplate = ({ data, location }) => {
Share
- + - + + + + +