Skip to content

Update contact section#6

Merged
mawed44 merged 1 commit into
devfrom
feat/section_contact
Jun 2, 2026
Merged

Update contact section#6
mawed44 merged 1 commit into
devfrom
feat/section_contact

Conversation

@mawed44

@mawed44 mawed44 commented Jun 2, 2026

Copy link
Copy Markdown
Owner

No description provided.

@mawed44 mawed44 requested a review from Copilot June 2, 2026 21:55
@vercel

vercel Bot commented Jun 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
portfolio-devsecops Ready Ready Preview, Comment Jun 2, 2026 9:56pm

@mawed44 mawed44 merged commit e9fc0f3 into dev Jun 2, 2026
7 of 8 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 @fontsource imports 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 thread src/main.jsx
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 thread package.json
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",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants