Skip to content

Commit

Permalink
remove avatar from cv
Browse files Browse the repository at this point in the history
  • Loading branch information
martinmiglio committed Nov 28, 2024
1 parent 252ee0e commit e0686ae
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 48 deletions.
17 changes: 0 additions & 17 deletions src/components/ui/avatar/Avatar.vue

This file was deleted.

14 changes: 0 additions & 14 deletions src/components/ui/avatar/AvatarFallback.vue

This file was deleted.

9 changes: 0 additions & 9 deletions src/components/ui/avatar/AvatarImage.vue

This file was deleted.

3 changes: 0 additions & 3 deletions src/components/ui/avatar/index.ts

This file was deleted.

7 changes: 2 additions & 5 deletions src/views/CVView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ const exportToPdf = async () => {
scale: 0.53,
xMargin: 15,
yMargin: 10,
documentModifier: (clonedDoc: HTMLDocument) => {
documentModifier: (clonedDoc) => {
const badges = clonedDoc.querySelectorAll('#shadcn-badge')
badges?.forEach((badge) => {
badge.classList.add('pb-3')
})
},
ignoreElements: (element: HTMLElement) => {
ignoreElements: (element) => {
return element.id === 'print-ignore'
}
})
Expand All @@ -69,9 +69,6 @@ const exportToPdf = async () => {
</a>
</p>
</div>
<Avatar class="h-32 w-32" id="print-ignore">
<AvatarFallback>{{ RESUME_DATA.initials }}</AvatarFallback>
</Avatar>
</div>
<section class="flex min-h-0 flex-col gap-y-3">
<h2 class="text-xl font-bold">About</h2>
Expand Down

0 comments on commit e0686ae

Please sign in to comment.