improve discord link in nav (#929)

Discord text is better than icon and link to invite rather than channel
This commit is contained in:
Ryan Dahl
2022-12-01 21:19:28 -08:00
committed by GitHub
parent 81d73ba0a6
commit 7b95d22f76
2 changed files with 4 additions and 33 deletions
+4 -8
View File
@@ -16,6 +16,10 @@ export default function NavigationBar(
name: "Components",
href: "/components",
},
{
name: "Discord",
href: "https://discord.com/invite/deno",
},
];
const isHome = props.active == "/";
return (
@@ -44,14 +48,6 @@ export default function NavigationBar(
<Icons.GitHub />
</a>
</li>
<li class="flex items-center">
<a
href="https://discord.com/channels/684898665143206084/991511118524715139"
class="hover:text-green-600 inline-block"
>
<Icons.Discord />
</a>
</li>
</ul>
</nav>
);