mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-21 07:10:33 +00:00
fix(homepage): boxes sections.
This commit is contained in:
@@ -7,7 +7,7 @@ import 'style/pages/HomePage/HomePage.scss';
|
|||||||
|
|
||||||
function HomepageContent() {
|
function HomepageContent() {
|
||||||
return (
|
return (
|
||||||
<div>
|
<div className="financial-reports">
|
||||||
<AccountsReceivableSection />
|
<AccountsReceivableSection />
|
||||||
<AccountsPayableSection />
|
<AccountsPayableSection />
|
||||||
<FinancialAccountingSection />
|
<FinancialAccountingSection />
|
||||||
|
|||||||
@@ -21,19 +21,11 @@ function ShortcutBoxes({ sectionTitle, shortcuts }) {
|
|||||||
<div className="section-title">{sectionTitle}</div>
|
<div className="section-title">{sectionTitle}</div>
|
||||||
<div className="financial-reports__list">
|
<div className="financial-reports__list">
|
||||||
<For render={ShortcutBox} of={shortcuts} />
|
<For render={ShortcutBox} of={shortcuts} />
|
||||||
|
|
||||||
{/* {shortcuts.map(({ title, link, description }) => (
|
|
||||||
<ShortcutBox title={title} description={description} link={link} />
|
|
||||||
))} */}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
export default function ShortcutBoxesSection({ section }) {
|
export default function ShortcutBoxesSection({ section }) {
|
||||||
return (
|
return <For render={ShortcutBoxes} of={section} />;
|
||||||
<div className="financial-reports">
|
|
||||||
<For render={ShortcutBoxes} of={section} />
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user