Removed: Footer and search bar
This commit is contained in:
@@ -57,7 +57,7 @@ import {
|
||||
setMiniSidenav,
|
||||
setOpenConfigurator
|
||||
} from 'context';
|
||||
import SearchBar from 'components/SearchBar';
|
||||
// import SearchBar from 'components/SearchBar';
|
||||
import { Box } from '@mui/material';
|
||||
|
||||
function DashboardNavbar({ absolute, light, isMini, children }) {
|
||||
@@ -150,7 +150,7 @@ function DashboardNavbar({ absolute, light, isMini, children }) {
|
||||
{isMini ? null : (
|
||||
<MDBox display="flex" width="100% !important" max-width="100% !important">
|
||||
<MDBox sx={{ width: '100%', maxWidth: '100%' }} pr={3}>
|
||||
<SearchBar />
|
||||
Company Name
|
||||
</MDBox>
|
||||
<MDBox display="flex" color={light ? 'white' : 'inherit'}>
|
||||
<IconButton
|
||||
|
||||
@@ -2,7 +2,6 @@ import { useDispatch } from 'react-redux';
|
||||
|
||||
import MDBox from 'components/MDBox';
|
||||
import DashboardNavbar from 'components/DashboardNavbar';
|
||||
import Footer from 'components/Footer';
|
||||
import DashboardLayout from 'layouts/DashboardLayout';
|
||||
import AuthActions from 'redux/AuthRedux';
|
||||
|
||||
@@ -16,7 +15,6 @@ function DashboardScreen() {
|
||||
<h1>Hello Dashboard</h1>
|
||||
<button onClick={handleLogout}>Logout</button>
|
||||
</MDBox>
|
||||
<Footer />
|
||||
</DashboardLayout>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import DashboardNavbar from 'components/DashboardNavbar';
|
||||
import Footer from 'components/Footer';
|
||||
import DashboardLayout from 'layouts/DashboardLayout';
|
||||
import SetupIcon from 'assets/images/SetupIcon';
|
||||
import SearchInventoryIcon from 'assets/images/SearchInventoryIcon';
|
||||
@@ -35,7 +34,6 @@ function HomepageScreen() {
|
||||
<DashboardLayout>
|
||||
<DashboardNavbar />
|
||||
<TileBasic tiles={data} />
|
||||
<Footer />
|
||||
</DashboardLayout>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import DashboardNavbar from 'components/DashboardNavbar';
|
||||
import Footer from 'components/Footer';
|
||||
import DashboardLayout from 'layouts/DashboardLayout';
|
||||
import { Grid, InputLabel, TableBody, TableCell, TableRow } from '@mui/material';
|
||||
import MDInput from 'components/MDInput';
|
||||
@@ -250,7 +249,6 @@ function InventoryScreen() {
|
||||
</Grid>
|
||||
</MDBox>
|
||||
</MDBox>
|
||||
<Footer />
|
||||
</DashboardLayout>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import MDBox from 'components/MDBox';
|
||||
import DashboardNavbar from 'components/DashboardNavbar';
|
||||
import Footer from 'components/Footer';
|
||||
import DashboardLayout from 'layouts/DashboardLayout';
|
||||
import { makeStyles } from '@mui/styles';
|
||||
import Dropdown from 'components/Dropdown';
|
||||
@@ -170,7 +169,6 @@ function LabelingScreen() {
|
||||
<MDButton color="primary">{'Print Labels'}</MDButton>
|
||||
</div>
|
||||
</MDBox>
|
||||
<Footer />
|
||||
</DashboardLayout>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import DashboardNavbar from 'components/DashboardNavbar';
|
||||
import Footer from 'components/Footer';
|
||||
import DashboardLayout from 'layouts/DashboardLayout';
|
||||
import LocationLabelIcon from 'assets/images/LocationLabelIcon';
|
||||
import WidgetLabelIcon from 'assets/images/WidgetLabelIcon';
|
||||
@@ -23,7 +22,6 @@ function LabelingHome() {
|
||||
<DashboardLayout>
|
||||
<DashboardNavbar />
|
||||
<TileBasic tiles={data} />
|
||||
<Footer />
|
||||
</DashboardLayout>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -5,7 +5,6 @@ import InventoryIcon from 'assets/images/InventoryIcon';
|
||||
import ProfileCircleIcon from 'assets/images/ProfileCircleIcon';
|
||||
import LabelIcon from 'assets/images/LabelIcon';
|
||||
import TileBasic from 'components/TileBasic';
|
||||
import Footer from 'components/Footer';
|
||||
|
||||
function SetupHome() {
|
||||
const data = [
|
||||
@@ -34,7 +33,6 @@ function SetupHome() {
|
||||
<DashboardLayout>
|
||||
<DashboardNavbar />
|
||||
<TileBasic tiles={data} />
|
||||
<Footer />
|
||||
</DashboardLayout>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import MDBox from 'components/MDBox';
|
||||
import DashboardNavbar from 'components/DashboardNavbar';
|
||||
import Footer from 'components/Footer';
|
||||
import DashboardLayout from 'layouts/DashboardLayout';
|
||||
import EquipmentIcon from 'assets/images/EquimpmentIcon';
|
||||
import ProductsIcon from 'assets/images/ProductsIcon';
|
||||
@@ -18,7 +17,12 @@ function SetupInventory() {
|
||||
},
|
||||
{
|
||||
name: 'Products',
|
||||
path: { update: '/', addNew: '/setup/inventory/product/add-new-product', cycleCount: '/', list: '/' },
|
||||
path: {
|
||||
update: '/',
|
||||
addNew: '/setup/inventory/product/add-new-product',
|
||||
cycleCount: '/',
|
||||
list: '/'
|
||||
},
|
||||
icon: <ProductsIcon />
|
||||
},
|
||||
{
|
||||
@@ -45,7 +49,6 @@ function SetupInventory() {
|
||||
))}
|
||||
</Grid>
|
||||
</MDBox>
|
||||
<Footer />
|
||||
</DashboardLayout>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import React, { useEffect, useMemo } from 'react';
|
||||
import MDBox from 'components/MDBox';
|
||||
import DashboardNavbar from 'components/DashboardNavbar';
|
||||
import Footer from 'components/Footer';
|
||||
import DashboardLayout from 'layouts/DashboardLayout';
|
||||
import { styled } from '@mui/material/styles';
|
||||
import { makeStyles } from '@mui/styles';
|
||||
@@ -215,7 +214,6 @@ function UserAccessScreen() {
|
||||
</BasicTable>
|
||||
</TabPanel>
|
||||
</MDBox>
|
||||
<Footer />
|
||||
</DashboardLayout>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import DashboardNavbar from 'components/DashboardNavbar';
|
||||
import Footer from 'components/Footer';
|
||||
import DashboardLayout from 'layouts/DashboardLayout';
|
||||
import TileBasic from 'components/TileBasic';
|
||||
import { API } from 'constant';
|
||||
@@ -43,7 +42,6 @@ function WarehouseScreen() {
|
||||
path: '/setup/warehouse/edit-warehouse'
|
||||
}))}
|
||||
/>
|
||||
<Footer />
|
||||
</DashboardLayout>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user