/* * CONTACT SECTION — selimaj.dev * Design: Glassmorphic Terminal * Clean contact links with glass cards */ import { useEffect, useRef } from "react"; import { Github, Youtube, Instagram, ExternalLink, Mail, MailIcon } from "lucide-react"; function useReveal(threshold = 0.1) { const ref = useRef(null); useEffect(() => { const el = ref.current; if (!el) return; const observer = new IntersectionObserver( ([entry]) => { if (entry.isIntersecting) { el.classList.add("visible"); observer.disconnect(); } }, { threshold } ); observer.observe(el); return () => observer.disconnect(); }, [threshold]); return ref; } const contactLinks = [ { icon: Github, label: "GitHub", handle: "@selimaj-dev", href: "https://github.com/selimaj-dev", description: "97+ repositories · 2,670 contributions/year", }, { icon: Youtube, label: "YouTube", handle: "@SelimajDev", href: "https://youtube.com/@SelimajDev", description: "Dev content, tutorials, and builds", }, { icon: Instagram, label: "Instagram", handle: "@selimaj.dev", href: "https://instagram.com/selimaj.dev", description: "Behind the scenes and updates", }, { icon: MailIcon, label: "Email", handle: "contact@selimaj.dev", href: "mailto:contact@selimaj.dev", description: "For business inquiries, collaborations, and contact", }, ]; export default function ContactSection() { const headerRef = useReveal(); const contentRef = useReveal(0.1); return (
{/* Subtle radial glow */}
{/* Header */}
> contact --open

Let's Build
Something Together

I'm always open to interesting projects, collaborations, or just a good conversation about tech. Reach out through any of the channels below.

{/* Contact cards */}
{contactLinks.map((link) => { const Icon = link.icon; return (
{link.label}
{link.handle}
{link.description}
); })}
{/* Big CTA */}
> open_to_work --status

Open to freelance & collaboration

Looking for interesting projects, SaaS co-founders, or clients who need a developer who ships fast and cares about quality.

); }