Skip to content

Commit

Permalink
bring back mobile menu and change app title and ico (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
januschung authored Oct 19, 2024
1 parent fbc9f44 commit 92f97e8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
Binary file modified public/favicon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
<title>Job Winner</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
10 changes: 9 additions & 1 deletion src/components/PrimarySearchAppBar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import SearchBar from './SearchBar';
import JobApplicationDialog from './JobApplicationDialog';
import ProfileDialog from './ProfileDialog';
import JobApplicationList from './JobApplicationList';
import MobileMenu from './MobileMenu';

export default function PrimarySearchAppBar() {
const [mobileMoreAnchorEl, setMobileMoreAnchorEl] = useState(null);
Expand Down Expand Up @@ -63,7 +64,7 @@ export default function PrimarySearchAppBar() {
/>
<AppBar position="static">
<Toolbar>
<EmojiEventsIcon sx={{ mr: 2 }} />
<EmojiEventsIcon sx={{ color: '#FFD700', mr: 2 }} />
<Typography
variant="h6"
noWrap
Expand Down Expand Up @@ -122,6 +123,13 @@ export default function PrimarySearchAppBar() {
</IconButton>
</Box>
</Toolbar>
<MobileMenu
mobileMoreAnchorEl={mobileMoreAnchorEl}
isMobileMenuOpen={isMobileMenuOpen}
handleMobileMenuClose={handleMobileMenuClose}
handleProfileMenuOpen={handleProfileMenuOpen}
handleJobApplicationOpen={handleJobApplicationOpen}
/>
</AppBar>
<JobApplicationList searchTerm={searchTerm} />
</Box>
Expand Down

0 comments on commit 92f97e8

Please sign in to comment.