Footer Configuration

Whether the user wants to keep the footer or not, is totally up to the user's choice. We have provided the option of disabling or enabling the footer. You can enable or disable the footer by following the under-written steps.

Disabling or Enabling the Footer in Run Time:-

Enabling or Disabling in development mode (setting default Footer):-

To enable or disable the Footer, go to the src/@crema/constants/defaultConfig.js file

In this file, you will find a property named 'footer'. You need to set the value of Footer to true, if you want to enable the Footer or false if you want to disable the Footer like below

import { FooterType } from './AppEnums'; 

const defaultConfig = {
  ...
  footer: false,                  // using this you can show/hide the footer
  footerType: FooterType.FLUID,   // using this we can update footer type fixed/fluid
  ...
};
export default defaultConfig;


####### Footer Type (src/@crema/constants/AppEnums.js) #########

export const FooterType = {
  FIXED: 'fixed',
  FLUID: 'fluid',
}; 

Last updated