diff --git a/cypress/e2e/base-checks.cy.js b/cypress/e2e/base-checks.cy.js index d26ecd4..1768b1c 100644 --- a/cypress/e2e/base-checks.cy.js +++ b/cypress/e2e/base-checks.cy.js @@ -37,8 +37,8 @@ describe('Base Checks', () => { cy.get('nav a[download]') .should('be.visible') - .should('contain.text', 'Download CV') - .should('have.attr', 'download', 'CV-CraigWayne.pdf'); + .should('contain.text', 'Download Resume') + .should('have.attr', 'download', 'Resume-CraigWayneGovender.pdf'); }) @@ -106,4 +106,4 @@ describe('Base Checks', () => { cy.window().its('scrollY').should('eq', 0); }) -}) \ No newline at end of file +}) diff --git a/resume-generator/create_pdf_from_html.js b/resume-generator/create_pdf_from_html.js index e954fe5..d9fbb8f 100644 --- a/resume-generator/create_pdf_from_html.js +++ b/resume-generator/create_pdf_from_html.js @@ -60,6 +60,6 @@ const __filename = fileURLToPath(import.meta.url); const __dirname = path.dirname(__filename); const input_html_file = path.resolve(__dirname, '..', 'build/resume', 'index.html'); -const output_pdf_file = path.resolve(__dirname, '..', 'build', 'resume.pdf'); +const output_pdf_file = path.resolve(__dirname, '..', 'build', 'Resume-CraigWayneGovender.pdf'); create_pdf_from_html(input_html_file, output_pdf_file); diff --git a/src/App.tsx b/src/App.tsx index 31d0eae..c74d954 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -27,7 +27,7 @@ function AppContent() { if (window["gtag"] !== undefined) { window["gtag"]("event", "button_click", { event_category: "Engagement", - event_label: "Download CV", + event_label: "Download Resume", value: 1, }); } @@ -162,7 +162,7 @@ function AppContent() { onClick={() => trackDownloadCV()} > - Download CV + Download Resume @@ -226,7 +226,7 @@ function AppContent() { onClick={() => trackDownloadCV()} > - Download CV + Download Resume diff --git a/src/components/Contact.tsx b/src/components/Contact.tsx index b21d117..2e0155c 100644 --- a/src/components/Contact.tsx +++ b/src/components/Contact.tsx @@ -146,7 +146,7 @@ export function Contact({data, socialLinks, cvData}: ContactProps) {
- Download CV + Download Resume @@ -215,4 +215,4 @@ export function Contact({data, socialLinks, cvData}: ContactProps) {
); -} \ No newline at end of file +} diff --git a/src/data/portfolio.ts b/src/data/portfolio.ts index ecf2453..d4fbc16 100644 --- a/src/data/portfolio.ts +++ b/src/data/portfolio.ts @@ -13,8 +13,8 @@ export const portfolioData = { "Crafting exceptional digital experiences with modern web technologies. Specializing in TypeScript stacks, and creating scalable architectures that drive business growth.", yearsOfExperience: 8, email: abstracted_data.email, - cvPath: "/CV-CraigWayne.pdf", - cvFileName: "CV-CraigWayne.pdf", + cvPath: "/Resume-CraigWayneGovender.pdf", + cvFileName: "Resume-CraigWayneGovender.pdf", profileImage: "/profile.png", socialLinks: { github: "https://github.com/craigiswayne", diff --git a/src/public/CV-CraigWayne.pdf b/src/public/CV-CraigWayne.pdf deleted file mode 100644 index d590090..0000000 Binary files a/src/public/CV-CraigWayne.pdf and /dev/null differ