On the home page, there were some home-specific macros and they were scoped to just the home section.
Now that I've moved onto other pages, it has become clear that many of these macros should be shared. This PR does the following:
Move all component-level code into a components folder to denote its shared nature
Added the first fully shared component - page_heading
Moved all imports, etc. to the layout level so that the macros and their styles are accessible to all templates that inherit from the layout without needing to re-import anything.
On the home page, there were some home-specific macros and they were scoped to just the home section.
Now that I've moved onto other pages, it has become clear that many of these macros should be shared. This PR does the following:
components
folder to denote its shared naturepage_heading