Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="#101010" />
<meta name="google-site-verification" content="kHnJ0PZ0FCgFgjd3dKqjJ9g7Y-IPCBF2srROJzVfMZ4" />
<meta name="description" content="Pedro Monteiro's personal website. Software Engineer based on Porto, Portugal." />
<title>pedro monteiro</title>
</head>
<body>
Expand Down
2 changes: 2 additions & 0 deletions public/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
User-agent: *
Allow: /
4 changes: 3 additions & 1 deletion src/components/NavBar/NavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ const NavBar = () => {
/>
))}

<hr className="w-1/2 border-t border-neutral-800" />
<li className="w-full flex justify-center">
<hr className="w-1/2 border-t border-neutral-800" />
</li>

<li className="rounded-lg transition-all duration-200 p-2 hover:bg-neutral-800 cursor-pointer">
<a
Expand Down
32 changes: 16 additions & 16 deletions src/components/NavBar/NavItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,24 @@ const NavItem = ({
onClick?: () => void;
}) => {
return (
<NavLink
to={route}
className={({ isActive }) =>
["rounded-lg transition-all duration-200", isActive ? "bg-neutral-800 opacity-100 " : ""].join(" ")
}
onClick={onClick}
>
<li
className={[
"p-2 rounded-lg",
"hover:bg-neutral-800",
"cursor-pointer",
"transition-colors duration-200",
].join(" ")}
<li>
<NavLink
to={route}
className={({ isActive }) =>
[
"rounded-lg transition-all duration-200",
"p-2 block",
"hover:bg-neutral-800",
"cursor-pointer",
"transition-colors duration-200",
isActive ? "bg-neutral-800 opacity-100 " : "",
].join(" ")
}
onClick={onClick}
>
<p className="text-white select-none text-2xl md:text-base">{label}</p>
</li>
</NavLink>
</NavLink>
</li>
);
};

Expand Down