Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
JaiNarayanan committed Sep 6, 2024
1 parent 2aca3e2 commit 4e23651
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 14 deletions.
4 changes: 2 additions & 2 deletions components/NavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ const NAVIGATION = [
right: false,
},
{
name: "Community Projects",
href: "/startups",
name: "Projects",
href: "/projects",
right: false,
},
{
Expand Down
20 changes: 11 additions & 9 deletions components/startups/StartupTile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -235,15 +235,17 @@ export default function StartupTile({ startup }: { startup: Startup }) {
{name}
</h1>
</div>
<a
href={website}
target="_blank"
rel="noopener noreferrer"
className="flex flex-row items-center gap-1 text-gray-500"
>
<ExternalLinkIcon className=" inline-block h-5 w-5" />
<p className="inline-block underline">Website</p>
</a>
{website && (
<a
href={website}
target="_blank"
rel="noopener noreferrer"
className="flex flex-row items-center gap-1 text-gray-500"
>
<ExternalLinkIcon className=" inline-block h-5 w-5" />
<p className="inline-block underline">Website</p>
</a>
)}
</div>
<button
type="button"
Expand Down
6 changes: 3 additions & 3 deletions pages/projects/index.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import { NextPage } from "next";
import Head from "../../components/Head";
import NavbarBuilder from "../../components/NavBar";
import ProjectLayout from "../../components/ProjectLayout";
import DirectoryLayout from "../../components/DirectoryLayout";

const Projects: NextPage = () => (
<>
<Head title="Projects" />
<NavbarBuilder />
<ProjectLayout
title="V1 Community Projects"
<DirectoryLayout
title="Startup Directory"
description="Under construction! Check back soon."
link="https://www.google.com"
/>
Expand Down

0 comments on commit 4e23651

Please sign in to comment.