Update contact section#6
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Pull request overview
This PR updates the portfolio’s contact and identity touchpoints (social links + contact form behavior), while also switching typography loading from Google Fonts to bundled Fontsource and applying a handful of related component polish changes.
Changes:
- Reworked the Contact section to submit via FormSubmit (AJAX), added a honeypot field, and improved form UX/accessibility (labels/ids, submit error handling).
- Switched font loading from Google Fonts
<link>tags to@fontsourceimports and updated some UI styling. - Added PropTypes to several components and performed small UI/behavior cleanups (projects skeleton keys, particle background runtime usage, footer/nav link updates).
Reviewed changes
Copilot reviewed 14 out of 15 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| src/main.jsx | Loads Inter/Space Grotesk via @fontsource imports. |
| src/index.css | Tweaks button and skill-tag hover/background colors. |
| src/data/skills.js | Removes the previous skills data module. |
| src/components/Skills.jsx | Removes the dedicated Skills section component. |
| src/components/Projects.jsx | Adds PropTypes + stabilizes skeleton keys. |
| src/components/ParticleBackground.jsx | Uses globalThis-based runtime for events/sizing + minor cleanup. |
| src/components/Hero.jsx | Adds PropTypes to the error boundary and fixes minor text spacing. |
| src/components/Footer.jsx | Updates social links, footer nav items, and footer copy. |
| src/components/Contact.jsx | Implements FormSubmit-based submission, adds honeypot, improves labeling, adds PropTypes. |
| src/components/Certifications.jsx | Adds PropTypes for certification cards. |
| src/components/About.jsx | Updates social links (GitHub/LinkedIn/X/Email). |
| package.json | Adds @fontsource/* + prop-types dependencies and reorders deps. |
| package-lock.json | Locks newly added dependencies. |
| index.html | Removes Google Fonts <link> includes. |
| eslint.config.js | Removes an unused @eslint/js import. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+8
to
+9
| import '@fontsource/space-grotesk/500.css' | ||
| import '@fontsource/space-grotesk/700.css' |
Comment on lines
33
to
37
| icon: HiMail, | ||
| label: 'Email', | ||
| value: 'm.foupoua@etudiant.fr', | ||
| href: 'mailto:m.foupoua@etudiant.fr', | ||
| value: 'foupouamohamed4@gmail.com', | ||
| href: 'mailto:foupouamohamed4@gmail.com', | ||
| color: '#8B5CF6', |
Comment on lines
+65
to
67
| const handleSubmit = async (e) => { | ||
| e.preventDefault() | ||
| const e2 = validate() |
| payload.append('_subject', `Portfolio contact — ${form.subject}`) | ||
| payload.append('_replyto', form.email) | ||
| payload.append('_template', 'table') | ||
| payload.append('_captcha', 'false') |
Comment on lines
+166
to
+170
| { nx: 0.12, ny: 0.28, size: 0.11, sides: 5, rot: 0, rs: 0.005, op: .1 }, | ||
| { nx: 0.82, ny: 0.62, size: 0.07, sides: 6, rot: 0, rs: -0.004, op: .09 }, | ||
| { nx: 0.52, ny: 0.12, size: 0.14, sides: 4, rot: 0.5, rs: 0.003, op: .08 }, | ||
| { nx: 0.22, ny: 0.78, size: 0.08, sides: 3, rot: 0, rs: -0.006, op: .1 }, | ||
| { nx: 0.88, ny: 0.18, size: 0.065, sides: 5, rot: 1, rs: 0.007, op: .09 }, |
Comment on lines
+171
to
+172
| { nx: 0.65, ny: 0.85, size: 0.09, sides: 6, rot: 0, rs: 0.004, op: .08 }, | ||
| { nx: 0.08, ny: 0.55, size: 0.06, sides: 4, rot: 0.3, rs: -0.005, op: .1 }, |
Comment on lines
+13
to
+17
| "@fontsource/inter": "^5.2.8", | ||
| "@fontsource/space-grotesk": "^5.2.10", | ||
| "framer-motion": "^11.0.3", | ||
| "lucide-react": "^0.316.0", | ||
| "prop-types": "^15.8.1", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.