Skip to content

Commit 8c7d408

Browse files
committed
fix(mavrodev): small fix resume
1 parent 1ac7dae commit 8c7d408

File tree

2 files changed

+18
-12
lines changed

2 files changed

+18
-12
lines changed

apps/mavrodev/public/resume.pdf

-3 Bytes
Binary file not shown.

apps/mavrodev/scripts/generate-resume.tsx

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ const getHighlights = (
449449
if (!limit) {
450450
return [...highlights.primary, ...(highlights.secondary || [])];
451451
}
452-
452+
453453
const primary = highlights.primary.slice(
454454
0,
455455
Math.min(limit, highlights.primary.length),
@@ -467,7 +467,7 @@ const getHighlights = (
467467
if (!limit) {
468468
return highlights;
469469
}
470-
470+
471471
return highlights.slice(0, limit);
472472
};
473473

@@ -483,12 +483,8 @@ const ResumePDF = () => {
483483
return b.period.start.getTime() - a.period.start.getTime();
484484
});
485485
const experiences = sortedExperiences.slice(0, 4); // Show top 4 experiences
486-
const ezPumpProject = resumeData.projects.find(
487-
(p) => p.name === 'EzPump',
488-
);
489-
const nangoContribution = resumeData.contributions.find(
490-
(c) => c.featured,
491-
);
486+
const ezPumpProject = resumeData.projects.find((p) => p.name === 'EzPump');
487+
const nangoContribution = resumeData.contributions.find((c) => c.featured);
492488

493489
// Get other featured projects in specific order: MavroChat first, then MavroDev, then Next.js Auth Template
494490
const mavrochatProject = resumeData.projects.find(
@@ -582,7 +578,7 @@ const ResumePDF = () => {
582578
<View style={styles.metricDivider} />
583579
<View style={styles.metric}>
584580
<Text style={styles.metricValue}>
585-
{metrics.projectsDelivered}+
581+
{metrics.projectsDelivered}
586582
</Text>
587583
<Text style={styles.metricLabel}>Projects</Text>
588584
</View>
@@ -687,7 +683,9 @@ const ResumePDF = () => {
687683
{/* Only show project name if there are multiple projects */}
688684
{exp.projects.length > 1 && (
689685
<Text
690-
style={styles.projectSubtitle}
686+
style={
687+
styles.projectSubtitle
688+
}
691689
>
692690
{project.name}
693691
</Text>
@@ -740,7 +738,14 @@ const ResumePDF = () => {
740738
</View>
741739

742740
{/* Contributions Section - Only Nango */}
743-
<View style={[styles.section, { marginTop: 20, breakBefore: 'page' }] as any}>
741+
<View
742+
style={
743+
[
744+
styles.section,
745+
{ marginTop: 20, breakBefore: 'page' },
746+
] as any
747+
}
748+
>
744749
<Text style={styles.sectionTitle}>Contributions</Text>
745750

746751
{nangoContribution && (
@@ -754,7 +759,8 @@ const ResumePDF = () => {
754759
style={[styles.contributionTitle, styles.link]}
755760
>
756761
{nangoContribution.name}
757-
{nangoContribution.descriptor && ` - ${nangoContribution.descriptor}`}
762+
{nangoContribution.descriptor &&
763+
` - ${nangoContribution.descriptor}`}
758764
</Link>
759765
<Text style={styles.contributionDescription}>
760766
{nangoContribution.longDescription}

0 commit comments

Comments
 (0)