Skip to content

Commit

Permalink
refactor: ♻️ Update link styling and opening
Browse files Browse the repository at this point in the history
  • Loading branch information
edwinhern committed Jan 27, 2025
1 parent da5f692 commit 97a5ad3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/features/home/projects/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ export const Projects: React.FC = async () => {
</ul>
<Link
target="_blank"
className="text-muted-foreground text-sm underline decoration-2 underline-offset-4 transition-colors hover:text-primary/80"
href={`${siteConfig.links.github}?tab=repositories`}
className="text-muted-foreground text-sm underline underline-offset-4 hover:text-primary"
rel="noreferrer"
>
See More...
Expand Down
7 changes: 6 additions & 1 deletion src/components/features/home/work/card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,12 @@ export function WorkCard({ title, company, imageSrc, date, link }: Readonly<Work
return (
<li className="rounded-lg transition-opacity" key={`${company}-${title}`}>
{link ? (
<Link href={link} className="-my-2 flex w-full justify-between py-3 no-underline">
<Link
href={link}
target="_blank"
className="-my-2 flex w-full justify-between py-3 no-underline"
rel="noreferrer"
>
{content}
</Link>
) : (
Expand Down

0 comments on commit 97a5ad3

Please sign in to comment.