mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-21 07:10:33 +00:00
feat: Company branding preferences
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
// @ts-nocheck
|
||||
import * as R from 'ramda';
|
||||
import { useEffect } from 'react';
|
||||
import { Stack } from '@/components';
|
||||
import { PreferencesBrandingBoot } from './PreferencesBrandingBoot';
|
||||
import { PreferencesBrandingForm } from './PreferencesBrandingForm';
|
||||
import {
|
||||
PreferencesBrandingFormContent,
|
||||
PreferencesBrandingFormFooter,
|
||||
} from './PreferencesBrandingFormContent';
|
||||
import withDashboardActions from '@/containers/Dashboard/withDashboardActions';
|
||||
|
||||
function PreferencesBrandingPageRoot({ changePreferencesPageTitle }) {
|
||||
useEffect(() => {
|
||||
changePreferencesPageTitle('Branding');
|
||||
}, [changePreferencesPageTitle]);
|
||||
|
||||
return (
|
||||
<Stack
|
||||
style={{ padding: '20px 40px 0', maxWidth: 900, width: '100%', flex: 1 }}
|
||||
>
|
||||
<PreferencesBrandingBoot>
|
||||
<PreferencesBrandingForm>
|
||||
<PreferencesBrandingFormContent />
|
||||
<PreferencesBrandingFormFooter />
|
||||
</PreferencesBrandingForm>
|
||||
</PreferencesBrandingBoot>
|
||||
</Stack>
|
||||
);
|
||||
}
|
||||
|
||||
export default R.compose(withDashboardActions)(PreferencesBrandingPageRoot);
|
||||
Reference in New Issue
Block a user