diff --git a/public/assets/files/aws_cloud_practitioner_cert.pdf b/public/assets/files/aws_cloud_practitioner_cert.pdf new file mode 100644 index 000000000..57dc88133 Binary files /dev/null and b/public/assets/files/aws_cloud_practitioner_cert.pdf differ diff --git a/src/pages/certificatepage/CertificatePage.jsx b/src/pages/certificatepage/CertificatePage.jsx index 4c3c43338..741eba4ed 100644 --- a/src/pages/certificatepage/CertificatePage.jsx +++ b/src/pages/certificatepage/CertificatePage.jsx @@ -1,7 +1,29 @@ import React, { useEffect } from 'react' -import IncompletePageModal from '../../components/modals/IncompletePageModal' -import { getBackgroundColor } from '../../Utils/colorUtils' import { sendPageview } from '../../analytics/useAnalyticsEventTracker' +import { getBackgroundColor, getFontColorText } from '../../Utils/colorUtils' + +function CertificateElement({ data }) { + return ( +
+
+ {data.title} +
+ +

+ Your web browser doesn't have a PDF plugin. Instead you can  + + click here to download the PDF file. + +

+
+
+ ) +} export default function CertificatePage() { @@ -13,14 +35,28 @@ export default function CertificatePage() { sendPageview('/certificates', 'Certificates Page') }, []) - const ncsu_certification = '/assets/files/Software_Security_Certification_of_Completion_John_Choi_Spring_2017.pdf' + const certs = [ + { + title: 'AWS Cloud Practitioner, AWS, 2024', + pdfSrc: '/assets/files/aws_cloud_practitioner_cert.pdf' + }, + { + title: 'Software Security Certification of Completion, NC State University, 2017', + pdfSrc: '/assets/files/Software_Security_Certification_of_Completion_John_Choi_Spring_2017.pdf' + } + ] return (
- - + { + certs.map((cert, i) => { + return + }) + }
) } diff --git a/src/pages/diplomapage/DiplomaPage.jsx b/src/pages/diplomapage/DiplomaPage.jsx index aa7abf827..eb55a52a7 100644 --- a/src/pages/diplomapage/DiplomaPage.jsx +++ b/src/pages/diplomapage/DiplomaPage.jsx @@ -14,21 +14,29 @@ export default function DiplomaPage() { const tosu_bs_cse = '/assets/files/tOSU_BSCSE_Diploma_JohnChoi.pdf' const ratio = 1.5 - const length1 = Math.max(window.innerWidth, window.innerHeight) * 0.4 + const length1 = Math.max(window.innerWidth, window.innerHeight) * 0.5 const length2 = length1 * ratio return (
-

The Ohio State University B.S Computer Science and Engineering

- +

The Ohio State University B.S Computer Science and Engineering

+ + > +

+ Your web browser doesn't have a PDF plugin. Instead you can  + + click here to download the PDF file. + +

+
) } diff --git a/src/pages/error/Error404.jsx b/src/pages/error/Error404.jsx index 780b95f47..857005f76 100644 --- a/src/pages/error/Error404.jsx +++ b/src/pages/error/Error404.jsx @@ -1,6 +1,7 @@ import React, { useEffect } from 'react' import errorImage from '../../assets/images/backgrounds/error404_meme.jpg' import { sendPageview } from '../../analytics/useAnalyticsEventTracker' +import { getFontColorText } from '../../Utils/colorUtils' export default function Error404() { useEffect(() => { @@ -18,8 +19,10 @@ export default function Error404() { minHeight: window.innerHeight }} > -

This page does not exist!

- 404 meme +

+ This page does not exist! +

+ 404 meme ) }