Skip to content

Commit

Permalink
Fixes issue AOSSIE-Org#203 added href to know more and project link
Browse files Browse the repository at this point in the history
  • Loading branch information
DurgeshCodes committed Sep 25, 2024
1 parent d9dd24c commit 19ef274
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
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

0 comments on commit 19ef274

Please sign in to comment.