New site layout
Changes
Adds new sitewide layout based on #2766 π
@smallbrownbike I'm getting an error when I try to run this branch?
Error in "/Users/watilo/working/posthog.com/gatsby-node.js": Unexpected token '.'
Error: /Users/watilo/working/posthog.com/gatsby/createResolvers.js:18
name: data?.frontmatter?.name,
^
SyntaxError: Unexpected token '.'
@corywatilo Looks like you may be using an older Node version. Optional chaining was added in 14 and that seems to be causing the hiccup here.
I pushed an update that changes it to the old-fashioned way. Same thing but will work on older Node versions.
I love the search bar, but the omnipresent sidebar feels out of place here for me⦠It really distracts me from the actual content of the website.

In docs, it results in there being basically three sidebars, which take up the majority of the real estate.

Personally I strongly feel that a fixed top bar would be a better experience.
Yep, there is some work to be done here! I believe @smallbrownbike is mostly focused on the Docs section at the moment, and even there, there's a bit of fine tuning and media querying to be done. (Homepage and other marketing pages need a bit of rework to work with a left rail.)
I'd like to get it a little closer to the intended vision, then we can decide how it really feels to use at that point.
RIP 4 column layout.
...
...
...
for now... π
π’