Replies: 2 comments 1 reply
-
Thanks for the suggestion. Primo actually did have what you're describing in an earlier version, but there were a lot of downsides:
The biggest benefit was being able to have a content block next to a component - so a docs page like what you've described was smoother than the current situation where you have to write the content in a field (to get the side navigation) - but it was far outweighed by the downsides. We're planning on getting that benefit back later in a different way that doesn't add the negative usability effects by consolidating component & content sections - so in this case you'd add a 'Documentation' component & edit its content by both editing its fields (to update the navigation items) & write on the page to edit the documentation itself. |
Beta Was this translation helpful? Give feedback.
-
I know this is an old thread; just leaving a note for whoever looks for a way to implement custom layouts like sidebars etc. Just apply a CSS grid template on the main wrapper. It won't look pretty in the editor but it works perfect on production. |
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
The editor provides easy tools to quickly create websites. The only problem I have is for more advanced layouts. For example to docs page. This page has a sidebar, which I don't think to be possible to do with primo yet.
Describe the solution you'd like
For it to work you would have to be able to nest a component. Maybe something like a layout could also work.
Maybe an extra menu item next to the
Add content
andAdd component
butten, likeAdd layout item
. Which would then allow to set grid columns or something alike.Describe alternatives you've considered
Writing the page as one big component maybe?
Additional context
I get that it might be difficult to implement due to complex layering systems. However I do believe it to be crusial for it to work in production environments.
Beta Was this translation helpful? Give feedback.
All reactions