Skip to content

Conversation

@gbzarelli
Copy link
Member

🎯 New Features

πŸš€ Developer Mentorship Service

  • Add "Mentoria Especializada para Desenvolvedor" as a dedicated service
  • Focused on 1:1 technical guidance and career development
  • Distinct from corporate training (renamed to "Treinamentos Corporativos")
  • Uses FaUserGraduate icon to differentiate from team training

πŸ”§ Contact Form Improvements

  • Fix FormSubmit integration: Resolve "Form should POST" error
  • Client-side validation: Added form validation with Portuguese feedback
  • Absolute URLs: Use full URLs for proper FormSubmit redirection
  • Better configuration: UTF-8 encoding, table template, improved honeypot
  • Convert to Client Component: Added 'use client' for event handlers

πŸ“ Changes Made

Services Enhancement

  • Homepage (): Added new mentorship service to services grid
  • Services page (): Updated services list consistently
  • Service differentiation:
    • "Treinamentos Corporativos" β†’ Team workshops and company training
    • "Mentoria Especializada para Desenvolvedor" β†’ Individual 1:1 mentorship

Contact Form Fixes

  • Component ():
    • Convert to Client Component with proper event handling
    • Add client-side form validation before FormSubmit
    • Use absolute redirect URLs (required by FormSubmit)
    • Improve anti-spam honeypot configuration
    • Add UTF-8 charset and table email template

βœ… Testing

  • βœ… Build passes successfully
  • βœ… All pages render correctly
  • βœ… Form validation works with user feedback
  • βœ… FormSubmit configuration follows best practices

🎯 Impact

  • Better service differentiation between individual and corporate offerings
  • Improved contact form reliability with proper FormSubmit integration
  • Enhanced user experience with client-side validation
  • Professional service positioning with specialized mentorship option

This enhances the site's service offerings and ensures reliable contact form functionality.

root added 6 commits September 7, 2025 20:36
- Add 'export const dynamic = "force-static"' to sitemap.ts
- Fixes Next.js static export build error when using output: export
- Resolves make build-serve failing due to missing static export configuration
- Update clone URL from generic 'seu-usuario/helpdev.git' to actual 'gbzarelli/helpdev.com.br.git'
- Fix directory name in clone instructions from 'helpdev' to 'helpdev.com.br'
- Update project structure section to reflect correct directory name
πŸš€ New Features:
- Add /services page with detailed service offerings and pricing
- Create ContactForm component with FormSubmit integration for lead generation
- Add /thanks page for form submission confirmation
- Implement robots.txt for SEO optimization
- Add comprehensive Makefile for development workflow automation
- Add AGENTS.md documentation for AI-assisted development

πŸ—οΈ Site Architecture Improvements:
- Upgrade to Next.js 15 with App Router and React 19
- Update to Tailwind CSS 4 with modern styling
- Enhanced homepage with hero section, services preview, and clear CTAs
- Improved navigation with services link and responsive design
- Updated footer with enhanced styling and contact information
- Better metadata configuration for SEO optimization

πŸ“± UI/UX Enhancements:
- Responsive design improvements across all pages
- Modern card layouts and improved typography
- Enhanced color scheme with better contrast and accessibility
- Interactive elements with hover effects and smooth transitions
- Mobile-first design approach with optimized touch targets

βš™οΈ Developer Experience:
- Updated package.json with latest dependencies
- Next.js configuration optimized for static export
- Automated build and serve commands via Makefile
- Better development workflow with make commands
- Improved project structure and organization

πŸ”§ Technical Updates:
- Static export compatibility for hosting on static servers
- Optimized build process with proper caching strategies
- Enhanced metadata and SEO configuration
- Better error handling and user feedback systems
…aining

- Add 'Mentoria Especializada para Desenvolvedor' as new service with FaUserGraduate icon
- Rename 'Mentoria & Treinamentos' to 'Treinamentos Corporativos' for better differentiation
- Update both homepage and services page for consistency
- Individual mentorship focuses on 1:1 technical guidance and career development
- Corporate training focuses on team workshops and company-wide capacity building
- Convert ContactForm to Client Component with 'use client'
- Use absolute URLs for redirect (required by FormSubmit)
- Add acceptCharset='UTF-8' for proper character encoding
- Add _template='table' for better email formatting
- Improve honeypot field with proper styling and attributes
- Add client-side form validation with user feedback
- Add onSubmit handler to validate before sending to FormSubmit

This should resolve the 'Form should POST' error by ensuring proper FormSubmit configuration.
Resolved conflicts in ContactForm component by accepting our enhanced version with:
- Client-side form validation
- FormSubmit improvements (absolute URLs, UTF-8, template config)
- 'use client' directive for proper Next.js client component functionality
@gbzarelli gbzarelli merged commit 137848c into main Sep 9, 2025
1 check passed
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