Adding portfolio to header navigation

This commit is contained in:
Frank
2023-10-08 17:36:06 -06:00
parent 3c087e227c
commit 7e1a8a6e23
2 changed files with 14 additions and 2 deletions

View File

@@ -130,6 +130,12 @@ const Navigation = (props: any): JSX.Element => {
{page.title.rendered}
</Link>
))}
<Link
href="/portfolio"
className="p-2"
>
Portfolio
</Link>
<Link
href="/blog"
className="p-2"
@@ -163,6 +169,14 @@ const Navigation = (props: any): JSX.Element => {
</Button>
</Link>
))}
<Link href="/portfolio">
<Button
variant={"ghost"}
size={"lg"}
>
Portfolio
</Button>
</Link>
<Link href="/blog">
<Button
variant={"ghost"}

View File

@@ -54,8 +54,6 @@ export default function Portfolio({ projects }: any): JSX.Element {
const ID = element.querySelector("img")?.dataset.projectid;
setSelectedID(ID);
}, [carouselChange]);
console.log(project);
return (
<Internal>
<div className="container mt-32 mb-12">