mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-14 16:51:33 +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)}
|
||||
link={url && addHttp(url)}
|
||||
className="!gap-2 text-xs"
|
||||
textClassName="invert"
|
||||
textClassName={clsx({ invert: contrast === 'light' })}
|
||||
>
|
||||
{username}
|
||||
</DataDisplay>
|
||||
|
||||
@ -15,7 +15,7 @@ const DataDisplay: React.FC<React.PropsWithChildren<Props>> = ({ icon, link, cla
|
||||
return (
|
||||
<div className={clsx('inline-flex items-center gap-1', className)}>
|
||||
{icon}
|
||||
<a href={link} target="_blank" rel="noreferrer" className={textClassName}>
|
||||
<a href={link} target="_blank" rel="noreferrer" className="{textClassName}">
|
||||
{children}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user