Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cypress/e2e/base-checks.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');

})

Expand Down Expand Up @@ -106,4 +106,4 @@ describe('Base Checks', () => {

cy.window().its('scrollY').should('eq', 0);
})
})
})
2 changes: 1 addition & 1 deletion resume-generator/create_pdf_from_html.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
6 changes: 3 additions & 3 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
});
}
Expand Down Expand Up @@ -162,7 +162,7 @@ function AppContent() {
onClick={() => trackDownloadCV()}
>
<Download className="w-3 h-3" />
Download CV
Download Resume
</a>
</Button>
</div>
Expand Down Expand Up @@ -226,7 +226,7 @@ function AppContent() {
onClick={() => trackDownloadCV()}
>
<Download className="w-3 h-3" />
Download CV
Download Resume
</a>
</Button>
</motion.div>
Expand Down
6 changes: 3 additions & 3 deletions src/components/Contact.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export function Contact({data, socialLinks, cvData}: ContactProps) {

<div className="text-center space-y-8">
<motion.div
className="flex justify-center gap-6"
className="flex flex-wrap justify-center gap-6"
variants={socialContainerVariants}
initial="hidden"
whileInView="visible"
Expand All @@ -172,7 +172,7 @@ export function Contact({data, socialLinks, cvData}: ContactProps) {
<Button variant="outline" size="lg" className="gap-2" asChild>
<a href={cvData.path} download={cvData.fileName}>
<Download className="w-5 h-5"/>
Download CV
Download Resume
</a>
</Button>
</motion.div>
Expand Down Expand Up @@ -215,4 +215,4 @@ export function Contact({data, socialLinks, cvData}: ContactProps) {
</div>
</section>
);
}
}
4 changes: 2 additions & 2 deletions src/data/portfolio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Binary file removed src/public/CV-CraigWayne.pdf
Binary file not shown.