Skip to content

Commit

Permalink
Adjust margin and padding in Navigation.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebstep committed Nov 21, 2024
1 parent 2dd2901 commit 12cdd97
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions components/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function ResponsiveAppBar() {
variant="h5"
component={Link}
href="/"
className="hidden md:flex font-mono font-bold tracking-wider text-white no-underline hover:opacity-90 mr-2">
className="hidden md:flex font-mono font-bold tracking-wider text-white no-underline hover:opacity-90 mr-4">
PATHFINDER
</Typography>

Expand Down Expand Up @@ -97,6 +97,7 @@ function ResponsiveAppBar() {
))}
</Menu>
</div>

{/* Logo for Mobile */}
<SignpostIcon sx={{ display: { xs: "flex", md: "none" }, mr: 1 }} />
<Typography
Expand All @@ -107,13 +108,14 @@ function ResponsiveAppBar() {
className="flex-grow md:hidden font-mono font-bold tracking-wider text-white no-underline hover:opacity-90">
PATHFINDER
</Typography>

{/* Desktop Navigation Menu */}
<nav className="hidden md:flex space-x-4">
{navlinks.map(({ title, path, target }) => (
<Link
key={title}
href={path}
className="rounded-lg px-3 py-1 text-gray-200 font-medium hover:bg-gray-200 hover:text-gray-900 transition-colors"
className="rounded-lg px-1 py-1 text-gray-200 font-medium hover:bg-gray-200 hover:text-gray-900 transition-colors"
target={target}>
{title}
</Link>
Expand Down

0 comments on commit 12cdd97

Please sign in to comment.