Skip to content

Commit

Permalink
landing page changes
Browse files Browse the repository at this point in the history
  • Loading branch information
BurhanCantCode committed Aug 3, 2024
1 parent 6367036 commit 9c04b4c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { NextPage } from 'next';
import { Typography, Button, Grid, Paper, Box } from '@mui/material';
import { Typography, Button, Grid, Paper, Box, Container } from '@mui/material';
import { useAuth } from '../hooks/useAuth';
import InventoryStats from '../components/InventoryStats';
import Link from 'next/link';
Expand All @@ -9,11 +9,11 @@ const Home: NextPage = () => {
const { user } = useAuth();

return (
<Box>
<Typography variant="h2" component="h1" gutterBottom align="center">
<Container maxWidth="md" sx={{ textAlign: 'center', mt: 8 }}>
<Typography variant="h2" component="h1" gutterBottom>
Welcome to Pantry Manager
</Typography>
<Typography variant="h5" align="center" color="textSecondary" paragraph>
<Typography variant="h5" color="textSecondary" paragraph>
Efficiently manage your pantry, reduce waste, and never run out of essentials again.
</Typography>

Expand Down Expand Up @@ -56,15 +56,15 @@ const Home: NextPage = () => {
</Grid>
</>
) : (
<Box sx={{ mt: 4, textAlign: 'center' }}>
<Box sx={{ mt: 4 }}>
<Link href="/login" passHref>
<Button variant="contained" color="primary" size="large">
Get Started
</Button>
</Link>
</Box>
)}
</Box>
</Container>
);
};

Expand Down

0 comments on commit 9c04b4c

Please sign in to comment.