Adding about links, and removing pages map from navigation as pages like Privacy Policy don't belong there

This commit is contained in:
Frank
2023-10-10 21:20:23 -06:00
parent 425830ea3b
commit 90348ae253

View File

@@ -121,15 +121,12 @@ const Navigation = (props: any): JSX.Element => {
>
Home
</Link>
{pages?.map((page: any) => (
<Link
key={page.id}
href={`/${page.slug}`}
href="/about"
className="p-2"
>
{page.title.rendered}
About
</Link>
))}
<Link
href="/portfolio"
className="p-2"
@@ -155,20 +152,14 @@ const Navigation = (props: any): JSX.Element => {
Home
</Button>
</Link>
{pages?.map((page: any) => (
<Link
key={page.id}
href={`/${page.slug}`}
className="w-full"
>
<Link href="/about">
<Button
size={"lg"}
variant={"ghost"}
size={"lg"}
>
{page.title.rendered}
About
</Button>
</Link>
))}
<Link href="/portfolio">
<Button
variant={"ghost"}