From e95a37944132510c3d00fcda6dea6ba1110c53d3 Mon Sep 17 00:00:00 2001 From: Kevin Matsubara Date: Sat, 8 Feb 2025 23:01:15 +0100 Subject: [PATCH] Replace software certifications and courses with a single table. --- src/Pages/Software/SoftwareMain.js | 32 +++--------------------------- src/Pages/Software/education.json | 16 --------------- 2 files changed, 3 insertions(+), 45 deletions(-) diff --git a/src/Pages/Software/SoftwareMain.js b/src/Pages/Software/SoftwareMain.js index bc2b93d..f15d8af 100644 --- a/src/Pages/Software/SoftwareMain.js +++ b/src/Pages/Software/SoftwareMain.js @@ -4,6 +4,7 @@ import MarkdownPage from '../markdownPage'; import { getLanguage } from '../../Language/Language'; import { getString } from '../../Language/LanguageStrings' import educationData from './education.json' +import CoursesTable from './coursesTable'; const SoftwareMain = () => { const language = getLanguage(); @@ -30,35 +31,8 @@ const SoftwareMain = () => { ))}
-

{getString('certification')}

- {educationData.certifications.map((certification, index) => ( -
-

{certification.name}

-
{certification.institution}
-

{getString('issued')}: {certification.issueYear}

-
- ))} -
-

{getString('courses')}

-
- {educationData.courses.map((course, index) => ( -
-
-
{course.name}
-

- {course.sub}, {course.instructor} -
- {course.intstitution} | certificate -
- {getString('completed')}: {course.achieveDate} -

-
-
- {course.duration} hours -
-
- ))} -
+

{getString('certification') + ' & ' + getString('courses')}

+ ) } diff --git a/src/Pages/Software/education.json b/src/Pages/Software/education.json index 6dcb68e..24fe77e 100644 --- a/src/Pages/Software/education.json +++ b/src/Pages/Software/education.json @@ -1,20 +1,4 @@ { - "certifications": [ - { - "name": "LPIC-1", - "institution": "Linux professional institute certification", - "link": "https://www.lpi.org/our-certifications/lpic-1-overview", - "issueYear": 2022, - "expiryYear": 2027 - }, - { - "name": "Drupal 9 Site Builder", - "institution": "Acquia", - "link": "https://certification.acquia.com/user/18196", - "issueYear": 2022, - "expiryYear": 9999 - } - ], "courses": [ { "name": "Responsive Web Design Essentials",