Adding about links, and removing pages map from navigation as pages like Privacy Policy don't belong there
This commit is contained in:
@@ -121,15 +121,12 @@ const Navigation = (props: any): JSX.Element => {
|
|||||||
>
|
>
|
||||||
Home
|
Home
|
||||||
</Link>
|
</Link>
|
||||||
{pages?.map((page: any) => (
|
<Link
|
||||||
<Link
|
href="/about"
|
||||||
key={page.id}
|
className="p-2"
|
||||||
href={`/${page.slug}`}
|
>
|
||||||
className="p-2"
|
About
|
||||||
>
|
</Link>
|
||||||
{page.title.rendered}
|
|
||||||
</Link>
|
|
||||||
))}
|
|
||||||
<Link
|
<Link
|
||||||
href="/portfolio"
|
href="/portfolio"
|
||||||
className="p-2"
|
className="p-2"
|
||||||
@@ -155,20 +152,14 @@ const Navigation = (props: any): JSX.Element => {
|
|||||||
Home
|
Home
|
||||||
</Button>
|
</Button>
|
||||||
</Link>
|
</Link>
|
||||||
{pages?.map((page: any) => (
|
<Link href="/about">
|
||||||
<Link
|
<Button
|
||||||
key={page.id}
|
variant={"ghost"}
|
||||||
href={`/${page.slug}`}
|
size={"lg"}
|
||||||
className="w-full"
|
|
||||||
>
|
>
|
||||||
<Button
|
About
|
||||||
size={"lg"}
|
</Button>
|
||||||
variant={"ghost"}
|
</Link>
|
||||||
>
|
|
||||||
{page.title.rendered}
|
|
||||||
</Button>
|
|
||||||
</Link>
|
|
||||||
))}
|
|
||||||
<Link href="/portfolio">
|
<Link href="/portfolio">
|
||||||
<Button
|
<Button
|
||||||
variant={"ghost"}
|
variant={"ghost"}
|
||||||
|
|||||||
Reference in New Issue
Block a user