Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Commit

Permalink
refactor: match View Pdf a tags
Browse files Browse the repository at this point in the history
  • Loading branch information
hetd54 committed Jul 15, 2024
1 parent 589f127 commit 4709313
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/Publications.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@ const PublicationSection: React.FC<PubProps> = ({ publications }) => {
<div className="flex flex-col gap-8">
<p>{publication.citation}</p>
{publication.pdf && (
<button
className="bg-neutral-500 text-neutral-50 rounded-full py-3 px-7 w-2/3"
onClick={() => window.open(`${publication.pdf}`, "_blank")}
<a
className="no-underline bg-neutral-500 text-neutral-50 rounded-full py-3 px-7 w-max"
href={publication.pdf}
>
View PDF
</button>
</a>
)}
</div>
</div>
Expand Down

0 comments on commit 4709313

Please sign in to comment.