diff --git a/src/components/blog/blogAPEXSidebar.jsx b/src/components/blog/blogAPEXSidebar.jsx new file mode 100644 index 0000000..bde59f8 --- /dev/null +++ b/src/components/blog/blogAPEXSidebar.jsx @@ -0,0 +1,36 @@ +import React from 'react'; + +const BlogAPEXSidebar = () => ( +
+ Check out the APEX Community: + +
+); + +export default BlogAPEXSidebar; diff --git a/src/styles/blog.css b/src/styles/blog.css index 8ca4261..8d2a038 100644 --- a/src/styles/blog.css +++ b/src/styles/blog.css @@ -41,7 +41,8 @@ } .blog-comments a, -.blog-body a:not(.custom-link) { +.blog-body a:not(.custom-link), +.blog-sidebar a { @apply rounded text-red-600 underline decoration-red-100 hover:decoration-red-300 focus:ring-1 focus:ring-red-600; } diff --git a/src/styles/layout.css b/src/styles/layout.css index 77ef02e..3ee2124 100644 --- a/src/styles/layout.css +++ b/src/styles/layout.css @@ -7,7 +7,7 @@ html { } body { - @apply subpixel-antialiased bg-red-50; + @apply bg-red-50 subpixel-antialiased; margin: 0; } diff --git a/src/templates/blog-page-template.jsx b/src/templates/blog-page-template.jsx index cd2f9d3..a62ade0 100644 --- a/src/templates/blog-page-template.jsx +++ b/src/templates/blog-page-template.jsx @@ -4,7 +4,7 @@ import { GatsbyImage } from 'gatsby-plugin-image'; import { MDXRenderer } from 'gatsby-plugin-mdx'; import PropTypes from 'prop-types'; import React from 'react'; -import { ClockIcon } from '@heroicons/react/outline'; +import { ArrowUpIcon, ClockIcon, RssIcon } from '@heroicons/react/outline'; import AuthorShowcase from '../components/blog/AuthorShowcase'; import getComponents from '../components/blog/blogComponents'; import BlogImagePopup from '../components/blog/BlogImagePopup'; @@ -16,6 +16,7 @@ import Layout from '../components/layout'; import LinkButton from '../components/LinkButton'; import SEO from '../components/seo'; import '../styles/blog.css'; +import BlogAPEXSidebar from '../components/blog/blogAPEXSidebar'; export const query = graphql` query ($id: String!, $relativeDirectory: String!) { @@ -179,7 +180,7 @@ const BlogPageTemplate = ({ data }) => { -
+
{
-

+

{title}

@@ -261,13 +265,28 @@ const BlogPageTemplate = ({ data }) => {
-