Skip to content

Commit c64a807

Browse files
committed
fix(resume): improve PDF layout and hide single project names
- Hide project names when experience has only one project - Force Contributions section to start on new page - Add spacing adjustments for better readability
1 parent e38fdb2 commit c64a807

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

apps/mavrodev/public/resume.pdf

3 Bytes
Binary file not shown.

apps/mavrodev/scripts/generate-resume.tsx

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -684,11 +684,14 @@ const ResumePDF = () => {
684684
.slice(0, 2)
685685
.map((project, pIndex) => (
686686
<View key={pIndex}>
687-
<Text
688-
style={styles.projectSubtitle}
689-
>
690-
{project.name}
691-
</Text>
687+
{/* Only show project name if there are multiple projects */}
688+
{exp.projects.length > 1 && (
689+
<Text
690+
style={styles.projectSubtitle}
691+
>
692+
{project.name}
693+
</Text>
694+
)}
692695
{getHighlights(
693696
project.highlights,
694697
).map((highlight, hIndex) => (
@@ -737,7 +740,7 @@ const ResumePDF = () => {
737740
</View>
738741

739742
{/* Contributions Section - Only Nango */}
740-
<View style={styles.section}>
743+
<View style={[styles.section, { marginTop: 20, breakBefore: 'page' }] as any}>
741744
<Text style={styles.sectionTitle}>Contributions</Text>
742745

743746
{nangoContribution && (

0 commit comments

Comments
 (0)