Skip to content

Commit

Permalink
#2794 added alert to guest home page
Browse files Browse the repository at this point in the history
  • Loading branch information
chpy04 committed Sep 17, 2024
1 parent b5d4915 commit 2a0b1c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/frontend/src/pages/HomePage/GuestHomePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import PageLayout from '../../components/PageLayout';
import { AuthenticatedUser } from 'shared';
import ImageWithButton from './components/ImageWithButton';
import emitter from '../../app/EventBus';
import MemberEncouragement from './components/MemberEncouragement';

interface GuestHomePageProps {
user: AuthenticatedUser;
Expand All @@ -20,6 +21,7 @@ const GuestHomePage = ({ user, setOnMemberHomePage }: GuestHomePageProps) => {
<Typography variant="h3" textAlign="center" sx={{ mt: 2, pt: 3 }}>
{user ? `Welcome, ${user.firstName}!` : 'Welcome, Guest!'}
</Typography>
<MemberEncouragement />
<Box sx={{ display: 'flex', mt: 4 }}>
<Box sx={{ display: 'flex', padding: '50px', gap: 5 }}>
<ImageWithButton
Expand Down

0 comments on commit 2a0b1c6

Please sign in to comment.