Adding portfolio to header navigation
This commit is contained in:
@@ -130,6 +130,12 @@ const Navigation = (props: any): JSX.Element => {
|
|||||||
{page.title.rendered}
|
{page.title.rendered}
|
||||||
</Link>
|
</Link>
|
||||||
))}
|
))}
|
||||||
|
<Link
|
||||||
|
href="/portfolio"
|
||||||
|
className="p-2"
|
||||||
|
>
|
||||||
|
Portfolio
|
||||||
|
</Link>
|
||||||
<Link
|
<Link
|
||||||
href="/blog"
|
href="/blog"
|
||||||
className="p-2"
|
className="p-2"
|
||||||
@@ -163,6 +169,14 @@ const Navigation = (props: any): JSX.Element => {
|
|||||||
</Button>
|
</Button>
|
||||||
</Link>
|
</Link>
|
||||||
))}
|
))}
|
||||||
|
<Link href="/portfolio">
|
||||||
|
<Button
|
||||||
|
variant={"ghost"}
|
||||||
|
size={"lg"}
|
||||||
|
>
|
||||||
|
Portfolio
|
||||||
|
</Button>
|
||||||
|
</Link>
|
||||||
<Link href="/blog">
|
<Link href="/blog">
|
||||||
<Button
|
<Button
|
||||||
variant={"ghost"}
|
variant={"ghost"}
|
||||||
|
|||||||
@@ -54,8 +54,6 @@ export default function Portfolio({ projects }: any): JSX.Element {
|
|||||||
const ID = element.querySelector("img")?.dataset.projectid;
|
const ID = element.querySelector("img")?.dataset.projectid;
|
||||||
setSelectedID(ID);
|
setSelectedID(ID);
|
||||||
}, [carouselChange]);
|
}, [carouselChange]);
|
||||||
|
|
||||||
console.log(project);
|
|
||||||
return (
|
return (
|
||||||
<Internal>
|
<Internal>
|
||||||
<div className="container mt-32 mb-12">
|
<div className="container mt-32 mb-12">
|
||||||
|
|||||||
Reference in New Issue
Block a user