Skip to content

Commit

Permalink
Include data-url on link also
Browse files Browse the repository at this point in the history
  • Loading branch information
molly committed May 1, 2024
1 parent d9326cf commit d1cf2be
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/components/timeline/Entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,10 @@ export default function Entry({
} else {
// No JS
return (
<Link href={noJsPermalink}>
<Link
href={noJsPermalink}
data-url={`https://www.web3isgoinggreat.com/?id=${entry.readableId}`}
>
<i className="fas fa-link" title="Permalink" />
</Link>
);
Expand Down Expand Up @@ -438,12 +441,7 @@ export default function Entry({
className={`timeline-entry ${className}`}
ref={shouldScrollToElement ? ref : null}
>
<div
className={clsx(
"timeline-icon",
entry.color || "purple"
)}
>
<div className={clsx("timeline-icon", entry.color || "purple")}>
{renderIcon()}
</div>

Expand Down

0 comments on commit d1cf2be

Please sign in to comment.