mirror of
https://github.com/mmahdium/portfolio.git
synced 2026-08-17 05:24:30 +03:30
- Add print media queries to main.css for proper PDF export formatting - Ensure white background and light color scheme when printing - Refactor ResumeAdditionalInfo component to display skills in categorized format - Remove languages and certifications from additional info section - Add ResumeLanguages component for dedicated language display - Optimize spacing with print-specific margin utilities across all resume sections - Improve text wrapping and hyphenation in ResumeExperience component - Enhance ResumeHeader layout with print-optimized image sizing - Update resume data structure to support new component organization - Add research documentation on mentioning AI skills in resume - Update PDF export endpoint to work with refactored component structure - Remove outdated chat history file
37 lines
1.1 KiB
Vue
37 lines
1.1 KiB
Vue
<script setup lang="ts">
|
|
import type { Education } from '~/types/resume'
|
|
|
|
interface Props {
|
|
education: Education[]
|
|
}
|
|
|
|
defineProps<Props>()
|
|
const { formatDate } = useResumeData()
|
|
|
|
function formatDateRange(start: string, end?: string): string {
|
|
const startFormatted = formatDate(start)
|
|
const endFormatted = end ? formatDate(end) : 'Present'
|
|
return `${startFormatted} - ${endFormatted}`
|
|
}
|
|
</script>
|
|
|
|
<template>
|
|
<section class="mb-6 print:mb-4">
|
|
<h2 class="text-base font-bold text-blue-600 uppercase border-b-2 border-blue-600 pb-1 mb-3">
|
|
Education
|
|
</h2>
|
|
|
|
<div v-for="edu in education" :key="edu.institution + edu.startDate" class="mb-3 last:mb-0">
|
|
<div class="flex justify-between items-start">
|
|
<div>
|
|
<h3 class="text-sm font-semibold text-gray-800">{{ edu.studyType }} in {{ edu.area }}</h3>
|
|
<p class="text-sm text-gray-600">{{ edu.institution }}</p>
|
|
</div>
|
|
<span class="text-sm text-gray-500 whitespace-nowrap">
|
|
{{ formatDateRange(edu.startDate, edu.endDate) }}
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</template>
|