Skip to content

Layout component #665

@0xZakk

Description

@0xZakk

Describe the solution you'd like
Create a Layout component that defines the header and footer and renders a page as a child.

The Layout component should implement a consistent header and footer across all pages. It should take a page component as a child and render it. It would looks roughly like this:

// Pass in props/state related to the user, etc
<Layout {...props} {...state}>
    <Route path="/" component={Home}>
    <Route path="/profile" component={Profile}>
</Layout>

The above is just pseudocode.

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions