Move navigation and footer partials to components

This way it'll be easier to decide when they should be rendered.

In order to be consistent, we're using the `Layout` module for both
components; previously, the navigation partial was in the `shared`
folder while the footer partial was in the `layout` folder, which IMHO
didn't make much sense.
This commit is contained in:
Javi Martín
2023-01-10 16:42:57 +01:00
parent 64536f069c
commit 44e3a393a0
7 changed files with 9 additions and 4 deletions

View File

@@ -0,0 +1,2 @@
class Layout::FooterComponent < ApplicationComponent
end