Files
stockfill/src/screens/HomeScreen.tsx
T
beatzaplenty d6b784ad11 Moved to lazy loading modules and configured build chunking
modified:   package-lock.json
	modified:   package.json
	modified:   src/App.tsx
	modified:   src/screens/ActivePickListScreen.test.tsx
	modified:   src/screens/ActivePickListScreen.tsx
	modified:   src/screens/BarcodeScannerScreen.tsx
	modified:   src/screens/HomeScreen.tsx
	modified:   src/screens/ImportExportScreen.tsx
	modified:   src/screens/ManageAreasScreen.test.tsx
	modified:   src/screens/ManageAreasScreen.tsx
	modified:   src/screens/ManageCategoriesScreen.test.tsx
	modified:   src/screens/ManageCategoriesScreen.tsx
	modified:   src/screens/ManageProductsScreen.test.tsx
	modified:   src/screens/ManageProductsScreen.tsx
	modified:   src/screens/PickListsScreen.test.tsx
	modified:   src/screens/PickListsScreen.tsx
	modified:   src/screens/StartPickListScreen.test.tsx
	modified:   src/screens/StartPickListScreen.tsx
	modified:   tsconfig.json
	modified:   vite.config.ts
2025-11-26 09:34:18 +10:00

32 lines
1.0 KiB
TypeScript

import { Button, Container, Stack, Typography } from '@mui/material';
import { Link as RouterLink } from 'react-router-dom';
const HomeScreen = () => (
<Container sx={{ py: 4 }}>
<Typography variant="h4" gutterBottom>
StockFill
</Typography>
<Stack spacing={2}>
<Button component={RouterLink} to="/start" variant="contained">
Create Pick List
</Button>
<Button component={RouterLink} to="/pick-lists" variant="outlined">
View & Edit Pick Lists
</Button>
<Button component={RouterLink} to="/products" variant="outlined">
Manage Products
</Button>
<Button component={RouterLink} to="/areas" variant="outlined">
Manage Areas
</Button>
<Button component={RouterLink} to="/scan" variant="outlined">
Scan Barcode
</Button>
<Typography variant="body2" color="text.secondary" sx={{ mt: 2 }}>
Product data provided by Open Food Facts (openfoodfacts.org)
</Typography>
</Stack>
</Container>
);
export default HomeScreen;