Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes issue #206 added href to know more and project link #272

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/pages/ideas/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ function Article({ article }) {
{article.title}
</Card.Title>
<Card.Description>{article.description}</Card.Description>
<Card.Cta>Know More</Card.Cta>
<Link href={`/ideas/2024/${article.slug}`}>
<Card.Cta>Know More</Card.Cta>
</Link>
</Card>
</article>
)
Expand Down
11 changes: 7 additions & 4 deletions src/pages/projects.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import Image from 'next/image'
import Head from 'next/head'
import Link from 'next/link'

import { Container } from '@/components/Container'
import { SectionHeading } from '@/components/SectionHeading'
Expand Down Expand Up @@ -54,10 +55,12 @@ export default function Projects() {
<Card.Link href={project.link.href}>{project.name}</Card.Link>
</h2>
<Card.Description>{project.description}</Card.Description>
<p className="relative z-10 mt-6 flex text-md font-semibold font-mono text-zinc-600 transition group-hover:text-[#00843D] dark:group-hover:text-yellow-400 dark:text-zinc-200">
<LinkIcon className="h-6 w-6 flex-none scale-110" />
<span className="ml-2">{project.link.label}</span>
</p>
<Link href={project.link.href}>
<p className="text-md relative z-10 mt-6 flex font-mono font-semibold text-zinc-600 transition group-hover:text-[#00843D] dark:text-zinc-200 dark:group-hover:text-yellow-400">
<LinkIcon className="flex-none w-6 h-6 scale-110" />
<span className="ml-2">{project.link.label}</span>
</p>
</Link>
</Card>
))}
</ul>
Expand Down