The community members are discussing how to create reusable headers and footers in Webstudio. One community member suggests using slots, which allow you to define a header or footer component and copy it to multiple pages. Any changes to the original slot component will automatically update all instances. Another community member mentions using Webstudio variables to make the slot content dynamic based on page context. The community is also looking forward to a more complete component system with overrides, which is currently in development.
I've searched for half an hour with no luck. There must be a way to create a reusable header/footer that can be maintained in one place and dropped on all pages. How is this done in Webstudio? Is there a tutorial somewhere?
sure! You can use Webstudio variables (like something pulled from a CMS) to make items in slots dependent on some variable (for example, logic that says if the page slug is foo, don't show X element)
you can still do this by creating a "components" page, define all your components there, and then simply copy paste them across your project or projects.