Skip to content

Commit

Permalink
link fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ankushKun committed Aug 10, 2024
1 parent 83e6416 commit 661a87b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,24 +53,24 @@ const products: TProduct[] = [
title: "Command Line Interface for APM",
description: "Manage your AO packages from the terminal",
image: apmcli,
link: "https://www.npmjs.com/package/@betteridea/apm"
link: "https://www.npmjs.com/package/apm-tool"
}
]

function Navbar() {
const items = [
{ name: "Home", href: "#home" },
// { name: "Home", href: "#home" },
{ name: "Products", href: "#products" },
// { name: "Team", href: "#team" },
// { name: "Contact", href: "#contact" },
{ name: "Team", href: "#team" },
{ name: "Contact", href: "#contact" },
{ name: "Docs", href: "https://docs.betteridea.dev" },
]

const latestActiveUrl = typeof window !== 'undefined' ? window.location.href : '';
const activeUrl = latestActiveUrl.split('#')[1];

return <div className="z-20 flex flex-row max-w-[90vw] w-fit items-center justify-center gap-1.5 p-3 rounded-full border border-foreground/40 mx-auto fixed left-0 right-0 top-5 bg-background/70 backdrop-blur">
<Image src={logo} alt="BetterIDEa" width={30} height={30} className="ml-3" />
<Link href="#home"><Image src={logo} alt="BetterIDEa" width={30} height={30} className="ml-3" /></Link>
<div className="flex gap-1">
{
items.map(item => (
Expand Down

0 comments on commit 661a87b

Please sign in to comment.