|
|
|
@ -1,10 +1,21 @@ |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<MyCv /> |
|
|
|
<MyCv /> |
|
|
|
<div class="menu"> |
|
|
|
<div class="menu"> |
|
|
|
<button @click="downloadPdf()"> |
|
|
|
<a role="button" href="./CV-NicolasMarsal.pdf" download> |
|
|
|
<DownloadIcon width="32" height="32" /> |
|
|
|
<DownloadIcon width="32" height="32" /> |
|
|
|
</button> |
|
|
|
</a> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div |
|
|
|
|
|
|
|
style=" |
|
|
|
|
|
|
|
position: absolute; |
|
|
|
|
|
|
|
top: 0; |
|
|
|
|
|
|
|
left: 0; |
|
|
|
|
|
|
|
background-color: rgba(0, 0, 0, 0); |
|
|
|
|
|
|
|
" |
|
|
|
|
|
|
|
width="20px" |
|
|
|
|
|
|
|
height="20px" |
|
|
|
|
|
|
|
@click.shift.alt="generatePdf()" |
|
|
|
|
|
|
|
/> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
<script lang="ts"> |
|
|
|
<script lang="ts"> |
|
|
|
@ -27,7 +38,7 @@ export default defineComponent({ |
|
|
|
}; |
|
|
|
}; |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
downloadPdf() { |
|
|
|
generatePdf() { |
|
|
|
this.unselect(); |
|
|
|
this.unselect(); |
|
|
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment |
|
|
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment |
|
|
|
// @ts-ignore |
|
|
|
// @ts-ignore |
|
|
|
|