Custom Layout For Login Component #1128
Replies: 1 comment 2 replies
-
@Sharafudeen Oqtane is built on Blazor and utilizes dynamic razor components to construct the user interface. In Oqtane "pages" are a logical concept - not a physical code file... you can define as many "pages" as you want within a "site" grouping however they are simply metadata stored in the database. Each page can have a custom layout - in Oqtane layouts are part of a "theme" that are simply a collection of razor component that includes "panes" where module content can be dynamically injected at runtime. The core framework contains 2 themes in the Oqtane.Client\Themes folder - the BlazorTheme and OqtaneTheme. And if you want to create an external custom theme you can look at https://github.com/oqtane/oqtane.theme.cerulean as an example. |
Beta Was this translation helpful? Give feedback.
-
Hi,
How do I do custom layout page for login component. Currently login component is rendering under Pages/_Host.cshtml in Oqtane.Server project. Can we have more than one layout page for specific components?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions