How yasarar33/yasar.in works
This is a Next.js personal portfolio presenting the developer’s profile, services, work, experience, and a contact channel. Visitors enter through the home page, navigate to portfolio sections, and can submit a contact form; the API validates submissions, optionally verifies reCAPTCHA, then sends email through configured SMTP or Resend, with a logging fallback. The graph includes the principal page-to-component relationships and the shared layout/transition layer. Contact-form-to-API wiring is not visible in the excerpts, so that link is marked unverified.
Main entry points: route.ts Contact API · app/page.tsx Home page · contact/page.tsx Contact page · services/page.tsx Services page
Components 28
Portfolio pages
- Home page
app/page.tsx - About page
app/about/page.tsx - Services page
app/services/page.tsx - Work page
app/work/page.tsx - Testimonials page
app/testimonials/page.tsx - Contact page
app/contact/page.tsx
Shared UI components
- Header
components/Header.tsx - Navigation
components/Nav.tsx - Social links
components/Socials.tsx - Profile avatar
components/Avatar.tsx - Particle effects
components/ParticlesContainer.tsx - Projects button
components/ProjectsBtn.tsx - Services slider
components/ServiceSlider.tsx - Work slider
components/WorkSlider.tsx - Experience slider
components/TestimonialSlider.tsx - Circle artwork
components/Circles.tsx - Bulb artwork
components/Bulb.tsx - Corner artwork
components/TopLeftImg.tsx - Page transition
components/Transition.tsx
Contact handling
- Contact API
app/api/contact/route.ts - Contact validation
lib/contact.ts - Google reCAPTCHA
- SMTP email service
- Resend email service
Presentation layer
- Application layout
app/layout.tsx - Page template
app/template.tsx - Motion variants
variants.ts
Other components
- Visitor
Connections 25
- Visitor → Home page: opens
README.md - Visitor → Contact page: contacts
README.md - Home page → Particle effects: renders
app/page.tsx - Home page → Projects button: renders
app/page.tsx - Home page → Profile avatar: renders
app/page.tsx - About page → Circle artwork: renders
app/about/page.tsx - Services page → Circle artwork: renders
app/services/page.tsx - Services page → Bulb artwork: renders
app/services/page.tsx - Services page → Services slider: renders
app/services/page.tsx - Work page → Circle artwork: renders
app/work/page.tsx - Work page → Bulb artwork: renders
app/work/page.tsx - Work page → Work slider: renders
app/work/page.tsx - Testimonials page → Experience slider: renders
app/testimonials/page.tsx - Contact page → Contact validation: validates with
app/contact/page.tsx - Contact page → Google reCAPTCHA: provides verification
app/contact/page.tsx - Contact page → Contact API: submits to
- Contact API → Contact validation: validates with
app/api/contact/route.ts - Contact API → Google reCAPTCHA: verifies token
app/api/contact/route.ts - Contact API → SMTP email service: sends email
app/api/contact/route.ts - Contact API → Resend email service: falls back to
app/api/contact/route.ts - Application layout → Header: renders
app/layout.tsx - Application layout → Navigation: renders
app/layout.tsx - Application layout → Corner artwork: renders
app/layout.tsx - Header → Social links: renders
components/Header.tsx - Page template → Page transition: renders
app/template.tsx