Different Layouts
Reactify comes with four handcrafted layouts & three different modes. Read the documentation given below carefully to use the following layouts as default for your template.
Last updated
Reactify comes with four handcrafted layouts & three different modes. Read the documentation given below carefully to use the following layouts as default for your template.
Last updated
This is the default layout of your template, when you download the project from ThemeForest and builds it after the installation procedure, you will find that your template uses this layout by default. You don't need to do anything to use this layout.
This is the Horizontal Layout of the template. You can make this layout as default for your template by following the steps given below:
Step 1: Go to src->container
folder & open the App.js
file.
Step 2: Search for the condition if (location.pathname === '/')
in the file.
Step 3: Now replace the given code:
with the following code:
This is the Agency Layout of the template. You can make this layout as default for your template by following the steps given below:
Step 1: Go to src->container
folder & open the App.js
file.
Step 2: Search for the condition if (location.pathname === '/')
in the file.
Step 3: Now replace the given code:
with the following code:
This is the Boxed Layout of the template. You can make this layout as default for your template by following the steps given below:
Step 1: Go to src->container
folder & open the App.js
file.
Step 2: Search for the condition if (location.pathname === '/')
in the file.
Step 3: Now replace the given code:
with the following code:
This is the Horizontal Layout of the template. If you want to make this as your default layout, please follow the steps given below:
Step 1: Go to src->components->RctAppLayout
& open the index.js
file.
Step 2: Search for the Sidebar component in the file, as given below:
Step 3: Cut the div "app-container"
section from the Sidebar
component and paste it outside the Sidebar
component in the file. Now remove the Sidebar
component from the file.
Step 4: Add the following code to the className = "rct-page"
in the div "app-container"
:
Like this:
Step 5: Add the following code in the file:
Like
Step 6: Now Go to src->assets->scss->custom
and open the _main.scss
file. Search for the app-main-container
& change the value of display
key from flex
to block
. Like this:
Step 7: Go to src->components->HorizontalMenu
& open the NavLinks.js
file. Search for the "path": "/horizontal/...
& just replace the keyword horizontal
with the keyword app
.
Now save the file and open up the browser window and open the url: http://localhost:3000/.
This is the mini sidebar layout for the template. If you want to make this as your default layout, please follow the steps given below:
Step 1: Go to src->constants
folder & open the AppConfig.js
file.
Step 2: Change the value of miniSidebar
to true in the following code:
This is the RTL layout for the template. If you want to make this as your default layout, please follow the steps given below:
Step 1: Go to src->constants
folder & open the AppConfig.js
file.
Step 2: Change the value of rtlLayout
to true in the following code:
This is the Dark Mode for the template. If you want to make this as your default, please follow the steps given below:
Step 1: Go to src->constants
folder & open the AppConfig.js
file.
Step 2: Change the value of darkMode
to true in the following code: