[resumes][chore] disable pdf highlighting

pull/396/head
peirong.wu 2 years ago
parent 1ed11d9787
commit 410bf290c9

@ -58,7 +58,11 @@ export default function ResumePdf({ url }: Props) {
: '', : '',
), ),
}}> }}>
<Page pageNumber={pageNumber} width={pageWidth} /> <Page
pageNumber={pageNumber}
renderTextLayer={false}
width={pageWidth}
/>
</div> </div>
<div className="absolute top-2 right-5 hidden hover:block group-hover:block"> <div className="absolute top-2 right-5 hidden hover:block group-hover:block">
<Button <Button

@ -33,7 +33,7 @@ export function Hero() {
</Link> </Link>
<Link href="https://www.youtube.com/watch?v=dQw4w9WgXcQ"> <Link href="https://www.youtube.com/watch?v=dQw4w9WgXcQ">
<button <button
className="group inline-flex items-center justify-center py-2 px-4 text-sm ring-1 ring-slate-200 hover:text-slate-900 hover:ring-slate-300 focus:outline-none focus-visible:outline-indigo-600 focus-visible:ring-slate-300 active:bg-slate-100 active:text-slate-600" className="group inline-flex items-center justify-center rounded-md py-2 px-4 text-sm ring-1 ring-slate-200 hover:text-slate-900 hover:ring-slate-300 focus:outline-none focus-visible:outline-indigo-600 focus-visible:ring-slate-300 active:bg-slate-100 active:text-slate-600"
type="button"> type="button">
<svg <svg
aria-hidden="true" aria-hidden="true"

Loading…
Cancel
Save