put the jd and cnh pages in, still need to test that the re-directs still function as expected with the new platform

This commit is contained in:
csawatzky 2025-04-23 13:25:45 -06:00
parent eb7efada69
commit 424b75afb8
13 changed files with 1393 additions and 64 deletions

View file

@ -45,6 +45,8 @@ import FieldListIcon from "products/AgIcons/FieldList";
import MarketplaceIcon from "products/CommonIcons/marketplaceIcon";
import DataDuckIcon from "products/Bindapt/DataDuckIcon";
import ContractsIcon from "products/CommonIcons/contractIcon";
import JohnDeereIcon from "products/CommonIcons/johnDeereIcon";
import CNHiIcon from "products/CommonIcons/cnhiIcon";
const drawerWidth = 230;
@ -439,6 +441,34 @@ export default function SideNavigator(props: Props) {
{open && <ListItemText primary="Marketplace" />}
</ListItemButton>
</Tooltip>
{user.hasFeature("john-deere") &&
<Tooltip title="John Deere" placement="right">
<ListItemButton
id="tour-jd"
onClick={() => goTo("/johndeere")}
classes={getClasses("/johndeere")}
>
<ListItemIcon>
<JohnDeereIcon />
</ListItemIcon>
{open && <ListItemText primary="John Deere" />}
</ListItemButton>
</Tooltip>
}
{user.hasFeature("cnhi") &&
<Tooltip title="Case New Holland" placement="right">
<ListItemButton
id="tour-cnhi"
onClick={() => goTo("/cnhi")}
classes={getClasses("/cnhi")}
>
<ListItemIcon>
<CNHiIcon />
</ListItemIcon>
{open && <ListItemText primary="Case New Holland" />}
</ListItemButton>
</Tooltip>
}
</List>
)
}