Skip to content

Commit

Permalink
chore(docs): adjust navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
jrgarciadev committed May 27, 2024
1 parent 5457ba7 commit 85c7394
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
8 changes: 4 additions & 4 deletions apps/docs/components/marketing/hero/hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ export const Hero = () => {
color="default"
href="/blog/v2.3.0"
variant="dot"
onClick={() => handlePressAnnouncement("Introducing v2.3.0", "/blog/v2.3.0")}
onClick={() => handlePressAnnouncement("New version v2.4.0", "/blog/v2.4.0")}
>
Introducing v2.3.0 
<span aria-label="tada emoji" role="img">
🎉
New version v2.4.0&nbsp;
<span aria-label="emoji" role="img">
🚀
</span>
</Chip>
</div>
Expand Down
10 changes: 5 additions & 5 deletions apps/docs/components/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -312,13 +312,13 @@ export const Navbar: FC<NavbarProps> = ({children, routes, mobileRoutes = [], sl
as={NextLink}
className="bg-default-100/50 hover:bg-default-100 border-default-200/80 dark:border-default-100/80 transition-colors cursor-pointer"
color="default"
href="/blog/v2.3.0"
href="/blog/v2.4.0"
variant="dot"
onClick={() => handlePressNavbarItem("Introducing v2.3.0", "/blog/v2.3.0")}
onClick={() => handlePressNavbarItem("New version v2.4.0", "/blog/v2.4.0")}
>
Introducing v2.3.0&nbsp;
<span aria-label="tada emoji" role="img">
🎉
New version v2.4.0&nbsp;
<span aria-label="emoji" role="img">
🚀
</span>
</Chip>
</NavbarItem>
Expand Down
4 changes: 1 addition & 3 deletions apps/docs/content/blog/v2.4.0.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ author:
name: "WK Wong"
username: "@wingkwong"
link: "https://github.com/wingkwong"
avatar: "/android-chrome-192x192.png"
avatar: "https://avatars.githubusercontent.com/u/35857179?v=4"
---

<img
Expand Down Expand Up @@ -276,8 +276,6 @@ For a full list of changes, please refer to the [release notes](https://github.c

<Spacer y={6} />

We hope you enjoy these new components and the new features. We're excited to see what you build with them!

Thanks for reading and happy coding! 🚀

---
Expand Down

0 comments on commit 85c7394

Please sign in to comment.