mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-14 08:42:08 +10:00
Merge pull request #1114 from tryallthethings/pdf-template-fix
Fix for links in PDFs, template fix
This commit is contained in:
@ -83,7 +83,7 @@ export const MastheadSidebar: React.FC = () => {
|
|||||||
icon={getProfileIcon(network)}
|
icon={getProfileIcon(network)}
|
||||||
link={url && addHttp(url)}
|
link={url && addHttp(url)}
|
||||||
className="!gap-2 text-xs"
|
className="!gap-2 text-xs"
|
||||||
textClassName="invert"
|
textClassName={clsx({ invert: contrast === 'light' })}
|
||||||
>
|
>
|
||||||
{username}
|
{username}
|
||||||
</DataDisplay>
|
</DataDisplay>
|
||||||
|
|||||||
@ -15,7 +15,7 @@ const DataDisplay: React.FC<React.PropsWithChildren<Props>> = ({ icon, link, cla
|
|||||||
return (
|
return (
|
||||||
<div className={clsx('inline-flex items-center gap-1', className)}>
|
<div className={clsx('inline-flex items-center gap-1', className)}>
|
||||||
{icon}
|
{icon}
|
||||||
<a href={link} target="_blank" rel="noreferrer" className={textClassName}>
|
<a href={link} target="_blank" rel="noreferrer" className="{textClassName}">
|
||||||
{children}
|
{children}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user