Skip to content

Commit

Permalink
gpa -> grade
Browse files Browse the repository at this point in the history
  • Loading branch information
HannesGitH committed Nov 1, 2024
1 parent 14f063a commit 2f2c0b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pdf/compiler/parse-cv-entries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const parseCVEntry = (entry: ExperienceEntry | EducationEntry | ProjectEntry) =>
let { year , start, place, name, description, location} = {location:'', year: '', start: '', place: '', name: '', description: '', ...entry, };
//in case of education we also have a degree
if ((entry as EducationEntry).degree) {
let { degree, gpa: grade } = entry as EducationEntry;
let { degree, grade } = entry as EducationEntry;
name = (name ? `${degree} in ${name}` : degree) + (grade ? ` (grade: ${grade})` : '');
}
if ((entry as ProjectEntry).pdfName) {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/sections/education.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
<h2 style="animation: smooth-sparkle 1s ease {i / education.length}s infinite;">
{entry.degree}{entry.name ? ', ' + entry.name : ''}
</h2>
<p id="gpa">{entry.gpa}</p>
<p id="gpa">{entry.grade}</p>
<div class="pdfbuttonrow" style="">
{#if entry.degreePdfFileUrl}
<!-- svelte-ignore a11y-mouse-events-have-key-events -->
Expand Down

0 comments on commit 2f2c0b1

Please sign in to comment.