Layouts
Gene comes with three handcrafted layouts. Read the documentation carefully to use the following layouts in your template.
Default Layout
Gene by default has traditional admin layout but also provides you flexibility to choose your own.
Mini Sidebar
To enable mini sidebar layout, go to src->app->service->core
and open core.service.ts
file and change the value of collapseSidebar
to true.
Horizontal Menu
To enable horizontal menu go to src->app->service->core
and open core.service.ts
file and change the value of horizontalStatus
& horizontalSizeStatue
to true.
Dark Mode
To enable the dark mode in the template, go to src->app->main
and open the main-material.html
file, now search for the app-dark
class at div <div id = "main-app"
& change its value to true.
Now open the src->index.html
file & add the class "dark-theme-active"
in the body
tag. Like given below:
Last updated