Chronoblog / gatsby-theme-chronoblog

⏳ Chronoblog is a Gatsbyjs theme specifically designed to create a personal website. The main idea of ​​Chronoblog is to allow you not only to write a personal blog but also to keep a record of everything important that you have done.
https://chronoblog.now.sh
MIT License
130 stars 26 forks source link

Creating new site banner #34

Closed fmeehan closed 4 years ago

fmeehan commented 4 years ago

Hi all,

Ivan, I really like chronoblog what a nice theme!

I have been trying to do something simple on the surface, to create a site banner very very similar to AuthorBanner, with 2 columns, with the avatar image, having different background colours.

Tried to create a new banner, fmBlogBanner by writing a new component alongside author-banner.js, and inserted it in index.mdx with <fmBlogBanner /> statement, added import fmBlogBanner from './fmBlogBanner'; in root.js, that does not render anything at all.

Am I missing something or is there and easier way to create a column box in an MDX document?

Thanks in advance,

François

ganevdev commented 4 years ago

Hi. Thanks for the feedback.

Any component should begin with a capital letter. So it should look something like this: <FmBlogBanner />

fmeehan commented 4 years ago

Thanks for the quick response!

All the Best!!