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 4abc263
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 49 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.

8 changes: 2 additions & 6 deletions src/views/CVView.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<script setup lang="ts">
import { Avatar, AvatarFallback } from '@/components/ui/avatar'
import { Badge } from '@/components/ui/badge'
import { Card, CardContent, CardHeader } from '@/components/ui/card'
import { ProjectCard } from '@/components/ui/projectCard'
Expand Down Expand Up @@ -37,13 +36,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 +68,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 4abc263

Please sign in to comment.