Files
portfolio/app/components/resume/ResumeEducation.vue
T
mahdiarghyani 73afa9f5a6 feat(resume): enhance styling and improve visual hierarchy across components
- Update section spacing from mb-6 to mb-8 for better visual separation
- Enhance heading styles with text-blue-700, increased padding (pb-1.5), and letter-spacing
- Improve typography hierarchy by changing font-semibold to font-bold for titles
- Increase spacing between list items and skill categories for better readability
- Add font-medium styling to dates and institution names for improved emphasis
- Enhance bullet point styling with explicit color and font-weight in experience highlights
- Reorganize ResumeHeader contact section with improved link styling and layout
- Promote Portfolio website link with bold styling and blue color for better visibility
- Adjust print-specific spacing to maintain consistency across screen and print layouts
- Update resume data with refined content structure
- Archive outdated resume content technical specification document
2025-12-06 11:28:45 +03:30

38 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-8 print:mb-5">
<h2
class="text-base font-bold text-blue-700 uppercase border-b-2 border-blue-600 pb-1.5 mb-4 print:mb-2.5 tracking-wide">
Education
</h2>
<div v-for="edu in education" :key="edu.institution + edu.startDate" class="mb-4 last:mb-0">
<div class="flex justify-between items-start">
<div>
<h3 class="text-sm font-bold text-gray-900">{{ edu.studyType }} in {{ edu.area }}</h3>
<p class="text-sm font-medium text-gray-600">{{ edu.institution }}</p>
</div>
<span class="text-sm text-gray-500 whitespace-nowrap font-medium">
{{ formatDateRange(edu.startDate, edu.endDate) }}
</span>
</div>
</div>
</section>
</template>